Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Corinna Vinschen <vinschen@redhat.com>
To: DJ Delorie <dj@redhat.com>
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
Date: Thu, 17 Jun 2004 07:57:00 -0000	[thread overview]
Message-ID: <20040617075653.GO1365@cygbert.vinschen.de> (raw)
In-Reply-To: <200406161919.i5GJJR6D023578@greed.delorie.com>

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  <vinschen@redhat.com>

	* 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.


  reply	other threads:[~2004-06-17  7:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-16 15:56 Corinna Vinschen
2004-06-16 16:23 ` jjohnstn
2004-06-16 16:52   ` Corinna Vinschen
2004-06-16 17:47     ` jjohnstn
2004-06-16 19:11       ` Alexandre Oliva
2004-06-16 19:19         ` DJ Delorie
2004-06-17  7:57           ` Corinna Vinschen [this message]
2004-06-17 19:55             ` DJ Delorie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040617075653.GO1365@cygbert.vinschen.de \
    --to=vinschen@redhat.com \
    --cc=aoliva@redhat.com \
    --cc=binutils@sources.redhat.com \
    --cc=dj@redhat.com \
    --cc=gcc-patches@gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    --cc=jjohnstn@redhat.com \
    --cc=newlib@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox