This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 4.1: Buildable on GHz machines only?
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: GCC <gcc at gcc dot gnu dot org>, GCJ <java at gcc dot gnu dot org>
- Date: Thu, 05 May 2005 12:17:32 +0530
- Subject: Re: GCC 4.1: Buildable on GHz machines only?
- References: <426EFE00.3060903@3am-software.com> <20050427025707.GA20956@nevyn.them.org> <20050427053042.GA1317@redhat.com> <426F2611.7060801@3am-software.com> <426FD0DC.50601@codesourcery.com> <427962FC.5000305@bothner.com>
Per Bothner wrote:
> Mark Mitchell wrote:
>
>>Building libjava takes forever on any platform, relative to the rest of
>>the compiler build.
[...]
> One way to speed up libcgj compilation by quite a bit would be to
> compile more than one .java file at a time. For example:
> gcj -c java/util/*.java -o java-util.o
> This reduces libtool overhead, reduces the duplication in reading
> dependencies, and probably reduces link overheads. It can also
> produce better code, since intermodule references get trurned into
> intramodule references. This just requires Makefile-hacking.
[...]
> Ideally, there'd be a configure flag to control "chunking".
Note that libgcj already supports an "--enable-libgcj-multifile"
configuration option that coarsely attempts to do the above.
See:
http://gcc.gnu.org/ml/java-patches/2003-q3/msg00658.html
Ranjit.
--
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.hostingzero.com/