delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/05/13:52:22

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4962569C.9070607@cygwin.com>
Date: Mon, 05 Jan 2009 13:51:08 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.18) Gecko/20081120 Remi/2.0.0.18-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.18 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cmd.exe from Cygwin
References: <5195c8760901020359y51dbe19cw2803e36afe028c1d AT mail DOT gmail DOT com> <dd5f2deb0901020623o26f5dc9crf9eec2b084f2f4db AT mail DOT gmail DOT com> <5195c8760901020642g7af8c830w237ee298e645b91f AT mail DOT gmail DOT com> <gjohi3$fbt$1 AT ger DOT gmane DOT org> <5195c8760901050130q23bd9f2fxbc57f7e73db441aa AT mail DOT gmail DOT com> <4962340F DOT 6000004 AT cygwin DOT com> <5195c8760901051014h201d425cp927f31c1cb941233 AT mail DOT gmail DOT com>
In-Reply-To: <5195c8760901051014h201d425cp927f31c1cb941233@mail.gmail.com>
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

Jeenu V wrote:
> On Mon, Jan 5, 2009 at 9:53 PM, Larry Hall (Cygwin)
> <reply-to-list-only-lh AT cygwin DOT com> wrote:
> 
>> The Cygwin paths are added in '/etc/profile'.  Obviously, you can
>> remove them though that will make your configuration non-standard
>> and unsupported.  Essentially, this would make Cygwin tools
>> inaccessible when running 'bash', which doesn't sound like what
>> you really want.  Obviously, you could add the Cygwin paths
>> somewhere else to give Symbian priority but this is likely to just
>> cause other conflicts and, again, not be what you really want.  So
>> to me, the question comes down to which tools to you really want to
>> use, Symbian's, Cygwin's, or something else?  Once you can answer
>> that, you should be able to configure things so that you get the
>> proper set for your needs.
>>
> 
> Thanks for the info. My intention is not to throw Cygwin and it's
> utilities away; but to move Cygwin path towards the end when--and only
> when--I run Symbian tool chain, because, AFAIK, Symbian tool chain
> doesn't ask for any tools from Cygwin.

But your batch file is invoking Cygwin's bash.  Perhaps if you decouple
things there, then they will work as you expect without changing other
things in your environment.  Moving Cygwin paths to the end of the path
in '/etc/profile' would have the effect of making everything else in
the system with a like name override the Cygwin version, even when you're
using Cygwin and want the Cygwin versions.  I expect this is not at all
what you want.

> By the way, did anybody get a change to look at my screencast?

I did not have a chance to, no.  Is there something there that you believe
significantly changes the context of your original question?


-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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