Hi All,
There is a question about -mo compiler option. The -mo compiler option placed each function in a file in its own subsection.
Thus, only the functions that are referenced in the application are linked into the final executable. just now I do a test to confirm the conclusion. In the test project, The demo project dependes on another lib project, and the lib project choosed the -mo compiler option.when I checked the map file,the fuctions that are not referenced in the application also are linked into the final executable. So I was so confuesd, and I want to know, why? and How to use the -mo option correctly?
Compiler version 6.0.8 for c6000 DSP.
BR,
Robert