This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcc+gcj build-times?
On Feb 22, 2006, Andrew Haley <aph@redhat.com> wrote:
> Yes, I remember that. If you have a look at the build when it's
> swapping, please let us know exactly what is running at that time.
It is ld creating libgcj.so. I remember running full bootstraps of
GCC was the reason why I got my Athlon64 notebook upgraded from 512MB
to 2G of RAM (well over the alleged maximum of 1280MB specified in the
manual :-) about half a year ago, as soon as the 1-year warranty
expired. Getting to the end-user-inaccessible memory module can
really do wonders :-)
Breaking up the single huge library into multiple smaller ones would
probably reduce the link-time memory requrements, but that would be
trading build time for run time. I'm not sure it's worth it by
default, but we could try to introduce some configure-time switches to
disable the one-huge-library model. It might be a bit of a pain to
maintain that though.
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Secretary for FSF Latin America http://www.fsfla.org/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}