From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Kg554-00028l-Lx for garchives@archives.gentoo.org; Wed, 17 Sep 2008 22:01:02 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 32960E062A; Wed, 17 Sep 2008 22:01:02 +0000 (UTC) Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.247]) by pigeon.gentoo.org (Postfix) with ESMTP id E366DE062A for ; Wed, 17 Sep 2008 22:01:01 +0000 (UTC) Received: by rv-out-0708.google.com with SMTP id b17so3429511rvf.46 for ; Wed, 17 Sep 2008 15:01:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=CHAFAEI8P96D0W7anmTaeAVRW8SJ21JU0FPCb8b5GzU=; b=SbQzaD7dpHKo6xxnl3qxNFaNXfDc8OeLzb6PJu6GMClnLgy+ofVbN4WfrVe0A9KLrk c3FTKdg/lvjSYVACAL/okHsJG7ZZEGFDrxfGaNRg2MQx1AByL/DXhnWXnKdXG6+Y8hTe SaAriwla2gPxrDU4Bw0TYBvBKQNNitYDfPP1I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=sclrzVxDL1Jv/8Q5tXlO5oens3uXJcwvIhc9Y8aZqiYEvPHaHnZ6PPGlTKxYVE+sn1 WXpPGqMQUeaOCmwF4JqI5xpnXUdc1v2h8iXWPkhkPtlBlTQ8zuoBJ5gcbmrGn8iS2SYM YLIt7QeC6KdMhCp0jobyZLQ/j4g1TloMhuTKY= Received: by 10.141.156.11 with SMTP id i11mr6910558rvo.1.1221688860895; Wed, 17 Sep 2008 15:01:00 -0700 (PDT) Received: by 10.140.136.14 with HTTP; Wed, 17 Sep 2008 15:01:00 -0700 (PDT) Message-ID: <17c6771e0809171501l78109c61s567f2da7e07273f1@mail.gmail.com> Date: Wed, 17 Sep 2008 23:01:00 +0100 From: "Andrew John Hughes" Sender: gnu.andrew.rocks@gmail.com To: "Alon Bar-Lev" Subject: Re: [gentoo-java] icedtea6 bootstrap Cc: "Andrew Cowie" , gentoo-java@lists.gentoo.org In-Reply-To: <9e0cf0bf0809171119r215edc53mf741320f6ac39051@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <9e0cf0bf0809140538v70975cd1la9582c6e7ab2f0f3@mail.gmail.com> <20080914203857.GA17566@rivendell.middle-earth.co.uk> <9e0cf0bf0809142112w70b06774l539cbce4940d30cc@mail.gmail.com> <9e0cf0bf0809142208g2140ffc4kc205e0e069e58884@mail.gmail.com> <1221608649.623.9.camel@moonglow.roaming.operationaldynamics.com> <17c6771e0809171040t758d6293of21f518b32265d9d@mail.gmail.com> <9e0cf0bf0809171119r215edc53mf741320f6ac39051@mail.gmail.com> X-Google-Sender-Auth: c1e45dec9c815b33 X-Archives-Salt: 35309f39-85af-4a95-a2e2-22f168950090 X-Archives-Hash: 54eeeba7fbd54067412b5573712ebf85 2008/9/17 Alon Bar-Lev : > On 9/17/08, Andrew John Hughes wrote: >> First of all, there is no need to go to such lengths removing gcj afterwards. >> It's not going to hurt to leave it on. > > It takes a lot of resources (disk, time rebuilding, unused components). > So there is a reason to keep system as small as possible. > Err.. time rebuilding is part of the reason _not_ to remove it. Applications like ecj benefit from being natively compiled by gcj in my experience. There is a gcj USE flag in Gentoo for this purpose. You're probably talking about ~150mb vs. a long re-build time. I'd take the 150mb and potential future use, especially with today's hard disc sizes. gcc still takes a while to build even on new machines. >> Also, the build depends on jdk >= 1.5 already, so CACAO or JamVM would >> do the job fine. But you'd have similar bootstrap issues, because these >> require GNU Classpath and that requires ecj, etc. > > So gcj is the best alternative. But what happens if gcc stops > providing this in favor of OpenJDK? > Not likely anytime in the near future. >> Building a Java environment can be a nightmare to be honest :) >> I guess the only non-GCJ way would be to use Jikes, then an older Classpath >> to get ecj working, then build the new ones. > > I guess I am asking that icedtea6 does not have such boostrap in package... That's pretty much impossible, unless you plan to write a compiler that can cope with 1.5 bytecode in either C or C++, and then alter the OpenJDK build system to use it :) Basically you need to be able to build the OpenJDK langtools (written in Java with 1.5 constructs), then run them (which needs a 1.5-capable Java VM). Or some equivalent. > If it does not provide this, users should have a simple way to > bootstrap it in Gentoo... Providing a simple script is sufficient. > Then feel free to write one as I said. > Thanks, > Alon. > -- Andrew :-) Support Free Java! Contribute to GNU Classpath and the OpenJDK http://www.gnu.org/software/classpath http://openjdk.java.net PGP Key: 94EFD9D8 (http://subkeys.pgp.net) Fingerprint: F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8