Ability to override compiler from environment
mark at klomp.org
Fri Jun 27 03:38:05 PDT 2008
On Thu, 2008-06-26 at 16:54 +0200, Thorbjørn Ravn Andersen wrote:
> Mark Wielaard skrev den 26-06-2008 08:31:
> >> The script first looks for an awk and finds /usr/bin/nawk, and then
> >> explicitly later looks for gawk. export GAWK=/usr/bin/nawk got me over
> >> that test.
> > It explicitly tests for gawk since that is what the build says it
> > requires.
> Good reason!
> > dnl OpenJDK's README-builds.html lists gawk as a build dependency so we
> > dnl check for it explicitly rather than using AC_PROG_AWK.
> > FIND_TOOL([GAWK], [gawk])
> >> It requires both an ecj.jar and a libgcj.jar. Are both necessary?
> > Yes, one is a compiler and one is a core class library set.
> But are they necessary if there is a Java6 JDK available? This IS
> Solaris :)
If you already have a bootstrapped icedtea or openjdk on the system then
it isn't strictly necessary and you can also configure --with-icedtea or
--with-openjdk and it will use that for the bootstrapping phase. See
also ./configure --help for some more options to specify the "home dir"
for these installations if you got them in a non-default place.
> >> I'll look at building lesstif and see what happens then...
> > This really shouldn't be necessary anymore. At least not for
> > icedtea/jdk7, there might still be some header constants used in
> > icedtea6/openjdk6, but if so we should backport the fixes to remove them
> > and remove this check.
> I think I'll continue this discussion up on the icetea list. My fingers
> cannot get used to the missing Reply-to header on this list.
I CCed the icedtea list (distro-pkg-dev), but that (luckily) also
doesn't do the harmful reply-to header munging (but that is probably
another bikeshed flamewar waiting to happen...).
More information about the build-dev