net release/installer status?

Corinna Vinschen corinna@vinschen.de
Tue Mar 28 14:30:00 GMT 2000


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
--- /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 = ` \
     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/$(TARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup -idirafter $$r/$(TARGET_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/$(TARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/winsup/cygwin/include -idirafter $$s/winsup/w32api/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/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
@@ -256,7 +256,7 @@ CXX_FOR_TARGET = ` \
     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/$(TARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup -idirafter $$r/$(TARGET_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/$(TARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/winsup/cygwin/include -idirafter $$s/winsup/w32api/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/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
--- /home/corinna/src/gcc-2.95.2/gcc/config/i386/t-cygwin	Fri Nov  5 02:09:55 1999
+++ gcc/config/i386/t-cygwin	Tue Mar 28 22:44:54 2000
@@ -10,7 +10,8 @@ LIMITS_H_TEST = 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 = -I$(srcdir)/../winsup/include
+LIBGCC2_INCLUDES = -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/i386/winnt.c
--- /home/corinna/src/cygwin/winsup/cygwin/Makefile.in	Sat Feb 26 18:43:27 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
 
 #
 
--- /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 = @DLLWRAP@
 DLLWRAP_FOR_TARGET = $(DLLWRAP)
 DLLWRAP_FLAGS = --dlltool $(DLLTOOL) --as $(AS) --driver-name $(CC)
 
-SUBDIRS := @SUBDIRS@
+SUBDIRS := @SUBDIRS@ dummy
 
 FLAGS_TO_PASS:=\
 	AS="$(AS)" \


More information about the Cygwin-developers mailing list