Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 8649 invoked from network); 29 Dec 2005 00:10:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Dec 2005 00:10:49 -0000 Received: (qmail 74084 invoked by uid 500); 29 Dec 2005 00:10:45 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 74021 invoked by uid 500); 29 Dec 2005 00:10:44 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 74010 invoked by uid 99); 29 Dec 2005 00:10:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2005 16:10:44 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [192.6.10.2] (HELO colossus.hpl.hp.com) (192.6.10.2) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2005 16:10:43 -0800 Received: from kropotkin.hpl.hp.com (kropotkin.hpl.hp.com [15.144.59.2]) by colossus.hpl.hp.com (8.12.10/8.12.10) with ESMTP id jBT05fl1027733 for ; Thu, 29 Dec 2005 00:05:42 GMT Received: from localhost (localhost [127.0.0.1]) by kropotkin.hpl.hp.com (Postfix) with ESMTP id 957BD59E1 for ; Thu, 29 Dec 2005 00:05:41 +0000 (GMT) Received: from kropotkin.hpl.hp.com ([127.0.0.1]) by localhost (kropotki [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13691-04 for ; Thu, 29 Dec 2005 00:05:37 +0000 (GMT) Received: from timmay.hpl.hp.com (timmay-hb.hpl.hp.com [15.144.59.39]) by kropotkin.hpl.hp.com (Postfix) with ESMTP id A6532517A for ; Thu, 29 Dec 2005 00:05:37 +0000 (GMT) Received: from [16.27.193.85] ([16.27.193.85]) by timmay.hpl.hp.com (8.13.2/8.13.2) with ESMTP id jBT05Viu001016 for ; Thu, 29 Dec 2005 00:05:31 GMT Message-ID: <43B32871.3020009@apache.org> Date: Thu, 29 Dec 2005 00:06:09 +0000 From: Steve Loughran User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: Reg. cpp task References: <9B4771B4D9FB73498B40311D4E7E8EE501B83DB5@atl-ms2.us.megatrends.com> In-Reply-To: <9B4771B4D9FB73498B40311D4E7E8EE501B83DB5@atl-ms2.us.megatrends.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPLB-IMAP-MailScanner-Information: Please contact the Helpdesk for more information X-HPLB-IMAP-MailScanner: Found to be clean X-HPLB-IMAP-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5) X-Virus-Scanned: amavisd-new at kropotkin.hpl.hp.com X-HPL-MailScanner-Information: Please contact the Helpdesk for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.671, required 5, autolearn=not spam, AWL -0.67) X-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N shreedhar natarajan wrote: > hi guys, > > Have anybody used cl/msvc compiler in their build. Visual Studio .Net 2003 internally executes vsvars.bat that set a different env. variables. Only then it is possible to use "cl" from command prompt. The task cc requires compiler to be run from the command prompt. Not sure what is the best way to do that. Any examples wud be helpful. set your env variables up in WinXp so that it works from all command prompts. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org