delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/01/07/20:07:34

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Date: Fri, 7 Jan 2000 20:09:33 -0500
From: Chris Faylor <cgf AT cygnus DOT com>
To: Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU>
Cc: Corinna Vinschen <corinna AT vinschen DOT de>,
cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: winsup reorg completed
Message-ID: <20000107200933.A26185@cygnus.com>
Mail-Followup-To: Mumit Khan <khan AT NanoTech DOT Wisc DOT EDU>,
Corinna Vinschen <corinna AT vinschen DOT de>,
cygwin-developers AT sourceware DOT cygnus DOT com
References: <20000107194512 DOT B26068 AT cygnus DOT com> <200001080102 DOT TAA06814 AT hp2 DOT xraylith DOT wisc DOT edu>
Mime-Version: 1.0
X-Mailer: Mutt 1.0i
In-Reply-To: <200001080102.TAA06814@hp2.xraylith.wisc.edu>; from khan@NanoTech.Wisc.EDU on Fri, Jan 07, 2000 at 07:02:25PM -0600

On Fri, Jan 07, 2000 at 07:02:25PM -0600, Mumit Khan wrote:
>Chris Faylor <cgf AT cygnus DOT com> writes:
>> 
>> I don't know why this is happening.  I assume that you're compiling
>> in the same directory as the source?
>
>I'll look at it after dinner tonight, unless someone figures it out
>before that.

I figured it out.  It's my usual compulsive need not to see
"/foo/../../bar" in directory paths.  Patch below.

>> >The real problem: I can't link anymore.
>> 
>> You need a newer linker.  The one from the CD should work but probably
>> Mumit's version is better.
>
>Ah, thanks for the reminder. Corinna, I'll upload my current binutils
>tree later this evening (source + binaries) that's based on 1999-09-11 
>CVS + patches. I'll send a note when it's done. 

Thanks, Mumit.

cgf

Index: Makefile.common
===================================================================
RCS file: /cvs/cvsfiles/devo/winsup/Makefile.common,v
retrieving revision 1.3
diff -u -r1.3 Makefile.common
--- Makefile.common	2000/01/07 04:30:52	1.3
+++ Makefile.common	2000/01/08 01:08:34
@@ -16,28 +16,30 @@
 MALLOC_DEBUG:=#-DMALLOC_DEBUG -I/gotham/src/comp-tools/winsup/dlmalloc
 MALLOC_OBJ:=#/gotham/src/comp-tools/winsup/dlmalloc/malloc.o
 
-ifneq (,${findstring /,$(srcdir)})
-    updir:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(srcdir)):::}}
-else
+ifeq (,${findstring /,$(srcdir)})
     updir:=$(srcdir)/..
-endif
-
+    updir1:=$(updir)/..
+else
+    updir:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(srcdir)):::}}
 ifneq (,${findstring /,$(updir)})
     updir1:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(updir)):::}}
 else
     updir1:=$(updir)/..
 endif
+endif
+
 
 pwd:=${shell pwd}
-ifneq (,${findstring /,$(pwd)})
-    bupdir:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(pwd)):::}}
+ifeq (,${findstring /,$(pwd)})
+    bupdir:=..
+    bupdir1:=../..
 else
-    bupdir:=$(pwd)/..
-endif
+    bupdir:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(pwd)):::}}
 ifneq (,${findstring /,$(bupdir)})
     bupdir1:=${patsubst %:::,%,${patsubst %/:::,%,$(dir $(bupdir)):::}}
 else
     bupdir1:=$(bupdir)/..
+endif
 endif
 
 w32api_source:=$(updir)/w32api

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019