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]

Re: How to speed up compilation with g++-3.0/Solaris?


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


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