请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
器件型号: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
请更正 链接器命令行的输出。 我希望 能够获得有关可访问选项的最新详细说明。