Answer the question
In order to leave comments, you need to log in
What are the C compilers that can generate "raw" binaries?
Most c compilers generate elf or pe binaries, but I need a list of compilers that can generate raw binaries. Thank you!
Answer the question
In order to leave comments, you need to log in
ELF or PE is already linking, first an object file is generated, any compiler can be configured not to link, but to output it.
for example, in the GNU GCC assembly for ARM there is such a utility as objcopy, it converts formats, including it can overtake ELF into a bare binary, for example:
arm-none-eabi-objcopy -O binary "Boot_F4_fast_uart.elf" "Boot_F4_fast_uart.bin"
so I advise you to familiarize yourself with the mana on objcopy
https://sourceware.org/binutils/docs/binutils/objc...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question