From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18200 invoked by alias); 23 Apr 2002 23:55:55 -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 18191 invoked from network); 23 Apr 2002 23:55:54 -0000 Received: from unknown (HELO mailhub1.otago.ac.nz) (139.80.64.218) by sources.redhat.com with SMTP; 23 Apr 2002 23:55:54 -0000 Received: (from root@localhost) by mailhub1.otago.ac.nz (8.10.1/8.10.1) id g3NNtqp12854; Wed, 24 Apr 2002 11:55:52 +1200 Received: from waitaki.otago.ac.nz (waitaki.otago.ac.nz [139.80.75.140]) by mailhub1.otago.ac.nz (8.10.1/8.10.1) with ESMTP id g3NNtpp12812; Wed, 24 Apr 2002 11:55:51 +1200 Received: from waitaki.otago.ac.nz (IDENT:bryce@reason.otago.ac.nz [139.80.119.17]) by waitaki.otago.ac.nz (8.11.6/8.11.6) with ESMTP id g3NNtiu14786; Wed, 24 Apr 2002 11:55:44 +1200 Message-ID: <3CC5F416.7050808@waitaki.otago.ac.nz> Date: Tue, 23 Apr 2002 16:59:00 -0000 From: Bryce McKinlay User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011221 X-Accept-Language: en-us MIME-Version: 1.0 To: tromey@redhat.com CC: akos.szalay@sophos.com, java@gcc.gnu.org Subject: Re: -D ? References: <873cxmf5wn.fsf@creche.redhat.com> X-scanner: scanned by Inflex 1.0.9 - (http://pldaniels.com/inflex/) Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00330.txt.bz2 Tom Tromey wrote: >gcj should only be used for compiling Java >code (either .java, .class, or resource files with --resource). > Why? It might not be a good idea to compile JNI code with gcj, but it can be very useful to use gcj to compile and link C/C++ code into a mixed Java/C++ application. But, it is unfortunate that the -D flag means different things to Java and C code. regards Bryce.