This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How to speed up compilation with g++-3.0/Solaris?
- To: Gerhard Franke <Gerhard dot Franke at mni dot fh-giessen dot de>
- Subject: Re: How to speed up compilation with g++-3.0/Solaris?
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 20 Jun 2001 21:17:25 -0300
- Cc: gcc-help at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <20010620152613.A21281@saturn.mni.fh-giessen.de>
On Jun 20, 2001, Gerhard Franke <Gerhard.Franke@mni.fh-giessen.de> wrote:
> Compilation of C++-programs is inacceptable slow
> with gcc-3.0.
Compare the headers, and note that GCC 3.0's C++ I/O library is fully
templatized, as demanded by the C++ Standard, whereas GCC 2.95's was
not. That's the cause of the slow-down, which is unfortunate, but
probably won't be fixed without pre-compiled headers or exported
templates. Oh, you may try -fno-implicit-templates; that might help.
> --with-included-gettext --enable-languages=c++,f77 --with-cpu=ultrasparc
Note that cpu=ultrasparc is not fully supported in GCC 3.0.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me