+cubanismo Posted March 13, 2022 Share Posted March 13, 2022 3 hours ago, Zerosquare said: Isn't it possible to convert a binary from a.out format to something more modern like ELF? (Honest question -- I've not looked into it.) I messed around with this last year, trying to use objcopy to extract the sections one by one and then recombine them into an ELF file. IIRC, I got an ELF version of MAC that would launch to its input prompt if given no parameters but crash as soon as it tried to do anything, and a non-functioning ALN. If anyone's interested in carrying on that work, I can probably dig up the script I used. It seems like it should work in theory if someone fiddled with it enough, but it could be that the resulting binary would also rely on some other crusty thing that Linux only sets up when the process is an a.out binary. Note both MAC and ALN are entirely statically linked, including the standard C library. If this weren't the case, it would probably be impossible to get this working. 2 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.