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: Tue, 28 Mar 2000 17:41:22 -0500 To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: Re: net release/installer status? Message-ID: <20000328174122.A29443@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> <20000327234123 DOT A26568 AT cygnus DOT com> <38E0DB8E DOT 4FF8B722 AT vinschen DOT de> <38E11B75 DOT 628299A AT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.8i In-Reply-To: <38E11B75.628299A@vinschen.de>; from corinna@vinschen.de on Tue, Mar 28, 2000 at 10:52:05PM +0200 On Tue, Mar 28, 2000 at 10:52:05PM +0200, Corinna Vinschen wrote: >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 This needs to be there in case somebody has an older winsup directory. I guess this needs to be added there. If this works, would you check it into sourceware? Also, can we simplify the DLL creation now using the newer linker? >- 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. I don't see a syntax error. It seems to be legal to have: for f ; in stuff; do I don't know why you're seeing an error. Is the above command an error on your system? >- 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 Why is this? My Makefile.in has these lines: MINGW_INCLUDES:=-I$(mingw_source)/include -I$(cygwin_source)/include -I$(w32api_include) MINGW_CXXFLAGS:=$(CXXFLAGS) -mno-cygwin $(MINGW_INCLUDES) MINGW_CFLAGS:=$(CFLAGS) -mno-cygwin $(MINGW_INCLUDES) strace is built using this command: $(CC) $(MINGW_CXXFLAGS) -o $@ ${wordlist 1,2,$^} -B$(mingw_build)/ $(MINGW_LDFLAGS) So, unless MINGW_INCLUDES is being overridden, I don't see why the w32api/include directory is being excluded. cgf