X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=BAYES_00,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC X-Spam-Check-By: sourceware.org Message-ID: <4962856F.4090206@equate.dyndns.org> Date: Mon, 05 Jan 2009 22:10:55 +0000 From: Chris Taylor Reply-To: cygwin AT cygwin DOT com User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: cmd.exe from Cygwin References: <5195c8760901020359y51dbe19cw2803e36afe028c1d AT mail DOT gmail DOT com> <5195c8760901020642g7af8c830w237ee298e645b91f AT mail DOT gmail DOT com> <5195c8760901050130q23bd9f2fxbc57f7e73db441aa AT mail DOT gmail DOT com> <4962340F DOT 6000004 AT cygwin DOT com> <5195c8760901051014h201d425cp927f31c1cb941233 AT mail DOT gmail DOT com> <4962569C DOT 9070607 AT cygwin DOT com> In-Reply-To: <4962569C.9070607@cygwin.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Larry Hall (Cygwin) wrote: > Jeenu V wrote: >> On Mon, Jan 5, 2009 at 9:53 PM, Larry Hall (Cygwin) >> 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. > Maybe the best thing to do would be to edit the .bat/.cmd file so that the first thing it does is redefines PATH as it is in a normal cmd window - ie w/o cygwin running. That would result in the environment being clean for cygwin normally, and mean your symbian stuff wouldn't end up crapping itself by calling cygwin tools that work differently.. Chris -- 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/