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.

TMS320F280049C: 有什么办法能替代 gcc 中的 __attribute__((used))

Part Number: TMS320F280049C

我准备移植一份使用 GCC 编译的代码,代码中有 __attribute__((used)) 修饰的变量。在C2000 的工程中,这个修饰并不会生效,导致代码执行异常。

请问 C2000 的编译套件,有和办法能达到类似的效果?