This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Question on GNU linker


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]