Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: Errors when recompiling under legacy .COFF format

$
0
0

Note that whichever format you choose to build for, all object files and libraries should be of that format. This is also noted in the wiki page I referenced earlier in your other thread.

In this case, I imagine the .libs you are linking in (drivers.lib, platform.lib, etc from Starterware) are in EABI format. So there is a problem when the COFF object files are referencing symbols in the ELF libraries. The way symbols are handled is different between COFF and EABI. An explanation on that is here: http://processors.wiki.ti.com/index.php/C6000_EABI_Migration#COFF_Underscore_Name_Mangling

So you would either need to rebuild the .obj files you added to the project to be EABI format (so everything is EABI) or rebuild the Starterware libraries in COFF format so all the input seen by the linker is in the same format. I believe Starterware provides projects for the libraries, which you can try rebuilding for COFF.

The EABI migration page gives some background on the two file formats and considerations for choosing one or the other. http://processors.wiki.ti.com/index.php/C6000_EABI_Migration


Viewing all articles
Browse latest Browse all 91752

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>