ARM-ELF -> PE-COFF with objcopy

Vincent R. forumer@smartmobili.com
Thu May 7 12:34:00 GMT 2009


On Thu, 07 May 2009 13:38:52 +0100, Dave Korn
<dave.korn.cygwin@googlemail.com> wrote:
> Vincent R. wrote:
>> On Thu, 07 May 2009 02:58:16 -0400, pps <i-love-spam@> wrote:
> 
>>> 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.
>>>
> 
>> If you are testing on a Windows Mobile 6.1 cegcc binaries are not
working
>> because PE loader is very strict on this platform.
>> Please give more information on the platform you are testing.
> 
>   Vincent, does the loader on this platform permit long section names?
> 
>     cheers,
>       DaveK

I don't know if I have time I will test it. 



More information about the Binutils mailing list