2011-06-03 96 views
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。如何更改标题搜索路径?

回答

0

我不知道我在理解你的问题,但包含路径是在Makefile.am文件中设置的。在宏[名称] _CPPFLAGS