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


On Sun, Jul 16, 2000 at 12:59:59PM -0700, Suhaib Siddiqi wrote:
>Yes, 
>That was it.  Now I need to adapt Imake.rules files
>or I will be manually issuing this command 130 times.

Hmm.  It should be possible to change one of the linker scripts to
accomodate this shouldn't it?  DJ?

cgf

>--- DJ Delorie <dj@delorie.com> 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 ..."
>
>
>__________________________________________________
>Do You Yahoo!?
>Get Yahoo! Mail – Free email you can access from anywhere!
>http://mail.yahoo.com/
>
>--
>Want to unsubscribe from this list?
>Send a message to cygwin-unsubscribe@sourceware.cygnus.com

-- 
cgf@cygnus.com                        Cygnus Solutions, a Red Hat company
http://sourceware.cygnus.com/         http://www.redhat.com/

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