Waldek Hebisch escribió:
Martin Marques wrote:
I'm trying to compile gpc on a Fedora 8 system, and I can' find instructions on how to compile it with newer versions of gcc.
Should I just get the latest gpc sources and try to compile with newer gcc-4.1.2 sources?
Yes. Unpack gpc sources, make sure that p subdirectory from gpc source tree appears as gcc-4.1.2/gcc/p is gcc source tree (either use move or a symlink), configure and make.
Didn't work. :-(
make[2]: se ingresa al directorio `/usr/src/redhat/BUILD/gcc-4.1.2-20070925/host-x86_64-unknown-linux-gnu/gcc' gcc -c -g -O2 -DIN_GCC -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/dbxout.c -o dbxout.o ../.././gcc/dbxout.c: In function ‘dbxout_type’: ../.././gcc/dbxout.c:1978: error: ‘have_used_extensions’ no se declaró aquà (primer uso en esta función) ../.././gcc/dbxout.c:1978: error: (Cada identificador no declarado solamente se reporta una vez ../.././gcc/dbxout.c:1978: error: ara cada funcion en la que aparece.) make[2]: *** [dbxout.o] Error 1 make[2]: se sale del directorio `/usr/src/redhat/BUILD/gcc-4.1.2-20070925/host-x86_64-unknown-linux-gnu/gcc' make[1]: *** [all-gcc] Error 2 make[1]: se sale del directorio `/usr/src/redhat/BUILD/gcc-4.1.2-20070925' make: *** [all] Error 2
Any ideas?