From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2572 invoked by alias); 10 Jan 2005 15:01:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 2482 invoked from network); 10 Jan 2005 15:01:15 -0000 Received: from unknown (HELO duron.akihabara.co.uk) (219.110.248.185) by sourceware.org with SMTP; 10 Jan 2005 15:01:15 -0000 Received: from neil by duron.akihabara.co.uk with local (Exim 4.43) id 1Co12l-0000Tp-F1; Tue, 11 Jan 2005 00:01:19 +0900 Date: Mon, 10 Jan 2005 15:01:00 -0000 From: Neil Booth To: abbott at dima dot unige dot it Cc: gcc-bugs@gcc.gnu.org Subject: Re: [Bug preprocessor/19361] New: -MT option does not escape funny characters Message-ID: <20050110150119.GC13266@daikokuya.co.uk> References: <20050110141652.19361.abbott@dima.unige.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050110141652.19361.abbott@dima.unige.it> User-Agent: Mutt/1.4.2.1i X-SW-Source: 2005-01/txt/msg01217.txt.bz2 List-Id: abbott at dima dot unige dot it wrote:- > The -MT option really does use precisely the specified string as the target. > It would be better if spaces (and other funny characters) were > escaped (using backslash) in the output. > > Note: for my purposes it would be enough to follow the proposal in > bug #15185 that there be an option to force the full path name in > the target. > > EXAMPLE: compare the outputs of the following two calls to gcc > $ touch my\ prog.c > $ gcc -MM my\ prog.c > my\ prog.o: my\ prog.c > $ gcc -MM my\ prog.c -MT my\ prog.o > my prog.o: my\ prog.c > > I am inclined to say that the second output is wrong. What's wrong with -MQ?