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/TMS570LS0432:编译器/CCS 将生成的库写入安装文件夹...

Guru**** 2539500 points
Other Parts Discussed in Thread: TMS570LS0432

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/950992/ccs-tms570ls0432-compiler-ccs-writes-generated-library-to-install-folder

器件型号:TMS570LS0432

工具/软件:Code Composer Studio

首次构建项目时,CCS/编译器会构建目标库,并希望将其安装到 CCS 安装文件夹...

除非您是 root 用户或对安装文件夹拥有完全权限、否则最有可能失败。  我以普通用户身份使用 CCS、这意味着我无法自由写入系统文件夹。

例如、它希望在    /opt/ti/ccs1010/ccs/tools/compiler/ti-cgt-arm_20.2.2.LTS/lib 中生成 rtsv7R4_A_be_eabi.lib

如何避免这种行为、防止 CCS 假设它可以自由写入其系统安装文件夹?  

是否有方法覆盖本地生成的全局库的路径?

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

    请在 TI ARM 编译器手册中搜索 标题为 库构建过程的子章节。  您将看到、在您的情况下、解决方案是使用 mklib 实用程序手动构建所需的库。

    谢谢、此致、

    乔治