This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Question on GNU linker
- To: "H . J . Lu" <hjl at lucon dot org>
- Subject: Re: Question on GNU linker
- From: "Ling Su" <lingsu at palmmicro dot com>
- Date: Fri, 21 Jul 2000 11:11:33 -0700
- Cc: <binutils at sourceware dot cygnus dot com>
- Organization: Palm Microsystems, Inc.
- References: <001901bff33d$720bbdf0$0201a8c0@raccoon> <20000721110800.A10627@lucon.org>
- Reply-To: "Ling Su" <lingsu at palmmicro dot com>
> > I downloaded a snapshot of binutils 2000526 and compiled it for a
> > i386-mingw32 target in Linux (RH on UltraSPARC). When I used it to link,
it
> > complains "Unsuported PEI architecture: pe-i386". Actually when I list
the
> > options by typing "i386-mingw32-ld --help",
> > it shows,
> > "i386-mingw32-ld : supported targets: pe-i386 pei-i386 ....."
> >
> > Then what's wrong? I am curious if I can not use this cross platfrom
between
> > UltraSPARC and i386 since they have different architectures.
> >
>
> You missed
>
> i386-mingw32-ld: supported emulations: ....
>
Thanks, I checked the support emulations, it is 'i386pe', then what is the
difference between i386pe and pe-i386. How could I force the compiler to do
is pe-i386 instead of i386pe.
Regards,
-Ling