Question on GNU linker

Ling Su lingsu@palmmicro.com
Fri Jul 21 11:11:00 GMT 2000


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



More information about the Binutils mailing list