public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Question on GNU linker
@ 2000-07-21 10:59 Ling Su
  2000-07-21 11:08 ` H . J . Lu
  2000-07-21 14:16 ` DJ Delorie
  0 siblings, 2 replies; 5+ messages in thread
From: Ling Su @ 2000-07-21 10:59 UTC (permalink / raw)
  To: binutils

Hello,

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.

Best Regards,
-Ling

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Question on GNU linker
  2000-07-21 10:59 Question on GNU linker Ling Su
@ 2000-07-21 11:08 ` H . J . Lu
  2000-07-21 11:11   ` Ling Su
  2000-07-21 14:16 ` DJ Delorie
  1 sibling, 1 reply; 5+ messages in thread
From: H . J . Lu @ 2000-07-21 11:08 UTC (permalink / raw)
  To: Ling Su; +Cc: binutils

On Fri, Jul 21, 2000 at 10:59:39AM -0700, Ling Su wrote:
> Hello,
> 
> 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: ....


H.J.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Question on GNU linker
  2000-07-21 11:08 ` H . J . Lu
@ 2000-07-21 11:11   ` Ling Su
  2000-07-21 11:16     ` H . J . Lu
  0 siblings, 1 reply; 5+ messages in thread
From: Ling Su @ 2000-07-21 11:11 UTC (permalink / raw)
  To: H . J . Lu; +Cc: binutils

> > 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Question on GNU linker
  2000-07-21 11:11   ` Ling Su
@ 2000-07-21 11:16     ` H . J . Lu
  0 siblings, 0 replies; 5+ messages in thread
From: H . J . Lu @ 2000-07-21 11:16 UTC (permalink / raw)
  To: Ling Su; +Cc: binutils

On Fri, Jul 21, 2000 at 11:11:33AM -0700, Ling Su wrote:
> >
> > 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

I think pe-i386 is for bfd and i386pe is for ld.

> is pe-i386 instead of i386pe.
> 

Why do you want to do that?


H.J.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Question on GNU linker
  2000-07-21 10:59 Question on GNU linker Ling Su
  2000-07-21 11:08 ` H . J . Lu
@ 2000-07-21 14:16 ` DJ Delorie
  1 sibling, 0 replies; 5+ messages in thread
From: DJ Delorie @ 2000-07-21 14:16 UTC (permalink / raw)
  To: lingsu; +Cc: binutils

> complains "Unsuported PEI architecture: pe-i386". Actually when I list the

I already fixed this in the binutils CVS.  Please get the latest
sources and try those.  It only affects "ld -r".

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-07-21 14:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-21 10:59 Question on GNU linker Ling Su
2000-07-21 11:08 ` H . J . Lu
2000-07-21 11:11   ` Ling Su
2000-07-21 11:16     ` H . J . Lu
2000-07-21 14:16 ` DJ Delorie

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).