From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12105 invoked by alias); 24 May 2013 10:28:35 -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 12095 invoked by uid 89); 24 May 2013 10:28:35 -0000 X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS,TW_GC autolearn=ham version=3.3.1 Received: from mail-ob0-f177.google.com (HELO mail-ob0-f177.google.com) (209.85.214.177) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 24 May 2013 10:28:34 +0000 Received: by mail-ob0-f177.google.com with SMTP id wn6so5335781obc.36 for ; Fri, 24 May 2013 03:28:33 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.182.158.101 with SMTP id wt5mr11391955obb.10.1369391313004; Fri, 24 May 2013 03:28:33 -0700 (PDT) Received: by 10.76.143.100 with HTTP; Fri, 24 May 2013 03:28:32 -0700 (PDT) In-Reply-To: <17B34E365AFABC468216733E4B4CC754777BF74B@mail-server.ntb.ch> References: <17B34E365AFABC468216733E4B4CC754777BF74B@mail-server.ntb.ch> Date: Fri, 24 May 2013 10:28:00 -0000 Message-ID: Subject: Re: toplevel file From: Bryce McKinlay To: Bucher Fabio Cc: "java@gcc.gnu.org" Content-Type: text/plain; charset=ISO-8859-1 X-SW-Source: 2013-05/txt/msg00010.txt.bz2 On Thu, May 23, 2013 at 8:15 PM, Bucher Fabio wrote: > Hello > > Which is the toplevel file for the gcj compiler? If you mean "which class's main() method is called", then you specify it with the "--main" option. For example: "--main=org.my.MainClass" See: http://gcc.gnu.org/onlinedocs/gcj/Linking.html