objconv icon indicating copy to clipboard operation
objconv copied to clipboard

ELF/PE to Mach-O

Open drummachineshavenosoul opened this issue 5 years ago • 1 comments

Trying to convert elf file to macho and always get the following error. Any assistance would be awesome, using on macOS Mojave.

/Users/sam/Downloads/objconv/source/objconv -fmacho64 /Users/sam/Desktop/CPotion. /Users/sam/Desktop/CPotion

Error 2022: Cannot convert executable file

drummachineshavenosoul avatar May 08 '20 00:05 drummachineshavenosoul

According to the source code, this tool can convert only object files, and executable (=linked) files can only be dumped or converted to MASM format. Alas... See here: https://github.com/gitGNU/objconv/blob/42c66561231fffd39030778c1590ffb232539da3/src/main.cpp#L457-L495

MarSoft avatar Sep 04 '23 18:09 MarSoft