From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24409 invoked by alias); 29 Apr 2002 09:13:20 -0000 Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org Received: (qmail 24400 invoked from network); 29 Apr 2002 09:13:18 -0000 Received: from unknown (HELO rumcajs.softax.local) (62.89.75.141) by sources.redhat.com with SMTP; 29 Apr 2002 09:13:18 -0000 Received: from softax.pl (IDENT:rysio@localhost [127.0.0.1]) by rumcajs.softax.local (8.11.0/8.11.0) with ESMTP id g3T9CdX05766; Mon, 29 Apr 2002 11:12:39 +0200 Message-ID: <3CCD0E87.B13149C8@softax.pl> Date: Mon, 29 Apr 2002 08:02:00 -0000 From: Ryszard Kabatek Reply-To: Ryszard.Kabatek@softax.pl X-Accept-Language: pl, en MIME-Version: 1.0 To: Bryce McKinlay CC: tromey@redhat.com, java@gcc.gnu.org Subject: Re: Problem with AClass.class References: <3CC8FD55.CA9FA287@softax.pl> <3CC925E4.1060900@waitaki.otago.ac.nz> <3CC941F9.FB5A8151@softax.pl> <87k7quqxu2.fsf@creche.redhat.com> <3CCCE709.D33E1A93@softax.pl> <3CCD0094.5090706@waitaki.otago.ac.nz> Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00402.txt.bz2 Bryce McKinlay wrote: > > Ryszard Kabatek wrote: > > >gcj --main=AClass > > > Should it be gcj --main=some.package.AClass ? > > regards > > Bryce. If I try it (gcj --main=mypackage.AClass) I get: /tmp/ccjmo6vc.o: In function `main': /tmp/ccjmo6vc.o(.text+0x1d): undefined reference to `mypackage::AClass::class$' collect2: ld returned 1 exit status The reason are the calls of AClass.class.getName(); Regards -- Ryszard Kabatek