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.
Hi,
A quickie, in Build Properties -> C/C++ Build -> Tool Settings -> C5500 Compiler -> Runtime Model Options, there are two settings about large memory model: "Use large memory model (--large_memory_model, -ml)" and "Specify memory model (small/large/huge) (--memory_model) ", what is the difference between them ? In spru281, -ml is defined, no where to find --memory_model.
Thanks,
Yuhua
-ml, --large_memory_model is an old form that pre-dates the addition of huge model. --memory_model={small, large, huge} was added later. -ml is equivalent to --memory_model=large. However, you probably need to be careful not to use both since that may (or may not, I'm not sure) result in CCS passing two options to the compiler, and whichever one was mentioned last in the command passed to the compiler would be the one followed.
I'm not sure why both options are presented in the CCS interface. Probably best to ignore the older one (-ml).
The --memory_model does not appear in spru281 because that edition of the manual is rather old. For information on features, options, etc added since the publication of the manual see the readme.1st file that is distributed with the tools.