From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17017 invoked by alias); 5 Aug 2008 09:32:09 -0000 Received: (qmail 16951 invoked by uid 22791); 5 Aug 2008 09:32:08 -0000 X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 05 Aug 2008 09:31:33 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m759VVnu030329; Tue, 5 Aug 2008 05:31:31 -0400 Received: from zebedee.charmers (vpn-12-144.rdu.redhat.com [10.11.12.144]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m759V6AR014453; Tue, 5 Aug 2008 05:31:19 -0400 Message-ID: <48981DD4.7090207@redhat.com> Date: Tue, 05 Aug 2008 09:32:00 -0000 From: Andrew Haley User-Agent: Thunderbird 2.0.0.16 (X11/20080707) MIME-Version: 1.0 To: HK Tan CC: gcc-help@gcc.gnu.org Subject: Re: GCJ on POI References: <221fd3870808042339l7b11452ftd6d868cf8bcaf3d8@mail.gmail.com> In-Reply-To: <221fd3870808042339l7b11452ftd6d868cf8bcaf3d8@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-08/txt/msg00045.txt.bz2 HK Tan wrote: > Hi I have been trying to get gcj to compile for the for poi. > This are the steps that was trying to follow > gcj -shared -classpath ../jakarta-poi/lib/commons-logging-1.1.jar > -Lcommons-logging-1.1.jar.so > ../jakarta-poi/build/dist/poi-3.2-alpha1-20080804.jar -o > poi-3.2-alpha1-20080804.jar.so > > gcj --classpath=../jakarta-poi/build/dist/poi-3.2-alpha1-20080804.jar > -c HW.java > > gcj --main=HW -Lpoi-3.2-alpha1-20080804.jar.so HW.o -o HW > > But it bombs out on the step by > saying > I'd compile everything with -findirect-dispatch -Bsymbolic. Andrew.