Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Delivered-To: mailing list cygwin@sources.redhat.com Date: Sun, 16 Jul 2000 15:44:44 -0400 Message-Id: <200007161944.PAA07792@envy.delorie.com> From: DJ Delorie To: s_m_siddiqi@yahoo.com CC: cygwin@sources.redhat.com In-reply-to: <20000716165737.21932.qmail@web4602.mail.yahoo.com> (message from Suhaib Siddiqi on Sun, 16 Jul 2000 09:57:37 -0700 (PDT)) Subject: Re: ld -r Unsupported PEI arch pe-i386 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