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


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

Re: ld -r Unsupported PEI arch pe-i386



> 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


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