Building GCC 4.3.2 on powerpc-yellowdog-linux-gnu
Angel Tsankov
fn42551@fmi.uni-sofia.bg
Fri Oct 31 02:26:00 GMT 2008
OK, the build process anew:
1. I configured gcc-core 4.3.2
with --prefix="$INSTALLED_SOFTWARE"/"$program" --with-local-prefix="$INSTALLED_SOFTWARE"/"$program"
--with-gmp="$INSTALLED_SOFTWARE"/gmp --with-mpfr="$INSTALLED_SOFTWARE"/mpfr
2. I tried to build with 'make -j 2 bootstrap' and got the following
during stage 2 (<build dir>/stage_current contains 'stage2'):
/home/angel/software/gcc/build/./prev-gcc/xgcc -B/home/angel/software/gcc/build/./prev-gcc/
-B/home/angel/installed_software/gcc/powerpc-unknown-linux-gnu/bin/ -c
-g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings
-DHAVE_CONFIG_H -I. -I. -I../../source/unpacked/gcc -I../../source/unpacked/gcc/.
-I../../source/unpacked/gcc/../include -I../../source/unpacked/gcc/../libcpp/include
-I/home/angel/installed_software/gmp/include -I/home/angel/installed_software/mpfr/include
-I../../source/unpacked/gcc/../libdecnumber -I../../source/unpacked/gcc/../libdecnumber/dpd
-I../libdecnumber ../../source/unpacked/gcc/dbgcnt.c -o dbgcnt.o
In file included from ../../source/unpacked/gcc/dbgcnt.c:45:
../../source/unpacked/gcc/dbgcn
I've attached the two dependecy files for dbgcnt.c: one produced from
the above command line but with -MD added and one produced with -MD
and -DHAVE_LIMITS_H added to the same command line. None of the
dependency files includes auto-host.h (where HAVE_LIMITS_H is defines as
1). In this case, how is limits.h supposed to get included in dbgcnt.c
if not by passing -DHAVE_LIMITS_H to the compiler?
Angel Tsankov
More information about the Gcc-help
mailing list