Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 80773 invoked from network); 10 Jul 2002 21:51:19 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 10 Jul 2002 21:51:19 -0000 Received: (qmail 21797 invoked by uid 97); 10 Jul 2002 21:51:18 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 21658 invoked by uid 97); 10 Jul 2002 21:51:17 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 21554 invoked by uid 98); 10 Jul 2002 21:51:16 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <14ba01c2285c$17cd54b0$1219570f@ranier> From: "Steve Loughran" To: "Ant Users List" References: Subject: Re: Can you compile C++ and C from ant Date: Wed, 10 Jul 2002 14:52:32 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ----- Original Message ----- From: "Jennifer Moter" To: "Ant Users List" Sent: Wednesday, July 10, 2002 2:03 PM Subject: RE: Can you compile C++ and C from ant > these are the gcc command line args - here's the gcc command: > > gcc -I../msclib -I../cryptlib -I../thdlib -I../pktlib -I../niolib -D__UNI > X__ -DNO_WCHAR -c authServerData.cpp yeah, but look what it created [cc] Executing 'gcc' with arguments: [cc] '-c' [cc] '-o' [cc] '/home/jmoter/source/swan/lib/athlib/athlib.o' [cc] '/home/jmoter/source/swan/src/libsrc/athlib/athlib.cpp' [cc] '__UNIX__' [cc] 'NO_WCHAR' [cc] 'DEBUG' [cc] '-g' [cc] '-Wall' [cc] '-fPIC' [cc] '-I/home/jmoter/source/swan/src/libsrc/**/*.h' [cc] '-I/home/jmoter/source/swan/src/include' [cc] gcc -c -o '/home/jmoter/source/swan/lib/athlib/athlib.o' '/home/jmoter/source/swan/src/libsrc/athlib/athlib.cpp' __UNIX__ NO_WCHAR DEBUG -g -Wall -fPic -I/home/jmoter/source/swan/src/libsrc/**/*.h' -I/home/j moter/source/swan/src/include' see the difference? the are for compiler args like -O6, not definitions. You are putting definitions in there and it is going pearshaped. You need to set up a defineset for the defs. -- To unsubscribe, e-mail: For additional commands, e-mail: