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.

error: --abi=eabi not supported when producing TI-COFF output files



Hello,

We were trying to load a binary for the C6747 part of an Integra using the ti firmware_loader:

# /usr/share/ti/firmware_loader 0 loadtest03.out start
<< DLOAD >> ERROR: Invalid ELF file target machine.
FIRMWARE: Could not load: -2071597053
FIRMWARE: Could not start: -1

Since cl6x  generates coff by default, I installed version 7.2.3 of the compiler, changed the abi to eabi (--abi=eabi) and tried to compile:

error: --abi=eabi not supported when producing TI-COFF output files
fatal error: cannot continue with specified options; aborting

I searched up and down but did not find any compiler switch that would help me. I thought --abi=eabi tells the compiler to output elf format, not coff? What to do now?

Besides, if it's just another compiler switch, a more helpfull error message would be nice...

 

TIA,

Markus

  • That's a linker error which says that the linker has determined (probably from the input object files) that the output is a TI-COFF executable file, but you specified --abi=eabi on the command line.  My guess is that at least one of your input object files is TI-COFF, which will not work.

  • The problem was, that I configured the project as coff when I created it with the wizzard. I started a new project, configured as eabi and it compiled fine,so I think Archaeologist is right. Unfortunately, the firmware_loader crashed and halted the whole board when loading the .out file. It seems this is not the right tool for the job :(