This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: reduce compilation times?


John Love-Jensen wrote:
> Hi mahmoodn,
> 
>> I mean (I think):
>> "Allow N jobs at once"   !=    "reduce compile time"
> 
> Reduces my project's overall compile time on my machine, by a factor of 4.
> 
Might do that on a quad core. A dual core with HyperThreading enabled
approaches a factor of 3.  OP wants magic without qualification as to
platform.
Selective optimizations also are important; use -O3 only where it is useful.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]