ld -r Unsupported PEI arch pe-i386

DJ Delorie dj@delorie.com
Sun Jul 16 12:44:00 GMT 2000


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

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



More information about the Cygwin mailing list