From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4750 invoked by alias); 12 Feb 2008 17:48:50 -0000 Received: (qmail 4739 invoked by uid 22791); 12 Feb 2008 17:48:49 -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, 12 Feb 2008 17:48:32 +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 m1CHmUgB029343; Tue, 12 Feb 2008 12:48:30 -0500 Received: from [10.11.14.19] (vpn-14-19.rdu.redhat.com [10.11.14.19]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m1CHmSHY002594; Tue, 12 Feb 2008 12:48:29 -0500 Message-ID: <47B1DBEC.1030501@redhat.com> Date: Tue, 12 Feb 2008 17:48:00 -0000 From: Andrew Haley User-Agent: Thunderbird 1.5.0.12 (X11/20071019) MIME-Version: 1.0 To: Andrew W CC: gcc-help@gcc.gnu.org Subject: Re: Forward declaration of classes needed when using GCJ? References: <47AF31F9.2060209@iee.org> <47B08AB2.3080508@avtrex.com> <47B0C58C.7080801@iee.org> <47B0CE17.6080408@avtrex.com> <47B1C41E.4070408@iee.org> In-Reply-To: <47B1C41E.4070408@iee.org> Content-Type: text/plain; charset=windows-1252; format=flowed 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-02/txt/msg00100.txt.bz2 Andrew W wrote: > Interesting you got it to work with Fedora. > Im using the version that comes with Ubuntu 7.04 which is has the > version string. > > gcj (GCC) 4.1.2 (Ubuntu 4.1.2-0ubuntu5) Works for me too: zebedee:~ $ gcj --main=net.mydomain.core.ClassA ./net/mydomain/core/ClassA.java ./net/mydomain/core/ClassB.java zebedee:~ $ gcj --version gcj (GCC) 4.1.2 Copyright (C) 2006 Free Software Foundation, Inc. Andrew.