交叉编译tftp-hpa
我的机器交叉编译工具链大同小异,参考一下格式就O了。export PATH=/opt/CodeSourcery/Sourcery_G++_Lite/bin:$PATHexport LIBRARY_PATH=/opt/dvsdk/linux-devkit/arm-non
·
我的机器交叉编译工具链大同小异,参考一下格式就O了。
export PATH=/opt/CodeSourcery/Sourcery_G++_Lite/bin:$PATHexport LIBRARY_PATH=/opt/dvsdk/linux-devkit/arm-none-linux-gnueabi/usr/lib
export C_INCLUDE_PATH=/opt/dvsdk/linux-devkit/arm-none-linux-gnueabi/usr/include
export CPLUS_INCLUDE_PATH=/opt/dvsdk/linux-devkit/arm-none-linux-gnueabi/usr/include
CC=arm-none-linux-gnueabi-gcc CFLAGS=" -O3 -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp" ./configure --host=arm-none-linux-gnueabi --build=arm-linux
make
更多推荐
已为社区贡献1条内容
所有评论(0)