Code::Blocks

User forums => General (but related to Code::Blocks) => Topic started by: anandamu16 on June 20, 2017, 08:22:20 am

Title: output for ARM GCC Compiler
Post by: anandamu16 on June 20, 2017, 08:22:20 am
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
Title: Re: output for ARM GCC Compiler
Post by: BlueHazzard on June 21, 2017, 12:08:53 am
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...