From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30684 invoked by alias); 17 Apr 2013 16:48:52 -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 30674 invoked by uid 89); 17 Apr 2013 16:48:51 -0000 X-Spam-SWARE-Status: No, score=-6.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,MIME_CHARSET_FARAWAY,RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,SPF_HELO_PASS 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; Wed, 17 Apr 2013 16:48:51 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r3HGmf9w013902 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 17 Apr 2013 12:48:41 -0400 Received: from zebedee.pink (ovpn-113-41.phx2.redhat.com [10.3.113.41]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r3HGmcj0005418; Wed, 17 Apr 2013 12:48:40 -0400 Message-ID: <516ED266.9090605@redhat.com> Date: Wed, 17 Apr 2013 16:48:00 -0000 From: Andrew Haley User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 MIME-Version: 1.0 To: =?gbk?Q?=B0=A2=C1=D6?= CC: java@gcc.gnu.org, classpath-patches@gnu.org Subject: Re: [cp-patches] ask help about cross complier of supportting java References: <7414e757.7b03.13bdb102578.Coremail.wanglei403xa@163.com> In-Reply-To: <7414e757.7b03.13bdb102578.Coremail.wanglei403xa@163.com> Content-Type: text/plain; charset=gbk Content-Transfer-Encoding: 8bit X-SW-Source: 2013-04/txt/msg00009.txt.bz2 Hi, On 12/27/2012 06:32 AM, °¢ÁÖ wrote: > I want to build cross compiler of gcc of 4.4.4. I can built success > for c,c++. But when I try to add language of java. I failed. I also > read the document , the cross section is too short and non > detailed. In the document, only "If the cross compiler is to be > built with support for the Java programming language and the ability > to compile .java source files is desired, the installed native > compiler used to build the cross compiler needs to be the same GCC > version as the cross compiler. In addition the cross compiler needs > to be configured with --with-ecj-jar=... ". > > Since I use ppc64 and try to build ppc. I don't know how to use this > option. I use the ecj of 64-bit package, I am not sure if it is > ok. That's fine. ecj.jar is good for 32- and 64-bit builds. Andrew.