問題如下:
compilation terminated.
make[3]: *** [_negdi2.o] Error 1
In file included from /usr/include/stdio.h:28:0,
from ../.././libgcc/../gcc/tsystem.h:87,
from ../.././libgcc/libgcc2.c:27:
/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory
#include <bits/predefs.h>
解法如下:
# vim armv7l-unknown-linux-gnueabihf/libgcc/Makefile +271
INCLUDES = -I/usr/include/arm-linux-gnueabihf -I. -I$(@D) -I$(gcc_objdir) \