building on cygwin

Jim Holmlund james.holmlund at oracle.com
Fri Sep 28 09:17:19 PDT 2012


The new build didn't work on my cygwin PC.
My cygwin is old. Erik said he could build ok under cygwin.  Kelly said to try a new cygwin which I 
am loathe to do.

  I think I tracked the problem down to this code in IdlCompilation.gmk:
> # Now create the dependencies for each idl target.
> $$(foreach p,$$($1),$$(eval $$(call add_idl_package,$1,$$($1_SRC),$$($1_BIN),$$(patsubst 
> $$($1_BIN)/%.idl.d,$$($1_SRC)/%.idl,$$p),$$p,$$($1_DELETES),$$($1_OLDIMPLBASES),$$($1_IDLJ))))
Tracing code I added shows that this foreach never calls add_idl_pacakge.
BTW, what is a good way to debug/trace something like that $$(foreach...?

Here is my uname -a output:
    CYGWIN_NT-5.1 fff 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin

The make I am using is in /usr/bin, and make -v reports that it is
    GNU Make 3.82
    Built for i686-pc-cygwin

The make I am using on solaris is 3.81 and it works ok.  So, I tried a build on windows using 3.81 
and the above problem went away.

Thanks
- jjh




More information about the build-infra-dev mailing list