Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-ID: <3972247F.9BF1BB1@ece.gatech.edu>
Date: Sun, 16 Jul 2000 17:09:19 -0400
From: Charles Wilson <cwilson@ece.gatech.edu>
X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
CC: s_m_siddiqi@yahoo.com, cygwin@sources.redhat.com
Subject: Re: ld -r Unsupported PEI arch pe-i386
References: <20000716165737.21932.qmail@web4602.mail.yahoo.com> <200007161944.PAA07792@envy.delorie.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@sourceware.cygnus.com

