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:CCS 版本6.2生成的输出文件与 CCS 版本3.3生成的输出文件不同(即.out、.map、.obj)。

Guru**** 2540720 points


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

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/784748/ccs-ccs-version-6-2-generates-different-output-file-size-i-e-out-map-obj-compare-to-ccs-version-3-3-generated-output-files

工具/软件:Code Composer Studio

您好!

我们观察 到 CCS 版本6.2生成的输出文件(即.out、.map、.obj)大小与 CCS 版本3.3生成的输出文件不同。 如需参考、请在附件中找到示例"Hello World"程序项目和输出文件。  

为什么 CCS 6.2生成的输出文件大小与 CCS 3.3不同? 请访问 advise.e2e.ti.com/.../Hello_5F00_world_5F00_v33.zipe2e.ti.com/.../Hello_5F00_world_5F00_v6.2.zipe2e.ti.com/.../Comparison-CCS-3.3_5F00_6.2.xlsx

谢谢、

Ramesh G.

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

    CCS 6.2编译使用大内存模型、而 CCS 3.3编译使用小内存模型。  一种不同的方法是使用 ofd55...

    C:\dir>ofd55 Hello_world_v6.2\Release\helloworld_v6.2.out | findstr Tag_
    标记文件:
    Tag_Producer_Name 链接器
    Tag_Producer_VMajor 5. (主要生产商版本+1)
    Tag_Producer_VMinor 4. (生产者次要版本+1)
    Tag_Producer_VPatch 2. (生成者修补程序版本+1)
    TAG_ISA 4. (C55x)
    Tag_calling_convention2. (C55_std)
    Tag_Memory_Model 2. (大内存模型)
    
    C:\dir>ofd55 helloworld_v33\Release\helloworld_v33.out | findstr Tag_
    标记文件:
    Tag_Producer_Name 链接器
    Tag_Producer_VMajor 5. (主要生产商版本+1)
    Tag_Producer_VMinor 4. (生产者次要版本+1)
    Tag_Producer_VPatch 2. (生成者修补程序版本+1)
    TAG_ISA 4. (C55x)
    Tag_calling_convention2. (C55_std)
    Tag_Memory_Model 1 (小型内存模型) 

    我不知道这是怎么发生的。  这是一个猜测。  在 CCS 6.2下创建工程时、在选择某些 C55x 器件后、CCS 会自动设置多个构建选项、包括大模型的构建选项。  此设置被忽略。

    谢谢、此致、

    乔治