linux gcc出错,编译arm-linux-gcc出错
該樓層疑似違規(guī)已被系統(tǒng)折疊?隱藏此樓查看此樓
在ubuntu12.04下編譯arm的交叉編譯工具鏈
執(zhí)行../gcc-4.6.0/configure --target=$TARGET --prefix=$PREFIX --without-headers --enable-languages=c --disable-threads --with-newlib --disable-shared --disable-libmudflap --disable-libssp
make
make install
顯示
configure: loading cache ./config.cache
configure: error: `CXXFLAGS' has changed since the previous run:
configure: former value: `'
configure: current value: `-g -O2'
configure: error: in `/home/john/code/embedded/2440/build-tools/build-boot-gcc/gcc':
configure: error: changes in the environment can compromise the build
configure: error: run `make distclean' and/or `rm ./config.cache' and start over
make[1]: *** [configure-gcc] Error 1
make[1]: Leaving directory `/home/john/code/embedded/2440/build-tools/build-boot-gcc'
make: *** [all] Error 2
但是我并不知道這個CXXFLAGS是個什么東西……
搞了半天也搞不定,也不知道是不是其他地方的問題
請各位幫幫我
總結(jié)
以上是生活随笔為你收集整理的linux gcc出错,编译arm-linux-gcc出错的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 罗马尼亚男子获“最多的手机收藏”吉尼斯世
- 下一篇: 汕汕高铁汕尾至汕头南段进入试运行,长 1