parallel make, do we have a FAQ ?

Andreas Tobler toa@pop.agri.ch
Thu Feb 27 22:27:00 GMT 2003


DJ Delorie wrote:
>>Do we have a FAQ where parallel make is explained? When does it work? 
>>Only when building libraries?
> 
> 
> I regularly do "make -j2" from the top.  I don't see why a FAQ is
> needed; it just works (at least with GNU make).  Are you using GNU
> make?
> 
[enterprise:~/objdir] andreas% which make
make:    aliased to /usr/local/bin/make

[enterprise:~/] andreas% make -v
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

Ah, I see, I have another make from /usr/ccs/bin. Renamed it and now I 
rocks!!

CPU states:  0.9% idle, 96.4% user,  2.1% kernel,  0.6% iowait,  0.0% swap

Thanks

Andreas




More information about the Gcc mailing list