For users of --with-openjdk
Dr Andrew John Hughes
ahughes at redhat.com
Tue Aug 10 07:35:23 PDT 2010
On 14:34 Tue 10 Aug , Pavel Tisnovsky wrote:
> Dr Andrew John Hughes wrote:
> > This option has now been removed from IcedTea6 HEAD in line with the
> > changes made to IcedTea7 a year ago:
> >
> > http://icedtea.classpath.org/hg/icedtea6/rev/0ba4ad0c362b
> >
> > To do a quick non-bootstrap build, the option is now --disable-bootstrap.
> > To specify an explicit jdk, use --with-jdk-home=<path>.
>
> I think that this flag is still used (actually filtered out :-) in
> assignment to variable ADD_ZERO_CONFIGURE_ARGS
>
I didn't check the add-vm support and I guess it was added after the original
patch (July 2009 IIRC). Probably just needs correcting to the new flag.
> Btw, is it on purpose or mistake that configuration switches starting
> with the "--with-*" are not checked during ./configure?
>
> For example, when I run
> ./configure --xyzzy
> or
> ./configure --with
> I got error (which is correct of course)
>
> but when I run
> ./configure --with-xyzzy
> or
> ./configure --with-
> it passes.
>
You should get a warning:
configure: WARNING: unrecognized options: --disable-jdk-tests, --disable-langtools-tests, --with-openjdk
I believe you can make it error out instead, but that then means you
have to filter your flags more carefully depending on the IcedTea
version being built. At present, setting --with-openjdk and
--disable-bootstrap should mean you can handle all versions of IcedTea
with no problems. If you have an argument to --with-openjdk, you'll also
need --with-jdk-home=<arg>.
The end goal is for both bootstrap modes to work with either jdk. But
we're not there yet.
> >
> > Both options were previously merged together under --with-openjdk and are now
> > available separately.
> > --
> > Andrew :)
> >
> > Free Java Software Engineer
> > Red Hat, Inc. (http://www.redhat.com)
> >
> > 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
>
--
Andrew :)
Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)
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
More information about the distro-pkg-dev
mailing list