On 2011-01-29 10:33, Eli Zaretskii wrote:
From: Oleksandr Gavenko<[email protected]>
Date: Sat, 29 Jan 2011 00:22:49 +0200

Cygwin make does not support jobserver.

Really?  That's strange.  Jobserver needs very basic Posix features,
which AFAIK Cygwin supports for a long time: signals and pipes.  Are
you sure you are using a sufficiently new Cygwin port of Make?  What
does "make --version" say?

If all else fails, try asking on the Cygwin mailing list.  If they
tell you jobserver isn't supported, then it really isn't.  But I'd be
surprised.
Sorry I am wrong. When I call make for Makefile with 'make -f ...'
it print warning:

  $ LANG=C make -j 4 dist
if [ ! '' == 'dist' ]; then make -f Makefile.ru dist; fi
make[1]: Entering directory `/cygdrive/e/home/devel/job/iCrypto-hg/core'
make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
....

But I change my Makefile to use '$(MAKE) -f ...' and warning go away
and CPU load increase to 100% instead <50% for 2 cores.

I need start from simple Makefile to see that all OK and I am wrong:

  $ cat Makefile
$(error $(.FEATURES))
  $ make
Makefile:1: *** target-specific order-only second-expansion else-if archives jobserver check-symlink. Останов.

If I cearfully read manual I can found:

  Recursive `make' commands should always use the variable `MAKE',
  not the explicit command name `make'

--
Best regards!


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to