public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: "Vincent R." <forumer@smartmobili.com>
To: pps <i-love-spam@yandex.ru>
Cc: <binutils@sourceware.org>
Subject: Re: ARM-ELF -> PE-COFF with objcopy
Date: Thu, 07 May 2009 09:38:00 -0000	[thread overview]
Message-ID: <ce10920d220245e5fb27068d7b9e9f96@mail.smartmobili.com> (raw)
In-Reply-To: <4A028688.1010703@yandex.ru>

On Thu, 07 May 2009 02:58:16 -0400, pps <i-love-spam@yandex.ru> wrote:
> ....
> 
> 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

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.

Thanks

  reply	other threads:[~2009-05-07  9:38 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-27  9:45 pps
2009-04-27 14:33 ` Nick Clifton
2009-04-27 16:26   ` pps
2009-04-27 21:21     ` i-love-spam
2009-04-27 22:49       ` Ian Lance Taylor
2009-04-28  7:24         ` i-love-spam
2009-04-28  7:45           ` Nick Clifton
2009-04-28  8:31             ` i-love-spam
2009-04-28 10:44               ` Nick Clifton
2009-05-08 20:55               ` i-love-spam
2009-05-09 17:20                 ` Dave Korn
2009-04-28 14:15           ` Ian Lance Taylor
2009-04-28 14:25             ` Dave Korn
2009-04-28 15:46               ` pps
2009-04-28 16:07                 ` Dave Korn
2009-04-28 16:56                   ` Daniel Jacobowitz
2009-04-28 17:29                   ` Pedro Alves
2009-04-28 17:33                     ` Daniel Jacobowitz
2009-04-28 21:09                       ` Dave Korn
2009-05-07  6:58                         ` pps
2009-05-07  9:38                           ` Vincent R. [this message]
2009-05-07 12:27                             ` Dave Korn
2009-05-07 12:34                               ` Vincent R.
2009-05-08  8:31                             ` pps
2009-05-08  8:32                             ` pps
2009-04-28 16:44                 ` Ian Lance Taylor
2009-04-28 16:52                   ` pps

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ce10920d220245e5fb27068d7b9e9f96@mail.smartmobili.com \
    --to=forumer@smartmobili.com \
    --cc=binutils@sourceware.org \
    --cc=i-love-spam@yandex.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).