From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6028 invoked by alias); 26 Apr 2006 11:31:27 -0000 Received: (qmail 6020 invoked by uid 22791); 26 Apr 2006 11:31:26 -0000 X-Spam-Check-By: sourceware.org Received: from CPE-144-136-172-108.sa.bigpond.net.au (HELO grove.modra.org) (144.136.172.108) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 26 Apr 2006 11:31:24 +0000 Received: by bubble.grove.modra.org (Postfix, from userid 500) id CD7581E139F; Wed, 26 Apr 2006 21:01:21 +0930 (CST) Date: Wed, 26 Apr 2006 14:38:00 -0000 From: Alan Modra To: Dave Korn Cc: 'Nick Clifton' , binutils@sourceware.org Subject: Re: Mainline and branch: --enable-targets=all dead on cygwin Message-ID: <20060426113121.GX27430@bubble.grove.modra.org> Mail-Followup-To: Dave Korn , 'Nick Clifton' , binutils@sourceware.org References: <444F3D83.8050309@redhat.com> <05cf01c66915$8c3ff7f0$a501a8c0@CAM.ARTIMI.COM> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <05cf01c66915$8c3ff7f0$a501a8c0@CAM.ARTIMI.COM> User-Agent: Mutt/1.4i X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-04/txt/msg00378.txt.bz2 On Wed, Apr 26, 2006 at 10:41:08AM +0100, Dave Korn wrote: > I just filed a PR as it was still happening to me last night. Maybe > something in my cygwin installation isn't fully up-to-date; I'll make sure > I've got the latest everything and double-check. It's a bug. Try this. * config/obj-coff.h (TARGET_FORMAT ): Wrap all with #ifndef. Index: gas/config/obj-coff.h =================================================================== RCS file: /cvs/src/src/gas/config/obj-coff.h,v retrieving revision 1.34 diff -u -p -r1.34 obj-coff.h --- gas/config/obj-coff.h 27 Oct 2005 07:40:07 -0000 1.34 +++ gas/config/obj-coff.h 26 Apr 2006 11:26:01 -0000 @@ -59,14 +59,14 @@ #ifdef TC_I386 #include "coff/i386.h" +#ifndef TARGET_FORMAT #ifdef TE_PE #define TARGET_FORMAT "pe-i386" -#endif - -#ifndef TARGET_FORMAT +#else #define TARGET_FORMAT "coff-i386" #endif #endif +#endif #ifdef TC_M68K #include "coff/m68k.h" -- Alan Modra IBM OzLabs - Linux Technology Centre