From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17124 invoked by alias); 17 Jun 2004 07:57:04 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 16836 invoked from network); 17 Jun 2004 07:57:03 -0000 Received: from unknown (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org with SMTP; 17 Jun 2004 07:57:03 -0000 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx1.redhat.com (8.12.10/8.12.10) with ESMTP id i5H7v2e1027833; Thu, 17 Jun 2004 03:57:02 -0400 Received: from potter.sfbay.redhat.com (potter.sfbay.redhat.com [172.16.27.15]) by int-mx2.corp.redhat.com (8.11.6/8.11.6) with ESMTP id i5H7v1w30265; Thu, 17 Jun 2004 03:57:01 -0400 Received: from cygbert.vinschen.de (vpn50-11.rdu.redhat.com [172.16.50.11]) by potter.sfbay.redhat.com (8.11.6/8.11.6) with ESMTP id i5H7uvP17149; Thu, 17 Jun 2004 00:56:57 -0700 Received: by cygbert.vinschen.de (Postfix, from userid 500) id 9EC0D5809C; Thu, 17 Jun 2004 09:56:53 +0200 (CEST) Date: Thu, 17 Jun 2004 07:57:00 -0000 From: Corinna Vinschen To: DJ Delorie Cc: aoliva@redhat.com, jjohnstn@redhat.com, vinschen@redhat.com, gdb-patches@sources.redhat.com, newlib@sources.redhat.com, binutils@sources.redhat.com, gcc-patches@gnu.org Subject: Re: [RFA]: Top-level configure patch to build Cygwin native newlib Message-ID: <20040617075653.GO1365@cygbert.vinschen.de> Mail-Followup-To: DJ Delorie , aoliva@redhat.com, jjohnstn@redhat.com, vinschen@redhat.com, gdb-patches@sources.redhat.com, newlib@sources.redhat.com, binutils@sources.redhat.com, gcc-patches@gnu.org References: <200406161919.i5GJJR6D023578@greed.delorie.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200406161919.i5GJJR6D023578@greed.delorie.com> User-Agent: Mutt/1.4.2i X-SW-Source: 2004-06/txt/msg00406.txt.bz2 Hi DJ, On Jun 16 15:19, DJ Delorie wrote: > > > > It would be a good idea. IIRC, most of the top-level files are > > > copied by sources from gcc. Did I get that correct, Chris? > > > > That's correct, > > No, it's not. I or Nathanael *manually* sync the toplevel files in > *both* directions because neither side ever agreed to cede control to > the other. I usually try to get the submitter to commit to both sides > to save us the work, though. the problem here is that I don't have checkin permissions on the gcc repository. I've applied the below patch now to the sourceware repository. It would be nice if you could pick it up for gcc. Thanks, Corinna 2004-06-17 Corinna Vinschen * configure.in: Don't build Cygwin native newlib if winsup directory is missing. Emit warning instead. * configure: Regenerate. Index: configure.in =================================================================== RCS file: /cvs/src/src/configure.in,v retrieving revision 1.220 diff -p -u -r1.220 configure.in --- configure.in 9 Jun 2004 08:32:34 -0000 1.220 +++ configure.in 17 Jun 2004 07:54:33 -0000 @@ -585,8 +585,13 @@ case "${target}" in *-*-cygwin*) target_configdirs="$target_configdirs target-libtermcap target-winsup" noconfigdirs="$noconfigdirs target-gperf target-libgloss ${libgcj}" - # always build newlib. - skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` + # always build newlib if winsup directory is present. + if test -d winsup + then + skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'` + else + echo "Warning: winsup is missing so newlib can't be built." + fi # Can't build gdb for Cygwin if not native. case "${host}" in -- Corinna Vinschen Cygwin Co-Project Leader Red Hat, Inc.