This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: add support for x86_64-w64-mingw32 and cut the fat from libgcj
- From: Ricardo Wurmus <rekado at elephly dot net>
- To: Yale Zhang <yzhang1985 at gmail dot com>
- Cc: Brian Jones <cbjones1 at gmail dot com>, java at gcc dot gnu dot org
- Date: Tue, 02 Jan 2018 10:18:46 +0100
- Subject: Re: add support for x86_64-w64-mingw32 and cut the fat from libgcj
- Authentication-results: sourceware.org; auth=none
- References: <CALQF7ZxMGdFEYLfknXJRavDYEKWDxuYwcrX51EjAS7NooJvvRg@mail.gmail.com> <3BC75108-7D53-4CCB-AFEF-51C8EC98F9B3@gmail.com> <CALQF7ZxNf=FON4AH4v5nw+V+yEP7JpOTToejt3ABVUhRx7usNA@mail.gmail.com>
Yale Zhang <yzhang1985@gmail.com> writes:
> "I was hoping to keep GCJ up to date to use it for OpenJDK bootstrapping"
> That paranoid? Why not use the minimal Eclipse Java compiler which
> Classpath uses for bootstrapping? It sounds like ECJ can't be trusted if it
> was compiled with an untrusted/unknown compiler.
ECJ is a binary blob, and you need some pre-compiled Classpath binaries.
For GNU Guix we bootstrap the JDK with Jikes, SableVM, various versions
of GNU Classpath, and an older version of ECJ built from source. The
details can be found here:
http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/java.scm#n68
GCJ was no good bootstap compiler as it included a pre-built copy of
Classpath.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net