X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: Cygwin fresh install imports Windows PATH which includes spaces causing errors Date: Tue, 24 Jul 2012 20:40:55 -0700 Lines: 29 Message-ID: References: <20120724155038 DOT GD5572 AT ednor DOT casa DOT cgf DOT cx> <20120724160827 DOT GA6098 AT ednor DOT casa DOT cgf DOT cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714 Thunderbird/14.0 In-Reply-To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On 07/24/2012 07:24 PM, Aaron Schneider wrote: > On 25/07/2012 3:59, Andrew DeFaria wrote: >> >> Maybe when in Cygwin, /bin and /usr/bin should be put in your PATH ahead >> of the Windows stuff. I know I've run with C:\Cygwin\bin in the front of >> my Windows System Environment PATH variable for years without issue >> (though I think some around here might say it's not a good idea). > > > > They are already in front, but if the command is not there it just > searches for the next up to the last, and if no match even so, says > command not found. Which is why I said eariler: IMHO it's always better to go with a Cygwin way of doing things instead of installing some Unix/Linux thing through some Windows port like this Symbian\tools thing... Of course you have to actively know what you want to use and what you have. I assume, since you typed the command make in your initial posting on the problem you would have known that you wanted to execute make and that you would have thought "Gee I'd like to execute Cygwin's make" and perhaps would have checked with a "which make" or a "type make" and, upon finding you don't have Cygwin's make, the initial question would have been "Where's make" (or you would have went to http://cygwin.com/packages/ and searched for make.exe and just solved your own problem without questioning) not "Cygwin fresh install imports Windows PATH...". -- Andrew DeFaria Mental Floss prevents Moral Decay. -- 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