2 ms·
Out of curiosity, why would you need this?
by stingraycharles 4y ago
Out of curiosity, why would you need this?
- hgs3 4y agoYou're basically asking why you'd want object files. They're a container of (usually) relocatable machine code. You can inspect or modify them with nm [1] or objcopy [2]. You can link them with object files generated from other programming languages to mix languages. Maybe you have a custom linker or environment that requires you to convert an ELF or COFF object file to some custom variant. There are lots of reasons. [1] https://linux.die.net/man/1/nm https://linux.die.net/man/1/nm [2] https://linux.die.net/man/1/objcopy https://linux.die.net/man/1/objcopy