Re: Fwd: gcj can not import packages
Anthony Green <[email protected]> Mon, 16 Jan 2017 18:24:05 -0500
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <CAAs=kogWDGGzYBpyThUWO9rwXWGoXr-Oy0P3UUiDyS5kjOHuYQ@mail.gmail.com> |
This is an interesting question... For the extremely security conscious, how can we build OpenJDK from source, assuming we have no trusted JDK? Can something simpler than gcj be used, like kaffe? AG On Mon, Jan 16, 2017 at 5:58 PM, Bill Chatfield via java <[email protected]> wrote: > From the link, it looks like it would be correct to say that gcj is the *= only* open source way to bootstrap OpenJDK. > > -----Original Message----- > From: Ricardo Wurmus [mailto:[email protected]] > Sent: Monday, January 16, 2017 3:10 PM > To: Bill Chatfield <[email protected]> > Cc: 'Andrew Haley' <[email protected]>; 'mohan NMH' <[email protected]>; = [email protected] > Subject: Re: Fwd: gcj can not import packages > > > Bill Chatfield via java <[email protected]> writes: > >> I understand that OpenJDK is available as open source now, to >> "replace" gcj. But, gcj still has certain advantages that OpenJDK does >> not have: >> >> 1. gcj can compile to a native executable. [=E2=80=A6] >> >> 2 gij is more memory efficient than OpenJDK at runtime. [=E2=80=A6] >> >> 3. OpenJDK only supports a few platforms. [=E2=80=A6] > > I would like to add one point: GCJ can be used to cleanly bootstrap the O= penJDK from source with a chain that starts with GCC=E2=80=99s C compiler, = to GCJ, to OpenJDK 6 (via IcedTea). > > (The only wart is that later versions of GCJ rely on a pre-built jar of > ecj.) > > This is why the bootstrappable builds project lists =E2=80=9CMaintaining = the GNU Compiler for Java=E2=80=9D as a collaboration project.[1] > > [1]: http://bootstrappable.org/projects.html > > -- > Ricardo > > GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.n= et > >