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 Message-ID: <38E1325E.2CA8058F@vinschen.de> Date: Wed, 29 Mar 2000 00:29:50 +0200 From: Corinna Vinschen 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> <38E11B75 DOT 628299A AT vinschen DOT de> Content-Type: multipart/mixed; boundary="------------51EB01050A7D56CAE23A394F" This is a multi-part message in MIME format. --------------51EB01050A7D56CAE23A394F Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Corinna Vinschen wrote: > [...] > - 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 No, sorry. I have meant -idirafter $$s/winsup/cygwin/include \ -idirafter $$s/winsup/w32api/include Ok, I'm completely thru the cross build process with the four changes attached as patch file relative to the top level dir. Corinna --------------51EB01050A7D56CAE23A394F Content-Type: text/plain; charset=iso-8859-1; name="cross-build.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline; filename="cross-build.patch" --- /home/corinna/src/cygwin/Makefile.in Sun Feb 20 09:56:35 2000 +++ Makefile.in Tue Mar 28 23:22:13 2000 @@ -217,7 +217,7 @@ CC_FOR_TARGET =3D ` \ if [ -f $$r/$(TARGET_SUBDIR)/newlib/Makefile ] ; then \ case "$(target_canonical)" in \ i[3456]86-*-cygwin*) \ - echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/ -B$$r/$(T= ARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup -idirafter $$r/$(TARG= ET_SUBDIR)/newlib/targ-include -idirafter $$s/winsup/include -idirafter $= $s/newlib/libc/include -idirafter $$s/newlib/libc/sys/cygwin -idirafter $= $s/newlib/libc/sys/cygwin32 -nostdinc; \ + echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/ -B$$r/$(T= ARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -idirafter= $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/winsup/cygwin/in= clude -idirafter $$s/winsup/w32api/include -idirafter $$s/newlib/libc/inc= lude -idirafter $$s/newlib/libc/sys/cygwin -idirafter $$s/newlib/libc/sys= /cygwin32 -nostdinc; \ ;; \ *) \ echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/ -idirafte= r $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/inc= lude -nostdinc; \ @@ -256,7 +256,7 @@ CXX_FOR_TARGET =3D ` \ if [ -f $$r/$(TARGET_SUBDIR)/newlib/Makefile ] ; then \ case "$(target_canonical)" in \ i[3456]86-*-cygwin*) \ - echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/ -B$$r/$(T= ARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup -idirafter $$r/$(TARG= ET_SUBDIR)/newlib/targ-include -idirafter $$s/winsup/include -idirafter $= $s/newlib/libc/include -idirafter $$s/newlib/libc/sys/cygwin -idirafter $= $s/newlib/libc/sys/cygwin32 -nostdinc; \ + echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/ -B$$r/$(T= ARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -idirafter= $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/winsup/cygwin/in= clude -idirafter $$s/winsup/w32api/include -idirafter $$s/newlib/libc/inc= lude -idirafter $$s/newlib/libc/sys/cygwin -idirafter $$s/newlib/libc/sys= /cygwin32 -nostdinc; \ ;; \ *) \ echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/ -idirafte= r $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/inc= lude -nostdinc; \ --- /home/corinna/src/gcc-2.95.2/gcc/config/i386/t-cygwin Fri Nov 5 02:0= 9:55 1999 +++ gcc/config/i386/t-cygwin Tue Mar 28 22:44:54 2000 @@ -10,7 +10,8 @@ LIMITS_H_TEST =3D true # If we are building next to winsup, this will let us find the real # limits.h when building libgcc2. Otherwise, winsup must be installed # first. -LIBGCC2_INCLUDES =3D -I$(srcdir)/../winsup/include +LIBGCC2_INCLUDES =3D -I$(srcdir)/../winsup/cygwin/include \ + -I$(srcdir)/../winsup/w32api/include = winnt.o: $(srcdir)/config/i386/winnt.c $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/i38= 6/winnt.c --- /home/corinna/src/cygwin/winsup/cygwin/Makefile.in Sat Feb 26 18:43:2= 7 2000 +++ winsup/cygwin/Makefile.in Tue Mar 28 23:52:41 2000 @@ -195,7 +195,7 @@ winver_stamp: mkvers.sh include/cygwin/v = cygrun.exe : $(srcdir)/cygrun.c $(DLL_IMPORTS) $(w32api_lib)/libuser32.a= \ $(w32api_lib)/libshell32.a - $(CC) -o $@ -L$(w32api_lib) $(srcdir)/cygrun.c + $(COMPILE_CC) -o $@ -L$(w32api_lib) $(srcdir)/cygrun.c = #=0C = --- /home/corinna/src/cygwin/winsup/mingw/Makefile.in Thu Feb 17 20:38:31= 2000 +++ winsup/mingw/Makefile.in Tue Mar 28 22:50:14 2000 @@ -85,7 +85,7 @@ DLLWRAP =3D @DLLWRAP@ DLLWRAP_FOR_TARGET =3D $(DLLWRAP) DLLWRAP_FLAGS =3D --dlltool $(DLLTOOL) --as $(AS) --driver-name $(CC) = -SUBDIRS :=3D @SUBDIRS@ +SUBDIRS :=3D @SUBDIRS@ dummy = FLAGS_TO_PASS:=3D\ AS=3D"$(AS)" \ --------------51EB01050A7D56CAE23A394F--