From: Joshua Nichols <nichoj@gentoo.org>
To: Andrew Cowie <andrew@operationaldynamics.com>
Cc: gentoo-java <gentoo-java@lists.gentoo.org>
Subject: Re: [gentoo-java] Using a compiler other than that configured at system level in an ebuild
Date: Thu, 29 Nov 2007 10:22:30 -0500 [thread overview]
Message-ID: <474ED936.2000208@gentoo.org> (raw)
In-Reply-To: <1196172021.14066.1.camel@moonglow.roaming.operationaldynamics.com>
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 <compiler goes here>
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="<compiler executable goes here>" 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
prev parent reply other threads:[~2007-11-29 15:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-27 14:00 [gentoo-java] Using a compiler other than that configured at system level in an ebuild Andrew Cowie
2007-11-27 14:39 ` Petteri Räty
2007-11-29 8:22 ` Andrew Cowie
2007-11-29 21:11 ` Petteri Räty
2007-11-29 15:22 ` Joshua Nichols [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=474ED936.2000208@gentoo.org \
--to=nichoj@gentoo.org \
--cc=andrew@operationaldynamics.com \
--cc=gentoo-java@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox