Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3EFE5106.2A6B8E6A@dessent.net>
Date: Sat, 28 Jun 2003 19:37:58 -0700
From: Brian Dessent <brian@dessent.net>
Organization: My own little world...
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Procedure entry not found in cygwin1.dll
References: <008501c33dd9$c6578d50$395d79d9@cp250405a> <20030629011402.GA25958@redhat.com> <010801c33ddf$18c87ea0$395d79d9@cp250405a> <011301c33de0$419e2e00$395d79d9@cp250405a>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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/

