From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23171 invoked by alias); 4 Apr 2011 12:13:47 -0000 Received: (qmail 23160 invoked by uid 22791); 4 Apr 2011 12:13:44 -0000 X-SWARE-Spam-Status: No, hits=-6.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_GC,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 04 Apr 2011 12:13:37 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p34CDanR021434 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 4 Apr 2011 08:13:36 -0400 Received: from zebedee.pink (ovpn-113-109.phx2.redhat.com [10.3.113.109]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p34CDYOo032025; Mon, 4 Apr 2011 08:13:35 -0400 Message-ID: <4D99B5EE.6080503@redhat.com> Date: Mon, 04 Apr 2011 12:13:00 -0000 From: Andrew Haley User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Thunderbird/3.1.9 MIME-Version: 1.0 To: java@gcc.gnu.org Subject: Re: MessageBundle ??? References: <9F062AC5F5744F97B7D244509DC9DE28@e6550> In-Reply-To: <9F062AC5F5744F97B7D244509DC9DE28@e6550> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 X-SW-Source: 2011-04/txt/msg00022.txt.bz2 On 04/04/2011 01:00 PM, dj_def wrote: > I did other tests: I compiled gcc-4.3.0 (with 4.6 and 4.7 I was unable to > compile because of libltdl errors and missing jvm.exe) correcting > Formatter.java and with --enable-maintainer-mode. > To make it succesfully I had to > > 1) sudo ln -sf /usr/bin/i686-linux-gnu-gcj /usr/bin/i686-pc-linux-gnu-gcj > (I did this because during some gcc configuration process, it detects > /usr/bin/i686-pc-linux-gnu-gcj instead of /usr/bin/i686-linux-gnu-gcj... > it could be some ubuntu packaging issue as before compiling I installed the > whole gcc ubuntu package...) It should just detect /usr/bin/gcj . What is i686-pc-linux-gnu-gcj doing is /usr/bin anyway? > 2) gcj > /pathToSrcDir/gcc-4.3.0/ecj.jar -findirect-dispatch --main=org.eclipse.jdt.internal.compiler.batch.GCCMain > -o ~/moveinecj1 > sudo mv ~/moveinecj1 /usr/bin/ecj1 > sudo chmod +x /usr/bin/ecj1 > (this should be a known issue when cross-compiling) I don't quite see what the problem is here. Yes, you have to have ecj1 to build with --enable-java-maintainer-mode. > Well... with this version there is not any "MessagesBundle.properties > missing resource problem" but the previous problem is not completely solved: > > class Test { > public static void main(String argv[]) { > System.out.printf("%09.3f%n",3.1415926535); > } > } > this time the program does not crash but also does not print anything (it > could be normal as now it uses parseInt). I already said, I think. Formatted floating-point output has not been written. Andrew.