delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/03/27/23:42:02

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
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Mon, 27 Mar 2000 23:41:23 -0500
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: net release/installer status?
Message-ID: <20000327234123.A26568@cygnus.com>
Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com
Mail-Followup-To: cgf AT cygnus DOT com, cygwin-developers AT sourceware DOT cygnus DOT com
References: <38E01318 DOT 5EA4BD9 AT vinschen DOT de> <200003280434 DOT WAA18089 AT hp2 DOT xraylith DOT wisc DOT edu>
Mime-Version: 1.0
User-Agent: Mutt/1.1.8i
In-Reply-To: <200003280434.WAA18089@hp2.xraylith.wisc.edu>; from khan@NanoTech.Wisc.EDU on Mon, Mar 27, 2000 at 10:34:41PM -0600

On Mon, Mar 27, 2000 at 10:34:41PM -0600, Mumit Khan wrote:
>Corinna Vinschen <corinna AT vinschen DOT de> writes:
>>FYI: I finally could cross compile cygwin1.dll on my linux box.  Ah,
>>yes, it's not only compiled but it also runs under W2K.
>>
>>Nevertheless I have some trouble.  I have patched two Makefiles and I
>>had to configure twice in winsup.  Eventually I couldn't compile the
>>utils subdir because w32api/include isn't in the configured incude path
>>list.
>
>The problem may actually be quite simple -- we may be lacking -nostdinc
>-I<path_to_w32ap_include> in the Makefiles.  The -B<path_to_newlib>
>only handles the newlib includes, but the w32api headers are still
>coming from your installed tree.

There *is* a -I<path_to_w32ap_include> in winsup/Makefile.common:

INCLUDES:=-I. -I$(cygwin_source)/include -I$(cygwin_source) -I$(newlib_source)/libc/sys/cygwin -I$(newlib_source)/libc/include -I$(w
32api_include)

AFAICT, it is being set correctly.  I see a
-I/whatever/winsup/w32api/include in my CC lines when I compile.

Or is Corinna referring to the top-level utils directory?

>I remember running into this when I had an older version of w32api
>and gcc installed, and tried an one-tree build. I should dig it
>up and submit a patch for it.

I did submit a patch to include the various include directories when
building gcc:

LIBGCC2_INCLUDES = -I$(srcdir)/../winsup/include \
        -I$(srcdir)/../winsup/cygwin/include \
        -I$(srcdir)/../winsup/w32api/include

This is in the sourceware gcc.

I don't have your (Mumit) sources handy but I thought we'd already gone
through this exercise with your sources, too.

cgf

- Raw text -


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