当前位置: 首页 > 工具软件 > tftp-hpa > 使用案例 >

交叉编译tftp-hpa

左仰岳
2023-12-01

我的机器交叉编译工具链大同小异,参考一下格式就O了。

export PATH=/opt/CodeSourcery/Sourcery_G++_Lite/bin:$PATH
export 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



 类似资料: