This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 1.7.34-005


Hi Denis,

On Jan 28 11:20, Denis Excoffier wrote:
> On 2015-01-24 17:45, Denis Excoffier wrote:
> 2) why is the build of cygserver impacted by something that takes
>    place at the root directory (see "Trying implicit prerequisite '/version.cc'." in
>    https://cygwin.com/ml/cygwin/2015-01/msg00294.html)?
> 
> For item 2: Bingo! Perhaps unexpectedly, $(cygwin_source) is unknown within cygwin sources...
> Please apply the following:
> 
> diff -uNr cygwin-snapshot-20150122-1.vanilla/winsup/cygserver/Makefile.in cygwin-snapshot-20150122-1.patched/winsup/cygserver/Makefile.in
> --- cygwin-snapshot-20150122-1.vanilla/winsup/cygserver/Makefile.in	2014-07-24 15:21:47.000000000 +0200
> +++ cygwin-snapshot-20150122-1.patched/winsup/cygserver/Makefile.in	2015-01-28 10:36:17.000000000 +0100
> @@ -73,10 +73,10 @@
>  cygserver.exe: $(CYGWIN_LIB) $(OBJS) $(CYGWIN_OBJS)
>  	$(CXX) -o $@ ${wordlist 2,999,$^} -static -static-libgcc -B$(cygwin_build) -lntdll
>  
> -$(cygwin_build)/%.o: $(cygwin_source)/%.cc
> +$(cygwin_build)/%.o: $(cygwin_build)/%.cc
>  	@$(MAKE) -C $(@D) $(@F)

These rules are a bit problematic.  They requires that the cc files
exist in the build dir.  I tweaked the build mechanism in the Cygwin
dir creating version.o so that the deps always work, and I simplified
the above ruleset to a single rule just requesting the object files.

I just created a new developer snapshot which picks up this change.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpINVskrGkBn.pgp
Description: PGP signature


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