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.
Hello,
Once in a while CCSv6.1.1 will decide to change the Runtime support library from rts2800_fpu32.lib (the one I selected) to automatic (libc.a).
What is libc.a and why does CCSv6.1.1 want to change back to the automatic?
Stephen
stevenh said:What properties would make the runtime library change to automatic?
Changing the Device Variant would definitely reset it to default. But I can't think of any others for now
stevenh said:What is libc.a? How is it different from rts2800_fpu32.lib?
In the thread mentioned in my prior post, Archaeologist describes it as:
It is an "index" library. If you link against it instead of rts<whatever>.lib, the linker will automatically figure out the most appropriate version of the RTS library to use.
...
There is no source code for libc.a; it is generated from other libraries. It relies on build attribute checking in the linker. The documentation for libc.a has been sourced, and should be in the compiler user's guide. Yes, this is intended to work with any set of otherwise-identical libraries which have distinct sets of build attributes. The linker will only pick one library from each index file.
Thanks
ki