From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19941 invoked by alias); 11 Jul 2007 03:25:14 -0000 Received: (qmail 19930 invoked by uid 22791); 11 Jul 2007 03:25:13 -0000 X-Spam-Check-By: sourceware.org Received: from py-out-1112.google.com (HELO py-out-1112.google.com) (64.233.166.177) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 11 Jul 2007 03:25:11 +0000 Received: by py-out-1112.google.com with SMTP id f31so5146188pyh for ; Tue, 10 Jul 2007 20:25:09 -0700 (PDT) Received: by 10.65.210.18 with SMTP id m18mr2189738qbq.1184124309250; Tue, 10 Jul 2007 20:25:09 -0700 (PDT) Received: by 10.64.27.1 with HTTP; Tue, 10 Jul 2007 20:25:09 -0700 (PDT) Message-ID: Date: Wed, 11 Jul 2007 08:15:00 -0000 From: NightStrike To: "Dave Korn" Subject: Re: enable-targets=all fails on cygwin Cc: Binutils In-Reply-To: <009101c7c318$1cb11ff0$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <009101c7c318$1cb11ff0$2e08a8c0@CAM.ARTIMI.COM> X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2007-07/txt/msg00229.txt.bz2 On 7/10/07, Dave Korn wrote: > On 10 July 2007 18:16, NightStrike wrote: > > > I downloaded the latest binutils from cvs last night, and today ran: > > > > ../src/configure --enable-targets=all > > make > /dev/null > > > > ...on i686-pc-cygwin. I received the following error: > > > > ../../src/binutils/bin2c.c: In function `main': > > ../../src/binutils/bin2c.c:89: warning: implicit declaration of > > function `_fileno' > > ../../src/binutils/bin2c.c:89: warning: implicit declaration of > > function `_setmode' > > > > > > Is enable-targets=all an invalid option on cygwin? Or am I doing > > something stupid that I don't realize? > > > It's not supported on cygwin. The main issue is that the code for the > output format in the bfd lib is still somewhat hard-wired, and cygwin uses > PE-COFF, which clashes with the ELF format output routines, preventing them > from being combined in a single executable. > > I had a plan to get this working at some stage last summer, but I dropped it > on the floor owing to work pressures; I now think I should pick it back up > over the next month or two when I start to find some spare time. Thanks for the quick and informative response. If you do find time to resume work on it, would you be able to let me know? I'd be interested in it.