Hacker News new | ask | show | jobs
by dietrichepp 2613 days ago
Strongly recommend reading "How To Write Shared Libraries" by Ulrich Drepper https://software.intel.com/sites/default/files/m/a/1/e/dsoho...

I recently dove into ELF files so I could convert ELF binaries to DOS EXE, for a little bit of retro programming with modern compilers. Not that I couldn't have used DJGPP.

2 comments

> I recently dove into ELF files so I could convert ELF binaries to DOS EXE, for a little bit of retro programming with modern compilers. Not that I couldn't have used DJGPP.

That sounds pretty cool, did you make anything you could share?

Going to post it to GitHub when I have a moment. I literally wrote the code a couple weeks ago.

Edit: https://github.com/depp/elf2dos

Thanks for the suggestion @dietrichepp. Will definitely read.