delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/14/15:46:53

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Mon, 14 Jun 1999 21:50:09 +0200 (CEST)
From: Pontus Lidman <pontus AT mathcore DOT com>
X-Sender: pontus AT atlas DOT mathcore DOT se
To: cygwin AT sourceware DOT cygnus DOT com
Subject: How to use g++ when paths contain spaces?
Message-ID: <Pine.LNX.4.05.9906142145010.16945-100000@atlas.mathcore.se>
MIME-Version: 1.0
Sender: Pontus Lidman <pontus AT mathcore DOT se>

Hello,

I can't seem to get my command lines or makefiles right when the path to
my include directories contain spaces.

The two main cases are:

g++ file.cc -I"include dir"
[usage message for cpp]
cpp.exe: too many arguments

or

g++ file.cc -Iinclude\ dir
g++: dir: No such file or directory

I guess quotes are the only way to use spaces in arguments on the Windows
NT command line. Is there any workaround that will let me use the full
path names including spaces? I really don't want to use the short 8+3
names as that would mean rewriting big chunks of my application.

Thanks,

Pontus Lidman



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019