How to use Parallel Compilation -j using sun make?
807575Sep 10 2008 — edited Sep 12 2008Hello,
My c++ project have lots of cpp files and it takes around 5 - 5.5 hours to build the application which is definitely a lot of time. Little bit of googling landed me to the following sun link to reduce the build time.
http://developers.sun.com/solaris/articles/parallel_make.html
By using parallel make option of -j as it should reduce the build time considerably as i was using Solaris 9 on Sparc Sun-Fire-V440 which is having 4 CPU.
But on invoking make with a -j option i.e "make all -j 4" I get the following error :
make: Warning: Ignoring DistributedMake -j option
I even tried to use gcc make instead of sun(/usr/ccs/bin/make) make but none of them is actually helping me to reduce my build time.
Can some please guide me how should i go ahead withe usage of -j option on solaris.