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.

[参考译文] CCS/AM1808:接受“-m”armelf_linux_ebai”的Windows托管“ld.exe”?

Guru**** 2531460 points
Other Parts Discussed in Thread: AM1808

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/655398/ccs-am1808-windows-hosted--ld-exe-that-accepts--m-armelf_linux_ebai

部件号:AM1808
主题中讨论的其他部件: CCStudio-Sitara

工具/软件:Code Composer Studio

我是一个老的嵌入式程序员,试图为使用CCStudio-Sitara的学生设置Lego-EV3-Windows-IDE (AM1808)。  我从ev3dev-c交叉编译和链接hellow.c时只出现一个小错误,但我挂机的原因是windows)托管链接器 (“C:\ti\ccsv7\tools\compiler\gcc-arm-none-eabi-6-2017-q1-update\bin\ arm-none-ebai-ld.exe”)仅支持“elf-m_armm”和“elf”。

感谢您的任何帮助!  

Bob  

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

    您提到的CCS随附的编译器是为"BareMetal"项目定制的,即不涉及Linux。

    如果要使用Linux跨编译器工具链来运行Windows,可以尝试从Linaro获取一个工具链。 但是,他们的最新版本似乎仅支持ARMv7 (Cortex内核)和更新版本,因此我怀疑您可能需要版本4.9 ,可从以下网站获取:

    releases.linaro.org/.../

    如果我没记错,Windows主机/Linux目标的实际内部版本应该在arm-linux-gnueabi/gcc-linaro-Windows.4-Windows-i686-mingw32_arm-linux-gnueabi.tar.xz下4.9 2017.01

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

    谢谢!

    我现在有了一个很好的链接,希望使用正确的EV3库和标记。

    Bob