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: 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> <5195c8760901020642g7af8c830w237ee298e645b91f AT mail DOT gmail DOT com> <5195c8760901050130q23bd9f2fxbc57f7e73db441aa AT mail DOT gmail DOT com> In-Reply-To: <5195c8760901050130q23bd9f2fxbc57f7e73db441aa@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 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/