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.

[参考译文] TMS320F28377S:命令行中的 lnk2000的工作原理与说明不同

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

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1183237/tms320f28377s-lnk2000-in-command-line-works-different-from-description

器件型号:TMS320F28377S

Hallo、

我在 Windows 10的命令行中使用一些 C2000工具。

如果我在没有参数的情况下调用链接器、我将获得完整的概述。 它看起来不错、一开始就像:

\ti-cgt-c2000_22.6.0.LTS\bin>lnk2000.exe
TMS320C2000 Linker                      v22.6.0.LTS
Copyright (c) 1996-2018 Texas Instruments Incorporated

Usage: lnk2000.exe [-options] filename

Use 'lnk2000.exe -h <option>' for more information on a particular option.  Use
'lnk2000.exe -h <text>' to search options for information regarding <text>.

...

受 此描述的鼓舞、我尝试了选项"-h"、但我没有得到真正的答案:

\ti-cgt-c2000_22.6.0.LTS\bin>lnk2000.exe -h --map_file
error: option --map_file is missing its parameter 'file'

让我们仅尝试"-h":

\ti-cgt-c2000_22.6.0.LTS\bin>lnk2000.exe -h
fatal error: no input files

为什么? 参数列表开头提到了选项"-h"。 相同的参数"-h"适用于编译器 cl2000.exe

请更正 链接器命令行的输出。 我希望 能够获得有关可访问选项的最新详细说明。

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

    您好!

    已通知编译器专家此线程。 请注意、这是假日时间、许多人都在度假-因此可能会延迟响应。

    谢谢

    Ki

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

    感谢您就此问题通知我们。  我提交了问题 EXT_EP-11009 以解决该问题。  可能的结果是删除了有关-h 的帮助摘要中的段落。   

    从命令行获取有关链接器的信息的最佳方法是使用编译器 shell cl2000。  它转储有关编译器和链接器选项的摘要信息。    cl2000的-h 功能适用于编译器和链接器选项。

    谢谢、此致、

    乔治