delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/05/11:25:08

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: <4962340F.6000004@cygwin.com>
Date: Mon, 05 Jan 2009 11:23:43 -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>
In-Reply-To: <5195c8760901050130q23bd9f2fxbc57f7e73db441aa@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:
>> For all we know bldmake could be bldmake.bat which contains a line such as:
>>
>> sh E:\Symbian\M04765_Symbain_OS_V9.5\bin\Tech\Viewepoc32\tools\bldmake.bat
>>
>> Intending to use Symbian's version of "sh" which can handle backslashes but
>> due to how your PATH is setup it's using Cygwin's version of "sh" which
>> doesn't like the backslashes. I'm not saying that's exactly what's going on,
>> I'm saying that we don't know given your description so far.
> 
> I think I've make little progress in this regard: I compared
> environment variables from an original cmd.exe and that of cmd.exe
> invoked from cygwin bash. I noticed that, for the one invoked from
> cygwin, the %Path% variable had cygwin\bin directories before all
> Windows paths. After I removed the cygwin\bin directories, the same
> utility seem to work fine (as of now). How can I prevent cygwin\bin
> directories occupying at the beginning of %path%?

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.

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