This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Fwd: gcj can not import packages
- From: Matthias Klose <doko at ubuntu dot com>
- To: Ricardo Wurmus <rekado at elephly dot net>, Andrew Haley <aph at redhat dot com>
- Cc: bill dot chatfield at yahoo dot com, "'mohan NMH'" <mohan dot nmh2 at gmail dot com>, java at gcc dot gnu dot org
- Date: Wed, 18 Jan 2017 21:39:51 +0100
- Subject: Re: Fwd: gcj can not import packages
- Authentication-results: sourceware.org; auth=none
- References: <CANV4OqjehvrZUaMGbwn0Gu3KsesTy7aWVhY9cPETpnqwf_Zo0A@mail.gmail.com> <CANV4Oqhm440dav4AONgwW87VJ3+0c0S7KjdvnjwW+7V_VP2WJg@mail.gmail.com> <bac57298-a2aa-814d-603e-fde240be20f8@redhat.com> <CANV4OqgvpxXFP9VSRFNVtbkTcR5PgAZNHVWaHF7VsoSu+k7_0w@mail.gmail.com> <9335b6e8-ed7f-1e8d-4022-656da4681770@redhat.com> <59a501d2701f$b1bb1290$153137b0$@yahoo.com> <87ziiq937c.fsf@elephly.net> <59dc01d2704c$0d4ea910$27ebfb30$@yahoo.com> <a5421827-9cc8-63b5-d7b7-b9ee96737c2d@redhat.com> <878tq86rjx.fsf@elephly.net>
On 18.01.2017 21:28, Ricardo Wurmus wrote:
>
> Andrew Haley <aph@redhat.com> writes:
>
>> On 16/01/17 22:58, Bill Chatfield via java wrote:
>>
>>> From the link, it looks like it would be correct to say that gcj is
>>> the *only* open source way to bootstrap OpenJDK.
>>
>> OpenJDK can bootstrap itself.
>
> It can bootstrap only with pre-built binaries, though. The only route
> that doesn’t involve these binaries is by using GCJ.
>
> I would be happy to be shown that this is a misunderstanding.
yes, you need some trusted binaries. For example, there are various Linux
distributions which provide these binaries. And even if you want to build for a
target that doesn't have binaries, you can first build a native openjdk on your
build platform, and then cross-build for your target. I built several Linux
architectures this way ...
Matthias