LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] SMP compilation

[ILUG] SMP compilation

Kenn Humborg kenn at linux.ie
Thu Sep 14 22:23:50 IST 2000


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?
> 
> I have a dual-CPU Celeron machine, and it would be very nice to have a 
> setting which would automatically take advantage of this by passing
> something like -j4 to make for every single invocation.

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 $*

Later,
Kenn






More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell