Re: reduce compilation times?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>Like I said, this works for me, and for many others too.

I have single core, P4. So I think -j does not make any sense. Is it right?

I use a library for my code which has lots of templates and header files.
Thats why I need to reduce compile time.

I do not know what information you need, but I am ready to provide what you
want. I use gcc 3.3

Thanks,



Andrew Haley wrote:
> 
> mahmoodn writes:
>  > 
>  > I mean (I think):
>  > "Allow N jobs at once"   !=    "reduce compile time"     
> 
> Like I said, this works for me, and for many others too.
> 
>  > I did this to see the effect of "make -j":
>  > 
>  > ]# rm *.o
>  > ]# make
>  > ....( 10 minute )
>  > 
>  > then I edit one of my files (only one statement), and then:
>  > ]# make -j
>  > ...( still 10 minute )
> 
> Perhaps you should have explained your problem better.  There's
> nothing we can do to make a single compilation of a single file go
> faster.  However, that's not the usual problem.
> 
> I wonder why your compilation is taking so long.  It might be a bug in
> gcc.  Perhaps we could look at a test case.
> 
> Andrew.
> 
> -- 
> Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor,
> Berkshire, SL4 1TE, UK
> Registered in England and Wales No. 3798903
> 
> 

-- 
View this message in context: http://www.nabble.com/reduce-compilation-times--tf4880765.html#a13987559
Sent from the gcc - Help mailing list archive at Nabble.com.


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux