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.

[参考译文] Linux/processor-SDK-AM437X:哪些选项与 ARM-Linux-gnueabihf-gcc 搭配使用?

Guru**** 2538960 points


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

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/763532/linux-processor-sdk-am437x-what-options-are-used-with-arm-linux-gnueabihf-gcc

器件型号:PROCESSOR-SDK-AM437X

工具/软件:Linux

我安装了 ti-processor-sdk-linux-am437x-evm-05.02.00.10-linux-x86-Install.bin。

在安装目录(/Linux-devkit/sysroots/...)下、 有一个带有 默认 Makefile 和 Rules.make 的 gcc 编译器。

在 Rules.make 中、CFLAGS=-March = armv7-a -marm -mfpu=neon -mfloat-abi= hard

我的 Linux 应用程序使用默认选项进行编译和执行。

对于带 ARM9的 AM437x、这是正确的吗? 我认为 ARM9不是有效的选择。

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

    正确、ARM9不是 AM437x 处理器的有效选项。 您可以改用-mcpu=cortex-A9和-mtune =cortex-A9、然后检查您的应用是否获得更好的性能。

    此致、
    Kemal