serge1 / ELFIO

ELFIO - ELF (Executable and Linkable Format) reader and producer implemented as a header only C++ library
http://serge1.github.io/ELFIO
MIT License
706 stars 152 forks source link

Writer: Linking executable with libc #94

Closed niansa closed 2 years ago

niansa commented 2 years ago

Hey, I need an example on how to link the elf with libc and how to set the "main" function then. Thank you!

serge1 commented 2 years ago

Hi, I afraid this question is out of the scope of the ELFIO library support. Try to ask this question at StackOverflow