S
S
Sergey Karbivnichy2016-09-16 19:04:11
C++ / C#
Sergey Karbivnichy, 2016-09-16 19:04:11

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

2 answer(s)
R
Rou1997, 2016-09-16
@Rou1997

ELF or PE is already linking, first an object file is generated, any compiler can be configured not to link, but to output it.

M
Mirn, 2016-09-16
@Mirn

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 question

Ask a Question

731 491 924 answers to any question