f



compiling gcc 3.2.3 on aix 4.3.2 using gcc 3.2.1

All,
I am trying to compile gcc-3.2.3 on aix-4.3.2 using a prebuilt
gcc-3.2.1.
I am using GNU make, native as,ar,ld.
There are the errors I get.

Can anyone help?

thx
balaji

$ gmake bootstrap
gmake[1]: Entering directory `/mnt/gcc-3.2.3/aix/libiberty'
gmake[2]: Entering directory `/mnt/gcc-3.2.3/aix/libiberty/testsuite'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/mnt/gcc-3.2.3/aix/libiberty/testsuite'
gmake[1]: Leaving directory `/mnt/gcc-3.2.3/aix/libiberty'
gmake[1]: Entering directory `/mnt/gcc-3.2.3/aix/zlib'
: gmake ; exec true "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2"
"CXXFLAGS=-g -O2" "CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=-O2 -g -O2"
"INSTALL=/bin/sh /mnt/gcc-3.2.3/install-sh -c" "INSTALL_DATA=/bin/sh
/mnt/gcc-3.2.3/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh
/mnt/gcc-3.2.3/install-sh -c " "INSTALL_SCRIPT=/bin/sh
/mnt/gcc-3.2.3/install-sh -c" "LDFLAGS=" "LIBCFLAGS=-g -O2"
"LIBCFLAGS_FOR_TARGET=-O2 -g -O2" "MAKE=gmake"
"MAKEINFO=/mnt/gcc-3.2.3/missing makeinfo  " "PICFLAG="
"PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "EXPECT=expect"
"RUNTEST=runtest" "RUNTESTFLAGS=" "exec_prefix=/usr/local"
"infodir=/usr/local/info" "libdir=/usr/local/lib" "prefix=/usr/local"
"tooldir=/usr/local/powerpc-ibm-aix4.3.2.0" "AR=ar" "AS=as" "CC=gcc"
"CXX=c++" "LD=ld" "LIBCFLAGS=-g -O2" "NM=nm" "PICFLAG="
"RANLIB=ranlib" "DESTDIR=" DO=all multi-do
gmake[1]: Leaving directory `/mnt/gcc-3.2.3/aix/zlib'
Bootstrapping the compiler
gmake[1]: Entering directory `/mnt/gcc-3.2.3/aix/gcc'
gmake CC="stage1/xgcc -Bstage1/
-B/usr/local/powerpc-ibm-aix4.3.2.0/bin/" \
         STAGE_PREFIX=stage1/ \
         CFLAGS="-g -O2" LDFLAGS="" WARN_CFLAGS="\$(GCC_WARN_CFLAGS)"
STRICT_WARN="-Wtraditional -pedantic -Wno-long-long"
libdir=/usr/local/lib LANGUAGES="c gcov c++ f77 java objc"
MAKEOVERRIDES= OUTPUT_OPTION="-o \$@"
gmake[2]: Entering directory `/mnt/gcc-3.2.3/aix/gcc'
(cd intl && gmake all)
gmake[3]: Entering directory `/mnt/gcc-3.2.3/aix/gcc/intl'
gmake[3]: Nothing to be done for `all'.
gmake[3]: Leaving directory `/mnt/gcc-3.2.3/aix/gcc/intl'
stage1/xgcc -Bstage1/ -B/usr/local/powerpc-ibm-aix4.3.2.0/bin/
-DIN_GCC    -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long 
-DHAVE_CONFIG_H  -o cc1plus \
      cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o
cp/decl2.o cp/error.o cp/lex.o cp/parse.o cp/ptree.o cp/rtti.o
cp/spew.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o
cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o
cp/optimize.o cp/mangle.o cp/cp-lang.o attribs.o c-common.o c-format.o
c-pragma.o c-semantics.o c-lex.o  main.o libbackend.a libcpp.a
../intl/libintl.a  -liconv  ../libiberty/libiberty.a
collect2: ld returned 12 exit status
gmake[2]: *** [cc1plus] Error 1
gmake[2]: Leaving directory `/mnt/gcc-3.2.3/aix/gcc'
gmake[1]: *** [stage2_build] Error 2
gmake[1]: Leaving directory `/mnt/gcc-3.2.3/aix/gcc'
gmake: *** [bootstrap] Error 2
0
asmx (2)
6/16/2004 9:30:57 PM
comp.unix.aix 10963 articles. 1 followers. drkirkby (98) is leader. Post Follow

0 Replies
1488 Views

Similar Articles

[PageSpeed] 56

Reply: