reduce compilation times?

Andrew Haley aph@redhat.com
Tue Nov 27 11:30:00 GMT 2007


mahmoodn writes:
 > 
 > "make -j" does not work. according to "make --help":
 > 
 > -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.
 > 
 > I don't think it is suitable for my work. I will move on to ccache. 

It works for me.  What's wrong with it?

 > But yet I did not find any tutorial.

http://ccache.samba.org/
 
Andrew.


 > Andrew Haley wrote:
 > > 
 > > mahmoodn writes:
 > >  > 
 > >  > Is it possible to reduce compilation time with GCC?
 > > 
 > > Yes.  distcc will help you, as will "make -j".  ccache is also useful.

-- 
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903



More information about the Gcc-help mailing list