This is the mail archive of the gcc@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: Larger Compilations / Speed


> Wouldn't it
> be conceivable to have gcc being load into to background and waked up
> again and again for new compilations ? For collections of small source
> 
> files,
> this would prbably result in a remendous speed-up. 

Even without the compile server and certainly with smaller benefits,
have you tried to lock up gcc executables into memory (using chmod -t 
on all executables and librairies).

IIRC this keeps the text of the executables and librairies into 
memory and allows from faster starting up of frequently used programs.
This was deemed to be used eg for the dynamic system libraries.

That being said, I never tried it...
 
--------------------------------------------------------------------
Theodore Papadopoulo
Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01
 --------------------------------------------------------------------



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