From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IxlEm-0003b2-SU for garchives@archives.gentoo.org; Thu, 29 Nov 2007 15:23:37 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lATFMWo2002552; Thu, 29 Nov 2007 15:22:32 GMT Received: from lysine.broad.mit.edu (lysine.broad.mit.edu [18.103.8.101]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lATFMWLu002527 for ; Thu, 29 Nov 2007 15:22:32 GMT Received: from localhost (glycine.broad.mit.edu [18.103.8.221]) by lysine.broad.mit.edu (Postfix) with ESMTP id AC707185B0; Thu, 29 Nov 2007 10:22:31 -0500 (EST) X-Virus-Scanned: amavisd-new at broad.mit.edu Received: from lysine.broad.mit.edu ([18.103.8.101]) by localhost (glycine.broad.mit.edu [18.103.8.221]) (amavisd-new, port 10024) with LMTP id o4J6tLA-US1t; Thu, 29 Nov 2007 10:22:31 -0500 (EST) Received: from [18.103.18.174] (gp4bf-918.broad.mit.edu [18.103.18.174]) by lysine.broad.mit.edu (Postfix) with ESMTP id 21A9F185AD; Thu, 29 Nov 2007 10:22:31 -0500 (EST) Message-ID: <474ED936.2000208@gentoo.org> Date: Thu, 29 Nov 2007 10:22:30 -0500 From: Joshua Nichols User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 To: Andrew Cowie CC: gentoo-java Subject: Re: [gentoo-java] Using a compiler other than that configured at system level in an ebuild References: <1196172021.14066.1.camel@moonglow.roaming.operationaldynamics.com> In-Reply-To: <1196172021.14066.1.camel@moonglow.roaming.operationaldynamics.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 95dac8df-0ca5-4bfb-a9e2-3632d0b9cffa X-Archives-Hash: ea478778dc57b83b3e36fc21f50699e3 Andrew Cowie wrote: > I've been trying to bump the gnu-classpath ebuild to 0.96.1, but I'm > running into some problems. Part of the issue may be building it with > Sun javac. Is it possible to force an ebuild to use a non-system (or, if > you will, non-default) compiler? > > AfC > Sydney > > In src_compile, you can use: java-pkg_force-compiler Although, I think this would only affect ant builds. To affect make based stuff, it depends on how it is determining javac to use. * It might be using a JAVAC variable. Setting JAVAC="" should solve it. * It might just be calling javac, and just using whatever is found on the path. I'm not sure if we have a reasonable way of addressing this particular case. -- Joshua Nichols Gentoo/Ruby Developer Gentoo/Java Developer http://technicalpickles.com -- gentoo-java@gentoo.org mailing list