Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 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 in the Makefiles. The -B >only handles the newlib includes, but the w32api headers are still >coming from your installed tree. There *is* a -I 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