Re: Using a compiler other than that configured at system level in an ebuild
Joshua Nichols <[email protected]>
| Newsgroups | gmane.linux.gentoo.java |
|---|---|
| Message-ID | <[email protected]> |
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 -- [email protected] mailing list