This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: ld -r Unsupported PEI arch pe-i386
- To: s_m_siddiqi at yahoo dot com
- Subject: Re: ld -r Unsupported PEI arch pe-i386
- From: DJ Delorie <dj at delorie dot com>
- Date: Sun, 16 Jul 2000 15:44:44 -0400
- CC: cygwin at sources dot redhat dot com
- References: <20000716165737.21932.qmail@web4602.mail.yahoo.com>
> 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