On Thu, Aug 23, 2012 at 5:53 PM, niXman <i.nixman@gmail.com> wrote:
2012/8/23 Eran Ifrah:
>
> Hello,
>
> It seems that mingw32-make only partially supports the $(MAKE) variable
>
> For example, if I want to run make with multiple jobs (-jN) from within a
> makefile, I usually write something like this:
>
> subdir:
>     cd subdir && $(MAKE) -f Makefile.mk
>
> Now if I execute the makefile from the command line under Linux like this:
>
> make -j4 -f Makefile.mk
>
> $(MAKE) will contain "make -j4"
>
> While under Windows / CMD.EXE - *no* MSYS,
>
> it seems that $(MAKE) is forcing "-j 1"
>
> I tried overriding this behavior using MAKEFLAGS and also setting
> MAKEOVERRIDES =
> as described here:
> http://www.gnu.org/software/make/manual/html_node/Options_002fRecursion.html
>
> with no luck...
>
>  I can force it by changing the "subdir" target in the makefile to something
> like:
>
> subdir:
>     cd subdir && mingw32-make -j4 -f Makefile.mk
>
> and it will work.
>
> However, I prefer not doing this.
>
> What am I am missing here?
>
> My make version is 3.82, installed with mingw-get (great tool btw)

Hi,

make is build without job server support.
In my builds make is builded with job server support.



Thanks, your build of make 3.82.90 - did the trick

Is there a chance to get jobserver support in the official mingw builds?
 
--
Regards,
niXman
___________________________________________________
Dual-target(32 & 64 bit) MinGW compilers for 32 and 64 bit Windows:
http://sourceforge.net/projects/mingwbuilds/

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@lists.sourceforge.net?subject=unsubscribe



--
Eran Ifrah
Author of codelite, a cross platform open source C/C++ IDE: http://www.codelite.org