GCC + Debian
Posted: Wed Mar 29, 2006 7:05 am
Hi all,
I´m trying to compile the ps2toolchain ((newtoolchain-20060222.tgz) under debian (testing/unstable)
and i am getting this output:
echo timestamp > s-genrtl
gcc -c -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include ../../gcc/genflags.c -o genflags.o
In file included from ../../gcc/genflags.c:27:
../../gcc/rtl.h:125: warning: type of bit-field 'code' is a GCC extension
../../gcc/rtl.h:128: warning: type of bit-field 'mode' is a GCC extension
gcc -c -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include ../../gcc/rtl.c -o rtl.o
In file included from ../../gcc/rtl.c:24:
../../gcc/rtl.h:125: warning: type of bit-field 'code' is a GCC extension
../../gcc/rtl.h:128: warning: type of bit-field 'mode' is a GCC extension
gcc -c -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include ../../gcc/read-rtl.c -o read-rtl.o
In file included from ../../gcc/read-rtl.c:24:
../../gcc/rtl.h:125: warning: type of bit-field 'code' is a GCC extension
../../gcc/rtl.h:128: warning: type of bit-field 'mode' is a GCC extension
../../gcc/read-rtl.c: In function 'fatal_with_file_and_line':
../../gcc/read-rtl.c:62: warning: traditional C rejects ISO C style function definitions
../../gcc/read-rtl.c: In function 'read_rtx':
../../gcc/read-rtl.c:662: error: invalid lvalue in increment
make[1]: *** [read-rtl.o] Error 1
make[1]: Leaving directory `/home/lgonzalez/newtoolchain/gcc-3.2.2/build-ee/gcc'
make: *** [all-gcc] Error 2
ERROR: Error!
The GCC version is the following:
gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5), so i guess there is a problem with using gcc3.2.2 to compile ee...
any ideas? I am kind of lost and don´t really know where to go from here....
I´m trying to compile the ps2toolchain ((newtoolchain-20060222.tgz) under debian (testing/unstable)
and i am getting this output:
echo timestamp > s-genrtl
gcc -c -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include ../../gcc/genflags.c -o genflags.o
In file included from ../../gcc/genflags.c:27:
../../gcc/rtl.h:125: warning: type of bit-field 'code' is a GCC extension
../../gcc/rtl.h:128: warning: type of bit-field 'mode' is a GCC extension
gcc -c -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include ../../gcc/rtl.c -o rtl.o
In file included from ../../gcc/rtl.c:24:
../../gcc/rtl.h:125: warning: type of bit-field 'code' is a GCC extension
../../gcc/rtl.h:128: warning: type of bit-field 'mode' is a GCC extension
gcc -c -DIN_GCC -DCROSS_COMPILE -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/config -I../../gcc/../include ../../gcc/read-rtl.c -o read-rtl.o
In file included from ../../gcc/read-rtl.c:24:
../../gcc/rtl.h:125: warning: type of bit-field 'code' is a GCC extension
../../gcc/rtl.h:128: warning: type of bit-field 'mode' is a GCC extension
../../gcc/read-rtl.c: In function 'fatal_with_file_and_line':
../../gcc/read-rtl.c:62: warning: traditional C rejects ISO C style function definitions
../../gcc/read-rtl.c: In function 'read_rtx':
../../gcc/read-rtl.c:662: error: invalid lvalue in increment
make[1]: *** [read-rtl.o] Error 1
make[1]: Leaving directory `/home/lgonzalez/newtoolchain/gcc-3.2.2/build-ee/gcc'
make: *** [all-gcc] Error 2
ERROR: Error!
The GCC version is the following:
gcc version 4.0.3 20051201 (prerelease) (Debian 4.0.2-5), so i guess there is a problem with using gcc3.2.2 to compile ee...
any ideas? I am kind of lost and don´t really know where to go from here....