How to speed up compilation with g++-3.0/Solaris?
Alexandre Oliva
aoliva@redhat.com
Wed Jun 20 17:17:00 GMT 2001
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
More information about the Gcc-help
mailing list