delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/28/22:38:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3EFE5106.2A6B8E6A@dessent.net>
Date: Sat, 28 Jun 2003 19:37:58 -0700
From: Brian Dessent <brian AT dessent DOT net>
Organization: My own little world...
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Procedure entry not found in cygwin1.dll
References: <008501c33dd9$c6578d50$395d79d9 AT cp250405a> <20030629011402 DOT GA25958 AT redhat DOT com> <010801c33ddf$18c87ea0$395d79d9 AT cp250405a> <011301c33de0$419e2e00$395d79d9 AT cp250405a>

Harald Houppermans wrote:
> 
> Shit
> 
> When I set the path via a batch file on windows xp.
> 
> As soon as the batch file ends the path returns to normal...

If you want changes to be persistent, look into either the "Setx" tool
or "Pathman" tool, both from the Windows resource kit.

http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/pathman-o.asp

http://www.microsoft.com/windows2000/techinfo/reskit/tools/existing/setx-o.asp

But, I wouldn't bother going to all that trouble.  Cygwin sets its path
in /etc/profile -- as long as /bin (aka /usr/bin) is ahead of $PATH
(which is Windows' path), Cygwin should be happy since it will always
find its version of things.  You can check this with "echo $PATH" from a
cygwin prompt, but /bin (and possibly /usr/sbin, /usr/local/bin, etc.)
should all be at the head of the list.

Why are you compiling bintools anyway?  There's a package you know...

Brian

--
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/

- Raw text -


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