Hello!
I ran the automatic toolchain compile, toolchain.sh, right now. But when compiling gcc-stage1, the following errors occured.
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include ../../gcc/pointer-set.c -o pointer-set.o
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include ../../gcc/alloc-pool.c -o alloc-pool.o
/usr/local/pspdev/bin/psp-as: unrecognized option `-Qy'
make[2]: *** [pointer-set.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/usr/local/pspdev/bin/psp-as: unrecognized option `-Qy'
make[2]: *** [alloc-pool.o] Error 1
make[2]: Leaving directory `/psptoolchain/build/gcc-4.1.0/build-psp/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/psptoolchain/build/gcc-4.1.0/build-psp'
make: *** [all] Error 2
../scripts/002-gcc-4.1.0-stage1.sh: Failed.
Can anyone help me to fix it?
A strange problem when compile gcc 4.1.0
use SVN to get the latest toolchain~~
the latest version is Rev 2320 - 2007-10-01 03:03:50 +1000 (Mon, 01 Oct 2007)
I'm using ubuntu 7.10 rc and rebuild the toolchain almost ten times these few days, no problem at all.
the latest version is Rev 2320 - 2007-10-01 03:03:50 +1000 (Mon, 01 Oct 2007)
I'm using ubuntu 7.10 rc and rebuild the toolchain almost ten times these few days, no problem at all.
allenray wrote:Is there anybody building toolchian in Ubuntu and met this problem. Please tell me how to fix it. Thank you very much!