This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Missing gstdint.h
- From: Michael Eager <eager at eagerm dot com>
- To: GCC <gcc at gcc dot gnu dot org>
- Date: Sat, 22 Oct 2011 11:27:06 -0700
- Subject: Missing gstdint.h
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 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306 650-325-8077