1
我想跨ARM編譯OpenOCD for ARM,但無法通過autoconf階段。這是我得到的錯誤。設置autoconf的包含搜索路徑
configure:13765: checking for environ in unistd.h and stdlib.h
configure:13776: arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb --sysroot=/home/neil/overo-oe/tmp-2011.03-maintenance/sysroots/armv7a-angstrom-linux-gnueabi -std=gnu99 -c -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -I/usr/include conftest.c >&5
CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include
cc1: internal compiler error: in add_path, at c-incpath.c:425
源代碼包括configure.in和每個src目錄中的makefile.am。如何更改標題搜索路徑?