This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Please help me gcc install
- To: <help-gcc at gnu dot org>
- Subject: Please help me gcc install
- From: "=?EUC-KR?B?w9bDor3E?=" <tetris98 at hanmail dot net>
- Date: Sat, 10 Nov 2001 10:00:09 +0900 (KST)
- Organization: =?EUC-KR?B?x9GxubvzvvfAusfg?=
- Reply-To: "=?EUC-KR?B?w9bDor3E?=" <tetris98 at hanmail dot net>
Hello, i`m trying to install gcc(gcc-2.95.2) on to a IBM powerpc aix 4.2.1.0.
source download ftp from 128.97.2.211
and i try this
o mkdir ../gcc-2.95.2.obj
o cd ../gcc-2.95.2.obj
o ../gcc-2.95.2/configure --host=rs6000-ibm-aix4.2.1.0 --with-cpu=common
o make bootstrap-lean
however, i`m getting the following errors after configuring the compiler for
installation:
touch s-genrtl
cc -c -DIN_GCC -DHAIFA -O2 -g -DHAVE_CONFIG_H -I. -I../../gcc-c
stage1/xgcc -Bstage1/ -B/usr/local/rs6000-ibm-aix4.2.1.0/bin/ -c -DIN_c
stage1/xgcc -Bstage1/ -B/usr/local/rs6000-ibm-aix4.2.1.0/bin/ -c -DIN_c
stage1/xgcc -Bstage1/ -B/usr/local/rs6000-ibm-aix4.2.1.0/bin/ -c -DIN_c
cc -DIN_GCC -DHAIFA -O2 -g -DHAVE_CONFIG_H -Wl,-bbigtoc -o genattd
ld: 0711-317 ERROR: Undefined symbol: .alloca
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
so i retry
o make distclean
o export CC="cc -ma -qcpluscmt"
o ../gcc-2.95.2/configure --host=rs6000-ibm-aix4.2.1.0 --with-cpu=common
o make bootstrap-lean
however, i`m getting the following errors after configuring the compiler for
installation:
"../../gcc-2.95.2/gcc/config/rs6000/xm-rs6000.h", line 50.13: 1506-180 (W) Redec
laration of builtin function __alloca ignored.
cc -ma -qcpluscmt -DIN_GCC -DHAIFA -g -DHAVE_CONFIG_H -o cccp ccc
p.o cexp.o intl.o prefix.o version.o mbchar.o obstack.o alloca.o -lld ../
libiberty/libiberty.a
ld: 0711-317 ERROR: Undefined symbol: .__divdi3
ld: 0711-317 ERROR: Undefined symbol: .__udivdi3
ld: 0711-317 ERROR: Undefined symbol: .__moddi3
ld: 0711-317 ERROR: Undefined symbol: .__umoddi3
ld: 0711-317 ERROR: Undefined symbol: .__ashldi3
ld: 0711-317 ERROR: Undefined symbol: .__ashrdi3
ld: 0711-317 ERROR: Undefined symbol: .__lshrdi3
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
make: 1254-004 The error code from the last command is 8.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
make: 1254-004 The error code from the last command is 2.
Stop.
How do i solve this problem?
Thank you for your kindly advice
Chang Sik Choi
===================================================================
¿ì¸® ÀÎÅͳÝ, Daum http://www.daum.net
¼Û±Ý, 1/nû±¸, ȸºñ°È±â! À̸ÞÀÏ ÇÑÅëÀ¸·Î ÇØ°áÇÑ´Ù
¢Ñ ¸ÞÀϹðÅ· http://mailbank.daum.net/