Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GCJ 4.4.3 for AIX 5.3??

Status
Not open for further replies.

fletchsod

Programmer
Dec 16, 2002
181
I noticed there is no such GCJ (JAVA Compiler) for AIX 5.3. So, that means I have to download GCC 4.4.3, untar it and try to compile the GCJ from there. The problem is I'm unsuccessful on getting it to compile (without errors). (I didn't have that much trouble with PHP, Apache, OpenSSL, etc.)

I did some internet research and on GCC HOW-TO. So, correct me if I'm wrong. I only need to compile the JAVA Compiler (don't need the GCC one since I had the other GCC version installed via RPM).

1) Unzip gcc-4.4.3 tar file
2) CD into gcc-4.4.3 directory
3) # mkdir objdir
4) # cd objdir
5) # ../gcc/configure --prefix=/usr/local --with-as=/usr/bin/as --without-gnu-ld --with-ld=/usr/bin/ld --enable-static --enable-shared --enable-threads --enable-languages=c++,java
6) # make bootstrap

response...
Code:
make: *** No rule to make target `bootstrap'.  Stop.

7) # make

response...
Code:
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="USE_COLLECT2" \
/bin/sh ../gcc/mkconfig.sh config.h
TARGET_CPU_DEFAULT="" \
HEADERS="options.h config/rs6000/rs6000.h config/rs6000/aix.h config/rs6000/aix53.h config/rs6000/xcoff.h defaults.h" DEFINES="" \
/bin/sh ../gcc/mkconfig.sh tm.h
nawk -f ../gcc/opt-gather.awk ../gcc/ada/gcc-interface/lang.opt ../gcc/fortran/lang.opt ../gcc/java/lang.opt ../gcc/c.opt ../gcc/common.opt ../gcc/config/rs6000/rs6000.opt ../gcc/config/rs6000/aix64.opt > tmp-optionlist
/bin/sh ../gcc/../move-if-change tmp-optionlist optionlist
echo timestamp > s-options
nawk -f ../gcc/opt-functions.awk -f ../gcc/opth-gen.awk \
       < optionlist > tmp-options.h
/bin/sh ../gcc/../move-if-change tmp-options.h options.h
echo timestamp > s-options-h
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh ../gcc/mkconfig.sh bconfig.h
gcc -c  -g  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wmissing-format-attribute   -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../gcc -I../gcc/build -I../gcc/../include -I../gcc/../libcpp/include  -I../gcc/../libdecnumber -I../gcc/../libdecnumber/dpd -I../libdecnumber    -o build/errors.o ../gcc/errors.c
build/genmodes -h > tmp-modes.h
/bin/sh: build/genmodes:  not found.
make: *** [s-modes-h] Error 127


That's my 1st question. My other question is do I need to do the bootstrap?? I only need this same machine, don't need it to be portable to other machine.

Thanks...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top