Hello,
how can one include a cmd file in another cmd file?
e.g., one has a file "some/path/a.cmd" and a file "other/path/b.cmd".
I want to write in "b.cmd":
#include "a.cmd"
How to achieve this?
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.
Hello,
how can one include a cmd file in another cmd file?
e.g., one has a file "some/path/a.cmd" and a file "other/path/b.cmd".
I want to write in "b.cmd":
#include "a.cmd"
How to achieve this?
Hi,
You can use multiple linker cmd files in one project. I don't know how to include a linker cmd file in another linker cmd file.
So, if I #define something in "a.cmd" and use the defined value in "b.cmd", then this is okay if I provide armcl first "a.cmd" and then "b.cmd"?
No, I don't think you can use the variable defined in another link cmd file.
I don't know much about syntax of linker command file. Please post your question to CCS/Compiler forum to get more help. Thanks