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/OMAPL138B-EP:rts67plus.lib 在"OMAPL138-DSP-LED-v4"project 中的用途?

Guru**** 2529590 points
Other Parts Discussed in Thread: OMAP-L138

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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/907510/ccs-omapl138b-ep-purpose-of-rts67plus-lib-in-omapl138-dsp-led-v4-project

器件型号:OMAPL138B-EP
主题中讨论的其他器件:OMAP-L138

工具/软件:Code Composer Studio

您好!

我正在尝试构建 TI "OMAPL138-DSP-LED-v4.zip"提供的项目。

链接器 cmd 如下所示、

/*********
用于 OMAP-L138测试代码的链接器命令文件。
*
*Copyright版权所有2009、Logic Product Development、Inc. 保留所有权利。
秘书长的报告 /

l rts67plus.lib

-stack          0x00000800
堆           0x00000800

存储器

  DSP_L2_ram:     origin = 0x1180000 length = 0x00040000
  entry_point:    origin = 0x80010000 length = 0x00000080
  shared_ram:     origin = 0x80010080 length = 0x00007F80
  external_ram:   origin = 0xC0000000 length = 0x08000000
  ARM_LOCAL:  origin = 0xFFFFFF0000 length = 0x00002000


部分

  .text:_c_int00 > entry_point
  .cinit     > shared_ram
  .text      > shared_ram
  .const     > shared_ram
  .bss       > shared_ram
  .far       > shared_ram
  .switch    > shared_ram
  .stack     > shared_ram
  .data      > shared_ram
  .sysmem    > shared_ram
  .cio       > shared_ram


在构建项目时、我遇到有关"rts67plus.lib"的错误。

误差如下所示、


"目标文件具有不兼容的格式("C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.2.2/lib/rts67plus.lib) "= TI-COFF、"./main.obj"= ELF)。  请参阅 processors.wiki.ti.com/.../C6000_EABI_Migration 上的"C6000 EABI 迁移"指南空:目标文件格式不兼容("C:/ti/ccsv7/tools/compiler/ti-cgt-c6000_8.2.2/lib/rts67plus.lib) "= TI-COFF、"./main.obj"= ELF)。  请参阅位于 processors.wiki.ti.com/.../C6000_EABI_Migration 上的"C6000 EABI 迁移"指南"

在给定的项目中包含该库文件非常重要。 我们可以忽略它还是从链接器命令文件中删除此行?

谢谢。

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

    [引用 user="Awais Khan "]在给定的项目中包含此库文件是否重要。

    是的。  此库包括启动代码和标准运行时支持函数、如 strcpy。   

    我建议您从链接器命令文件中删除此行...

    [引用 user="Awais Khan ]-l rts67plus.lib[/quot]

    然后,在链接器调用的末尾,添加...

    -l libc.a 

    这会告诉链接器自动选择最佳 RTS 库。   

    如果您的代码被组织为 CCS 项目... 在工程属性的常规类别中、将标题为运行时支持库的下拉框设置为自动。

    谢谢、此致、

    乔治

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

    感谢您的快速回复。 你拯救了我的一天。

    祝你身体健康。