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.

C6000 COFF vs EABI problem

Hi all,

I'm working with the image processing demo project for EVM6678LE, and I need to use a library originally built for a C64+ device.

However, the library is built in COFF format. I do not have the original library code (neither the assembly), so I can't recompile to EABI as the wiki "C6000_EABI_Migration" suggests.

I tried to configure the compiler with --abi=coffabi but I got this error:

<Linking>
error #10016-D: --abi=coffabi not supported when producing ELF output files
fatal error #10011: cannot continue with specified options; aborting

Inside the project properties, I've tried to change the 'Output Format' to 'legacy COFF', but a warning appears:
'List of RTSC Platforms may have changed, Please select a RTSC Platform.'
and I'm not allowed to save the configuration

Is there a way that I can use this old COFF library in my project?
I'm using:
Compiler TI v7.3.1
XDCtools 3.23.1.43
CCS Version: 5.1.1.00031
  • XDCtools and SYS/BIOS don't support COFF on C66. You can try compiling for ti.targets.C64P target, which is a COFF target. The code will run on C66, but you are giving up all the benefits of having a newer processor. I am not aware on amy plans to support COFF on C66.

  • Thanks. After all, the only practical solution was to contact the developer, in order to build it to ELF.

  • Sasha,

    I am in a similar situation with moving C64xx libraries to support a C66xx device. Is there a way to get a COFF output since SYS/BIOS and XDCtools don't generate any code? We don't need to use TI debug tools at this point we just need the .out file in COFF format.

    Regards,

    Chris

    Signalogic

  • Chris,
    there are three components that you would need, but are not available in COFF for C66:
    1. SYS/BIOS libraries
    2. XDCtools runtime support package
    3. The object file coming from a C file generated by XDCtools based on the app configuration

    As I mentioned in my previous post, you could probably use C64P COFF components from SYS/BIOS and XDCtools, and build your code for C66 COFF. This is not what we would recommend, but if you can't switch to ELF that would be one alternative solution that comes to mind.