Chris Jones wrote:
Hi folks--
My ultimate goal is to build GNAT 4.2.1 from my working GNAT 3.4.6
installation. However, I'm unable to build plain old gcc at the
moment. I've distilled this down to the following:
.../gcc-4.2.1/configure --enable-languages=c
gmake
It churns for a few minutes and then errors out with a failure to find
gstdint.h:
gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -Wmissing-format-attribute -fno-common
-DHAVE_CONFIG_H -I. -I. -I../../gcc-4.2.1/gcc -I../../gcc-4.2.1/gcc/.
-I../../gcc-4.2.1/gcc/../include -I./../intl
-I../../gcc-4.2.1/gcc/../libcpp/include
-I../../gcc-4.2.1/gcc/../libdecnumber -I../libdecnumber
.../../gcc-4.2.1/gcc/dfp.c -o dfp.o
In file included from ../../gcc-4.2.1/gcc/../libdecnumber/decNumber.h:39,
from ../../gcc-4.2.1/gcc/../libdecnumber/decimal128.h:59,
from ../../gcc-4.2.1/gcc/dfp.c:34:
.../../gcc-4.2.1/gcc/../libdecnumber/decContext.h:52:50: gstdint.h: No
such file or directory
Overlooking the excess dots, which indicate you didn't quote exactly
what happened, you would have to look back into why your build failed to
create gstdint.h, or why it didn't find that file, if it did create it.
gstdint.h would normally be a slightly augmented copy of stdint.h.
Sometimes it is possible to paper over the problem by simply copying it
yourself to a location in the search path.