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.

lnk.cmd file description

 Hello,

Similar to --cmd_file for the compiler, where I can keep all my compiler commands in a  file, I believe I can use lnk.cmd for the linker. What I am trying to do is to keep all the linker commands in this file and pass it to the linker.

Is there any specific format for this file ? How can I mention linker option ?