This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
./libgcc/libgcc2.c:32:23: fatal error: libgcc_tm.h: No such file or directory
- From: Georg-Johann Lay <avr at gjlay dot de>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 21 Nov 2011 12:19:01 +0100
- Subject: ./libgcc/libgcc2.c:32:23: fatal error: libgcc_tm.h: No such file or directory
This error occurs if you configure GCC as cross compiler and
$ make
$ make clean-target-libgcc
$ make all-target-libgcc
./libgcc/libgcc2.c:32:23: fatal error: libgcc_tm.h: No such file or directory
Removing the $target directory altogether works:
$ make
$ rm -rf $target
$ make # rebuilds libgcc fine
So there is some dependencies missing in the new libgcc infrastructure.