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.
您好,
如何在另一个 cmd 文件中包含 cmd 文件?
例如,有一个文件“some /path/a.cmd”和一个文件“other /path/b.cmd”。
我想用“b.cmd”编写:
#include "a.cmd"
如何实现这一点?
您好,
您可以在一个项目中使用多个链接程序 cmd 文件。 我不知道如何在另一个链接程序 cmd 文件中包括链接程序 cmd 文件。
所以,如果我没有在“a.cmd”中定义某项内容并使用“b.cmd”中定义的值,那么如果我先提供“a.cmd”,然后再提供“b.cmd”,这是可以的?
不,我认为您不能使用另一个 link cmd 文件中定义的变量。
我对链接器命令文件的语法不是很了解。 请将您的问题发布到 CCS/Compiler 论坛以获得更多帮助。 谢谢