From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2246 invoked by alias); 3 Jul 2006 21:08:44 -0000 Received: (qmail 2238 invoked by uid 22791); 3 Jul 2006 21:08:44 -0000 X-Spam-Check-By: sourceware.org Received: from pne-smtpout1-sn2.hy.skanova.net (HELO pne-smtpout1-sn2.hy.skanova.net) (81.228.8.83) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 03 Jul 2006 21:08:41 +0000 Received: from [192.168.0.101] (83.248.126.31) by pne-smtpout1-sn2.hy.skanova.net (7.2.075) id 44A2E86F00104503 for gcc-help@gcc.gnu.org; Mon, 3 Jul 2006 23:08:38 +0200 Message-ID: <44A98750.5080904@314159e-5.se> Date: Mon, 03 Jul 2006 21:08:00 -0000 From: Stefan Karlsson User-Agent: Thunderbird 1.5.0.4 (X11/20060603) MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: Using the -D flag on Windows Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2006-07/txt/msg00020.txt.bz2 I want to use something like -D T="some text" on the command line to gcc. Unfortunately I can't get this to work on Windows XP (I have a gcc using the Cygwin DLL), so I guess the DOS "shell" is messing with me. Does anyone know how to circumvent this problem? I have searched the mailing list archive without success ... I apologize if this question is off-topic. -- Stefan