From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7780 invoked by alias); 12 Apr 2002 06:45:06 -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 7736 invoked from network); 12 Apr 2002 06:45:04 -0000 Received: from unknown (HELO localhost.localdomain) (210.86.60.220) by sources.redhat.com with SMTP; 12 Apr 2002 06:45:04 -0000 Received: from waitaki.otago.ac.nz ([192.168.2.2]) by localhost.localdomain (8.11.2/8.11.2) with ESMTP id g3C6BKT19184; Fri, 12 Apr 2002 18:11:21 +1200 Message-ID: <3CB68225.1050906@waitaki.otago.ac.nz> Date: Thu, 11 Apr 2002 23:54:00 -0000 From: Bryce McKinlay User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.9+) Gecko/20020327 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Anthony Green CC: Phil Edwards , Carlos Pereira , gcc@gnu.org, java@gcc.gnu.org Subject: Re: -R gcc option? References: <200204111824.TAA04590@pehoe.civil.ist.utl.pt> <20020411152809.A28097@disaster.basement.lan> <1018567237.1817.343.camel@dhcppc2> <3CB62B5E.7000004@waitaki.otago.ac.nz> <1018595481.1228.7.camel@dhcppc2> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00210.txt.bz2 Anthony Green wrote: >I don't think I agree about -D. I don't see how it can conflict with >the C/C++ version of -D. > The problem is that there is no way to set a preprocessor define if you want to compile a C++ file with gcj, eg: gcj Foo.java natFoo.cc -DFOO Of course, this is possible to work around by invoking c++ separately. regards Bryce.