| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
| List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
| List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
| Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
| Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
| Message-ID: | <389B0FA2.83F2B2FE@vinschen.de> |
| Date: | Fri, 04 Feb 2000 18:42:58 +0100 |
| From: | Corinna Vinschen <corinna AT vinschen DOT de> |
| X-Mailer: | Mozilla 4.7 [en] (WinNT; I) |
| X-Accept-Language: | de,en |
| MIME-Version: | 1.0 |
| To: | cygwin AT sourceware DOT cygnus DOT com |
| Subject: | Re: why must cygwin be first in path? |
| References: | <NDBBIAJFPMMEEGPCHFODMECOCBAA DOT sschram AT aircell DOT com> |
Only a short hint:
I have no problem with this and I don't have cygwin first in path.
In my NT environment, $PATH looks like
PATH=%SystemRoot%\system32;%SystemRoot%; ... ;D:\my\cygwin\bin
so all Windows tools are found earlier than the cygwin binaries.
When I'm starting a cygwin tool, I always use a shell or a shell
script that does whatever should be done:
D:\my\cygwin\bin\sh whatever_should be_done.sh
This shell script begins with s.th. like that:
#!/bin/sh
PATH=/bin:/usr/bin:/usr/local/bin:$PATH
Now all cygwin tools are found first.
If you are using the shell interactive, you can use /etc/profile
to set the path in this way.
Hope, this helps,
Corinna
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |