[ILUG] SMP compilation

John P . Looney valen at tuatha.org
Fri Sep 15 09:32:48 IST 2000


On Thu, Sep 14, 2000 at 10:23:18PM +0100, Kenn Humborg mentioned:
> On Thu, Sep 14, 2000 at 08:09:23PM +0100, Vincent Cunniffe wrote:
> > Is there any file or environment variable where you can set, for example, 
> > the -j parameter to be passed to make during compilation?
> Create ~/bin.  In your .bashrc, put this on your path ahead of all 
> other directories.
> 
> Then make a little ~/bin/make script:
> 
>    #!/bin/sh
>    /usr/bin/make -j 4 $*

 That's asking for a world of pain. I've seen it mess up dependancies in
broken makefiles that'll leave you with zero lenght .o files that are
happily linked into a library...now with out those functions!

Kate

-- 
The words of the unwary are apt to cause needless pain and bloody violence.
                                                        - Zen Master Greg




More information about the ILUG mailing list