From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17920 invoked by alias); 11 Apr 2002 02:51:45 -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 17905 invoked from network); 11 Apr 2002 02:51:44 -0000 Received: from unknown (HELO tf1.tapsellferrier.co.uk) (217.34.135.17) by sources.redhat.com with SMTP; 11 Apr 2002 02:51:44 -0000 Received: from host217-34-135-21.in-addr.btopenworld.com ([217.34.135.21] helo=pooh-sticks-bridge.tapsellferrier.co.uk) by tf1.tapsellferrier.co.uk with esmtp (Exim 3.35 #1 (Debian)) id 16vV62-00044Q-00; Thu, 11 Apr 2002 03:18:02 +0000 To: java@gcc.gnu.org Subject: compiling to native: simple q From: Nic Ferrier Date: Wed, 10 Apr 2002 20:17:00 -0000 Message-ID: <87zo0adzmh.fsf@pooh-sticks-bridge.tapsellferrier.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-04/txt/msg00192.txt.bz2 Here's a simple question that is probably just the result of me debuging dodgy apache code all night... The paperclips source code now compiles with GCJ (yea!) but I'm now trying to get the class files to compile to something native. I'm doing this: gcj --main=gnupaperclips -o gnupc classfiles ... where classfiles is the result of: find classes -name "*.class" -print I'm getting a whole bunch of errors that are to do with the dependancies of the class files. I have the CLASSPATH variable set to the jar files that are the dependancies for the paperclips classes, do I need to include them as compilation targets? (when I do that gcj segfaults). Should I be unpacking the jar files as classes and having gcj compile the whole thing? Should I be converting all the jar files into native libs and solving the depends that way? In short, I'm a bit unsure of what I should be doing with dependant jar files. Could someone please explain? Nic