This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM625:可通过 Linux SDK9.1进行32位应用程序交叉编译

Guru**** 2553450 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1326555/am625-32bit-application-cross-compile-with-linux-sdk9-1

器件型号:AM625

您好!

我的客户希望使用 SDK9.1交叉编译32位应用程序。

它们使用以下设置执行了与 SDK9.0 32位交叉编译。

export PATH=$PATH:$SDK_PATH/external-toolchain-dir/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-linux-gnueabihf/bin
export CPATH=$SDK_PATH/external-toolchain-dir/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include
export LD_LIBRARY_PATH=$SDK_PATH/external-toolchain-dir/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/lib:$SDK_PATH/external-toolchain-dir/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/lib

Added below to CFLAGS in Makefile
CFLAGS += --sysroot=$SDK_PATH/external-toolchain-dir/arm-gnu-toolchain-11.3.rel1-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/


但在 SDK9.1中、32位应用没有"external-toolchain-dir"或交叉编译器。

谢谢。此致、
田代浩一郎