This is the mail archive of the cygwin-developers@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: net release/installer status?


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

- 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.

- 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

  I'll check this three problems again by another build from scratch
  right now.

Corinna

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]