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.

6678向main函数传参



您好!

      我想向main函数传递一些参数,我知道_c_int00会在

main函数运行之前初始化一些东西,然后跳转到main的地址。

那我怎么在_c_int00里将参数传给main?我需要做哪些工作?

   谢谢!

  • 可以修改args_main.c中的main函数的调用传入参数,或者直接修改在boot.c 中替换调用自定义的main函数,args_main.c及boot.c 在compiler工具文件夹下,如C:\ti\ccsv5\tools\compiler\c6000_7.4.2\lib\rtssrc