ld -r Unsupported PEI arch pe-i386

Charles Wilson cwilson@ece.gatech.edu
Sun Jul 16 14:06:00 GMT 2000


DJ Delorie wrote:
> 
> > Unsupported PEI architecture: pe-i386
> >
> > Any suggestions?  I am using Cygwin 1.1.2 and the
> > binutils from the "latest"
> 
> I think the problem is that the linker is using PEI instead of PE.
> PEI is *only* for executables, PE is *only* for objects.  When you do
> "ld -r" it's trying to produce an object, but if it doesn't
> know to switch formats, it will have a problem.
> 
> Try "ld -r --oformat pe-i386 ..."
> 

Thanks, DJ. I *did* say that my response was only a guess. :-) I'll bow
out now and leave it to the experts. Sorry for adding to the confusion.

--Chuck

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list