This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Error Building For arm-none-eabi, stdint.h Missing
- From: R0b0t1 <r030t1 at gmail dot com>
- To: GCC Development <gcc at gcc dot gnu dot org>
- Date: Thu, 22 Feb 2018 08:44:54 -0600
- Subject: Error Building For arm-none-eabi, stdint.h Missing
- Authentication-results: sourceware.org; auth=none
Would any other information be helpful? All results called for the
installation of binary packages, which is not possible (I don't use
apt).
../../source/${dname}/configure \
--target=${TARGET} \
--prefix=`realpath ../../${DIR_PREFIX}` \
--docdir=`realpath ../../${DIR_PREFIX}/share/doc` \
--libexecdir=`realpath ../../${DIR_PREFIX}/lib` \
--enable-languages=c,c++ \
--with-headers=yes \
--enable-plugins \
--disable-libstdcxx-verbose \
--disable-decimal-float \
--disable-libffi \
--disable-libgomp \
--disable-libmudflap \
--disable-libquadmath \
--disable-libssp \
--disable-libstdcxx-pch \
--disable-nls \
--disable-shared \
--disable-threads \
--disable-tls \
--with-newlib \
--with-sysroot=`realpath ../../${DIR_PREFIX}/${TARGET}` \
--with-system-zlib \
--with-gmp=`realpath ../../${DIR_PREFIX}/host/${gmp_dname}` \
--with-mpfr=`realpath ../../${DIR_PREFIX}/host/${mpfr_dname}` \
--with-mpc=`realpath ../../${DIR_PREFIX}/host/${mpc_dname}` \
--with-isl=`realpath ../../${DIR_PREFIX}/host/${isl_dname}` \
--with-pkgversion=${VERSION} \
--with-multilib-list=rmprofile
# If this is the top-level multilib, build all the other
# multilibs.
/home/R0b0t1/devel/toolgen/build/gcc-7.3.0/./gcc/xgcc
-B/home/R0b0t1/devel/toolgen/build/gcc-7.3.0/./gcc/
-B/home/R0b0t1/devel/toolgen/prefix/arm-none-eabi/bin/
-B/home/R0b0t1/devel/toolgen/prefix/arm-none-eabi/lib/ -isystem
/home/R0b0t1/devel/toolgen/prefix/arm-none-eabi/include -isystem
/home/R0b0t1/devel/toolgen/prefix/arm-none-eabi/sys-include -g -O2
-mthumb -march=armv8-m.base -O2 -g -O2 -DIN_GCC
-DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -isystem ./include -fno-inline -g
-DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fstack-check=no
-Dinhibit_libc -fno-inline -I. -I. -I../../../.././gcc
-I../../../../../../source/gcc-7.3.0/libgcc
-I../../../../../../source/gcc-7.3.0/libgcc/.
-I../../../../../../source/gcc-7.3.0/libgcc/../gcc
-I../../../../../../source/gcc-7.3.0/libgcc/../include -o cmse.o
-MT cmse.o -MD -MP -MF cmse.dep -c -mcmse
../../../../../../source/gcc-7.3.0/libgcc/config/arm/cmse.c
In file included from
/home/R0b0t1/devel/toolgen/build/gcc-7.3.0/gcc/include/arm_cmse.h:38:0,
from
../../../../../../source/gcc-7.3.0/libgcc/config/arm/cmse.c:27:
/home/R0b0t1/devel/toolgen/build/gcc-7.3.0/gcc/include/stdint.h:9:16:
fatal error: stdint.h: No such file or directory
# include_next <stdint.h>
^~~~~~~~~~
compilation terminated.
make[4]: *** [../../../../../../source/gcc-7.3.0/libgcc/config/arm/t-arm:14:
cmse.o] Error 1
make[4]: Leaving directory
'/home/R0b0t1/devel/toolgen/build/gcc-7.3.0/arm-none-eabi/thumb/v8-m.base/libgcc'
make[3]: *** [Makefile:1198: multi-do] Error 1
make[3]: Leaving directory
'/home/R0b0t1/devel/toolgen/build/gcc-7.3.0/arm-none-eabi/libgcc'
make[2]: *** [Makefile:125: all-multi] Error 2
make[2]: Leaving directory
'/home/R0b0t1/devel/toolgen/build/gcc-7.3.0/arm-none-eabi/libgcc'
make[1]: *** [Makefile:11569: all-target-libgcc] Error 2
make[1]: Leaving directory '/home/R0b0t1/devel/toolgen/build/gcc-7.3.0'
make: *** [Makefile:889: all] Error 2
Thanks in advance,
R0b0t1