X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
From: Phil Smith <phil@voltage.com>
To: Eric Blake <ebb9@byu.net>, "cygwin@cygwin.com" <cygwin@cygwin.com>
Date: Sat, 30 Aug 2008 14:06:58 -0700
Subject: RE: Probably stupid make question
Message-ID: <B870629719727B4BA82A6C06A31C291207429E091C@hqmailsvr01.voltage.com>
References: <B870629719727B4BA82A6C06A31C291207429E06EA@hqmailsvr01.voltage.com>   <48B706FB.4CAE7693@dessent.net> <20080828203234.GB17369@ednor.casa.cgf.cx>   <B870629719727B4BA82A6C06A31C291207429E0893@hqmailsvr01.voltage.com>   <2A9FABB3664AF8459CBADA1CE4E4024642D52EA2B1@DF-MASTIFF-MSG.exchange.corp.microsoft.com>   <20080830195510.GB20923@ednor.casa.cgf.cx>  <B870629719727B4BA82A6C06A31C291207429E091B@hqmailsvr01.voltage.com>  <48B9B43E.1050407@byu.net>
In-Reply-To: <48B9B43E.1050407@byu.net>
Accept-Language: en-US
Content-Language: en-US
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
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/


