delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/03/28/15:54:53

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
Message-ID: <38E11B75.628299A@vinschen.de>
Date: Tue, 28 Mar 2000 22:52:05 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.13 i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: net release/installer status?
References: <38E01318 DOT 5EA4BD9 AT vinschen DOT de> <200003280434 DOT WAA18089 AT hp2 DOT xraylith DOT wisc DOT edu> <20000327234123 DOT A26568 AT cygnus DOT com> <38E0DB8E DOT 4FF8B722 AT vinschen DOT de>

Corinna Vinschen wrote:
> In winsup/cygwin/Makefile.in:
> 
> === SNIP ===
> cygrun.exe : $(srcdir)/cygrun.c $(DLL_IMPORTS) $(w32api_lib)/libuser32.a
> \
>              $(w32api_lib)/libshell32.a
>         $(CC) -o $@ -L$(w32api_lib) $(srcdir)/cygrun.c
> === SNAP ===
> 
> I have substituted $(CC) by $(COMPILE_CC) and it works fine.
> 
> Just now a new build from scratch is running on my linux box
> where I have changed all of the above details. Let's see...

Ok, I'm thru with the exception of strace.exe. I had three
remaining problems:

- in mingw it wasn't possible to link the dll.
  Reason:
  The top level Makefile.in contains

    -L$$r/$(TARGET_SUBDIR)/winsup

 in CC_FOR_TARGET and CXX_FOR_TARGET which is wrong. It should be

    -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib

- in the mingw Makefile SUBDIRS computes to an empty list which results
  in a syntax error in the "subdirs:" rule. I have temporary solved it
  by adding a "dummy" entry.

- When trying to compile winsup/utils/strace.exe the include path
  to winsup/w32api/include is missing. This may be a result of another
  problem in the top level Makefile.in. CC_FOR_TARGET and CXX_FOR_TARGET
  are containing

    -idirafter $$s/winsup/include

  Correct would be (IMHO)

    -idirafter $$s/winsup/w32api/include

  I'll check this three problems again by another build from scratch
  right now.

Corinna

- Raw text -


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