From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31384 invoked by alias); 25 Jun 2013 14:10:13 -0000 Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org Received: (qmail 31373 invoked by uid 89); 25 Jun 2013 14:10:13 -0000 X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TW_GC autolearn=ham version=3.3.1 Received: from mail-oa0-f51.google.com (HELO mail-oa0-f51.google.com) (209.85.219.51) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 25 Jun 2013 14:10:12 +0000 Received: by mail-oa0-f51.google.com with SMTP id i4so13276701oah.24 for ; Tue, 25 Jun 2013 07:10:10 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.60.41.72 with SMTP id d8mr7890522oel.100.1372169410669; Tue, 25 Jun 2013 07:10:10 -0700 (PDT) Received: by 10.76.23.36 with HTTP; Tue, 25 Jun 2013 07:10:10 -0700 (PDT) In-Reply-To: <51C9A389.6030000@redhat.com> References: <51C87C22.9030201@redhat.com> <51C88147.8060508@redhat.com> <51C9A389.6030000@redhat.com> Date: Tue, 25 Jun 2013 14:10:00 -0000 Message-ID: Subject: Re: Trouble building gcj 4.8.1 From: Mike Hearn To: Andrew Haley Cc: GCC Java Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-SW-Source: 2013-06/txt/msg00022.txt.bz2 > No, you have to put it in your own path. It does say so in the > instructions. Ah. The docs say: "If this option is given, the =E2=80=98libjava=E2=80=99 build will create a= nd install an ecj1 executable which uses this jar file at runtime. If this option is not given, but an ecj.jar file is found in the topmost source tree at configure time, then the =E2=80=98libgcj=E2=80=99 build will= create and install ecj1, and will also install the discovered ecj.jar into a suitable place in the install tree." I interpreted "create and install" to mean it'll be put into bin by "make install", it might be clearer if it said explicitly that you have to copy it or put the script there yourself. My goal with all this is to compile and run a Java program as a MIPS program that is as small as possible, which I intend to do by: - Compiling with GCJ, as MIPS supporting Java VMs are rare - Enabling as many dead code elimination passes as possible, including LTO with a static libgcj in the hope that I can get a nice small, self contained binary out of the e= nd. As a bonus, I'd also like to enable usage of a library that this program uses from C++ codebases using CNI, although that's secondary right now. Could you maybe elaborate on the ninja stuff? Why are there two copies of these core classes? How much effort is it to fix things up - are we talking a few days here, a few weeks, a few months?