From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27621 invoked by alias); 5 May 2005 06:48:04 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 27322 invoked from network); 5 May 2005 06:47:52 -0000 Received: from unknown (HELO rgminet02.oracle.com) (148.87.122.31) by sourceware.org with SMTP; 5 May 2005 06:47:52 -0000 Received: from rgminet02.oracle.com (localhost [127.0.0.1]) by rgminet02.oracle.com (Switch-3.1.6/Switch-3.1.7) with ESMTP id j456lkx3012757; Thu, 5 May 2005 00:47:46 -0600 Received: from rgmsgw300.us.oracle.com (rgmsgw300.us.oracle.com [138.1.186.49]) by rgminet02.oracle.com (Switch-3.1.6/Switch-3.1.7) with ESMTP id j456ljZQ012737; Thu, 5 May 2005 00:47:45 -0600 Received: from rgmsgw300.us.oracle.com (localhost [127.0.0.1]) by rgmsgw300.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j456ljlV009268; Thu, 5 May 2005 00:47:45 -0600 Received: from [152.69.153.118] (stemos53.idc.oracle.com [152.69.153.118]) by rgmsgw300.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j456lgKN009246 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Thu, 5 May 2005 00:47:44 -0600 Message-ID: <4279C184.6050909@gmail.com> Date: Thu, 05 May 2005 06:51:00 -0000 From: Ranjit Mathew User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: Per Bothner CC: GCC , GCJ 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> In-Reply-To: <427962FC.5000305@bothner.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2005-05/txt/msg00227.txt.bz2 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/