User forums > General (but related to Code::Blocks)

output for ARM GCC Compiler

(1/1)

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...

Navigation

[0] Message Index

Go to full version