News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

output for ARM GCC Compiler

Started by anandamu16, June 20, 2017, 08:22:20 AM

Previous topic - Next topic

anandamu16

Hi,

I recently tried to create a new project in Codeblocks based on ARM GCC Compiler. It compiled fine
My question is based upon 2 instances:

1>In project properties, I set the output file name extension as bin. On compiling, it gives output file as .elf as well as .bin
2>In project properties, I set the output file name extension as hex. On compiling, it gives output file as .hex only no .elf

Can anyone explain the reason behind this variation as I am expecting elf file also as output along with hex file for 2nd case

BlueHazzard

hmm
Codeblocks does exactly what you ask it to do.

On the AVR Targets the elf files are generated by a post build step, so one possibility would be that this post build step does not find the bin file and simply does not can generate the elf file...