GCC 3.4.0 on Solaris 2.6 - two days to compile!!

Robert Zeh rzeh@efs-us.com
Mon May 3 12:56:00 GMT 2004


Nick Thurn wrote:

>Folks,
>
>Compiling the std C++ lib included with gcc has been getting slower and slower with each release.
>However the latest bundle takes the cake! The latest bundled release of the library took over a
>day and a half to configure/compile. Most of the time appeared to be in scripts searching for
>various functions and headers.
>
>Is this a gcc, a sparc, a solaris 2.6, or a std lib issue?  Is there a fix ?
>
>Note the compile was on a large multiprocessor server not an underpowered workstation.
>
>  
>
Make sure that /tmp (or where ever the temporary files are stored) is 
mounted as a tmpfs partition.  Mounting /tmp as a tmpfs partition made 
the gcc 3.4.0 build about 10 times faster for us.

Robert Zeh



More information about the Libstdc++ mailing list