delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/08/30/17:10:44

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
From: Phil Smith <phil AT voltage DOT com>
To: Eric Blake <ebb9 AT byu DOT net>, "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Date: Sat, 30 Aug 2008 14:06:58 -0700
Subject: RE: Probably stupid make question
Message-ID: <B870629719727B4BA82A6C06A31C291207429E091C@hqmailsvr01.voltage.com>
References: <B870629719727B4BA82A6C06A31C291207429E06EA AT hqmailsvr01 DOT voltage DOT com> <48B706FB DOT 4CAE7693 AT dessent DOT net> <20080828203234 DOT GB17369 AT ednor DOT casa DOT cgf DOT cx> <B870629719727B4BA82A6C06A31C291207429E0893 AT hqmailsvr01 DOT voltage DOT com> <2A9FABB3664AF8459CBADA1CE4E4024642D52EA2B1 AT DF-MASTIFF-MSG DOT exchange DOT corp DOT microsoft DOT com> <20080830195510 DOT GB20923 AT ednor DOT casa DOT cgf DOT cx> <B870629719727B4BA82A6C06A31C291207429E091B AT hqmailsvr01 DOT voltage DOT com> <48B9B43E DOT 1050407 AT byu DOT net>
In-Reply-To: <48B9B43E.1050407@byu.net>
Accept-Language: en-US
acceptlanguage: en-US
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=4.65.7161:2.4.4,1.2.40,4.0.164 definitions=2008-08-30_01:2008-08-28,2008-08-29,2008-08-30 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=3.1.0-0805090000 definitions=main-0808300105
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m7ULAhOv031054

And (not to pick a fight) you've missed the point: I don't have full control over this stuff. I have to use CMake because that's what the project uses, and it generates the commands. If I could generate the Makefile manually, I wouldn't have this problem. If I could convince CMake to use /cygdrive/c/docume~1/etc., I wouldn't have this problem.  If I could convince CMake to put quotes around the path, I wouldn't have this problem. I can't, so I do.

But you've (seemingly inadvertently?) answered the question, so I can go off and hack something that works. Thanks!

...phsiii

P.S. And no, I'm not going to get into a top-posting vs. inline discussion -- that boat has sailed.  I did remove your email address below, however, including the raw copy in your sig...
-----Original Message-----
From: Eric Blake
Sent: Saturday, August 30, 2008 4:58 PM
Subject: Re: Probably stupid make question

> -----Original Message-----
> From: cygwin-owner AT cygwin.com
                    ^^^^
Oops - raw email address.  http://cygwin.com/acronyms/#PCYMTNQREAIYR

Oops - top-posting.  http://cygwin.com/acronyms/#TOFU

> This is all an argument for using Cygwin the way it was supposed to be
> used - there are no .bat files on UNIX.  Use shell scripts instead.
>

According to Phil Smith on 8/30/2008 2:35 PM:
> Will shell scripts get
>
>  -Dsomething=c:/Documents and Settings/whatever
>
> as one argument, or three?

You missed the point.  c:/ anything is NOT posix-y.  Rather, you should be
worried whether:

 '-Dsomething=/cygdrive/c/documents and settings/whatever'

is one or three arguments (one if it is quoted correctly, three if it is
not).  You're better off not even trying to use drive letters with a colon
when emulating posix.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


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