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 in command line works different from description

Part Number: TMS320F28377S

Hallo,

I'm using some C2000 tools in command line, on Windows 10.

If I call the linker without arguments, I get complete overview. It seems good, it starts like:

Fullscreen
1
2
3
4
5
6
7
8
9
10
\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>.
...
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Encouraged by this description I try option "-h" and I get not a real answer:

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

Let's try "-h" only:

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

Why? The option "-h" is mentioned at the beginning of arguments list. The same argument "-h" works good for compiler cl2000.exe

Please correct  the output of linker command line. I'd expect there most current, detailed description of accessible options.

  • Hello,

    A compiler expert has been notified of this thread. Note that it is holiday time and many people are on vacation - hence responses may be delayed.

    Thanks

    ki

  • Thank you for notifying us about this problem.  I filed the issue EXT_EP-11009 to get it addressed.  The likely result is that the paragraph in the help summary about -h gets removed.  

    The best way to get information, from the command line, about the linker is by using the compiler shell cl2000.  It dumps out summary information about both the compiler and linker options.  The -h feature of cl2000 works across both compiler and linker options.

    Thanks and regards,

    -George