From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 855 invoked by alias); 25 Jun 2013 14:12:20 -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 844 invoked by uid 89); 25 Jun 2013 14:12:20 -0000 X-Spam-SWARE-Status: No, score=-7.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,TW_GC autolearn=ham version=3.3.1 Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 25 Jun 2013 14:12:20 +0000 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r5PECI2B022419 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 25 Jun 2013 10:12:18 -0400 Received: from zebedee.pink (ovpn-113-106.phx2.redhat.com [10.3.113.106]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id r5PECHn6017584; Tue, 25 Jun 2013 10:12:17 -0400 Message-ID: <51C9A53C.20409@redhat.com> Date: Tue, 25 Jun 2013 14:12:00 -0000 From: Andrew Haley User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: Mike Hearn CC: GCC Java Subject: Re: Trouble building gcj 4.8.1 References: <51C87C22.9030201@redhat.com> <51C88147.8060508@redhat.com> <51C9A389.6030000@redhat.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2013-06/txt/msg00023.txt.bz2 On 06/25/2013 03:10 PM, Mike Hearn wrote: >> 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 ‘libjava’ build will create and 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 ‘libgcj’ 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 end. OK. > 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? I'm trying to find out what you want to do to java.lang.String. Tell me that, and we'll take it from there. Andrew.