delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/01/30/13:09:20

X-Recipient: archive-cygwin AT delorie DOT 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 DOT riviere AT freesbee DOT 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 AT cygwin DOT com
Subject: Re: PATH with spaces
References: <30799162 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <30799162.post@talk.nabble.com>
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

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

- Raw text -


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