X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0	tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <4D45A940.1020307@freesbee.fr>
Date: Sun, 30 Jan 2011 19:09:04 +0100
From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= <vincent.riviere@freesbee.fr>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: PATH with spaces
References: <30799162.post@talk.nabble.com>
In-Reply-To: <30799162.post@talk.nabble.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
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

Sunoki wrote:
> $ printenv PATH
> ...
> :/cygdrive/c/Program Files (x86)/Common Files/Symbian/tools:
> ...
> $ make
> cygwin warning:
>    MS-DOS style path detected: /usr/local/bin/C:\Program
>    Preferred POSIX equivalent is: /usr/local/bin/C:/Program
>    CYGWIN environment variable option "nodosfilewarning" turns off this
> warning.
>    Consult the user's guide for more details about POSIX paths:
>      http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
> Can't find C:\Program on PATH.

My guess:
- You have not installed Cygwin's make package
- You have the Symbian toolchain in your path. It contains a tool named make.exe

Try this:
$ type make
make is hashed (/cygdrive/c/Program Files (x86)/Common Files/Symbian/tools/make)

If you get the result above, my guess is right, so your config is wrong.
When you type make, it runs Symbian's one, not Cygwin's one.

You should install Cygwin's make package, the you should clean up your path, 
at least locally:
export 
PATH=/usr/bin:/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem

-- 
Vincent Rivière

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

