Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3972247F.9BF1BB1@ece.gatech.edu> Date: Sun, 16 Jul 2000 17:09:19 -0400 From: Charles Wilson X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 CC: s_m_siddiqi AT yahoo DOT com, cygwin AT sources DOT redhat DOT com Subject: Re: ld -r Unsupported PEI arch pe-i386 References: <20000716165737 DOT 21932 DOT qmail AT web4602 DOT mail DOT yahoo DOT com> <200007161944 DOT PAA07792 AT envy DOT delorie DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit DJ Delorie 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 ..." > Thanks, DJ. I *did* say that my response was only a guess. :-) I'll bow out now and leave it to the experts. Sorry for adding to the confusion. --Chuck -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com