ARM-ELF -> PE-COFF with objcopy

pps i-love-spam@yandex.ru
Thu May 7 06:58:00 GMT 2009
....

Just a little update.
After trying and failing all possible combinations and ideas I decided 
to abandon my idea of converting elf to coff. Right now I'm working on 
some other project and as part of the project I need to compile some 
code with cegcc. I just found out that no matter what and how I build 
anything with cegcc it won't even load on my phone 
(ERROR_BAD_EXE_FORMAT). Exactly the same binary works on emulator just 
fine, but doesn't work on the device and produces data abort if I try to 
LoadLibrary("dll name"). I tried a simple HelloWorld app - same problem. 
So, it's very possible that while I tried to convert elf->coff I had a 
working coff object, but the binary built at the end would never work 
because I used real device for testing. I'll post to cegcc mailing list 
to see if the problem was resolved.

Thanks



More information about the Binutils mailing list