I'm getting a build failure when I build a bootstrap gcc for powerpc when 
compiling dfp.o.
Gcc is configured --target=powerpc-linux --without-newlib, --without-headers.

gcc -c -g -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -DHAVE_CONFIG_H -I. -I. -I/store/repo/releases/gcc/gcc -I/store/repo/releases/gcc/gcc/. -I/store/repo/releases/gcc/gcc/../include -I/store/repo/releases/gcc/gcc/../libcpp/include -I/store/repo/releases/gcc/gcc/../libdecnumber -I/store/repo/releases/gcc/gcc/../libdecnumber/dpd -I../libdecnumber /store/repo/releases/gcc/gcc/dfp.c -o dfp.o
In file included from 
/store/repo/releases/gcc/gcc/../libdecnumber/decNumber.h:37,
                 from 
/store/repo/releases/gcc/gcc/../libdecnumber/dpd/decimal128.h:58,
                 from /store/repo/releases/gcc/gcc/dfp.c:32:
/store/repo/releases/gcc/gcc/../libdecnumber/decContext.h:54:61: error: gstdint.h: No such file or directory

gstdint.h is in libgcc, not any of the -I directories.

Adding a link from libdecnumber/dpd/gstdint.h to libgcc/gstdint.h fixes the 
problem.
Is there a better fix?

--
Michael Eager    ea...@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

Reply via email to