delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/11/08:02:03

X-Spam-Check-By: sourceware.org
Message-ID: <443B9AAB.1030305@byu.net>
Date: Tue, 11 Apr 2006 06:01:48 -0600
From: Eric Blake <ebb9 AT byu DOT net>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com, omar DOT belkhodja AT st DOT com
Subject: Re: ($shell cd) result different if including cygwin/bin directory in path
References: <443B7A88 DOT C98E6498 AT st DOT com>
In-Reply-To: <443B7A88.C98E6498@st.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Omar BELKHODJA on 4/11/2006 3:44 AM:
> I want to use the unix commands from an MS-DOS command prompt (grep,
> find...) and for that I have included the cygwin/bin directory in my
> path.
> This is OK for using grep, find... but this creates me the following
> problem. I am using a some kind version of gmake.exe that can work alone
> (without any cygwin dll). This gmake.exe if executing a makefile with
> the command ($shell cd), returns the current directory from an
> MS-DOS command prompt, but if I add the cygwin/bin directory to the path
> the ($shell cd) result is an empty string, as if it was executed from a
> cygwin/unix environment.Is there any solution that doesn't need a change
> in my makefile ?

Why not use cygwin make, and then not have to worry about it all?  And if
you really like the name gmake, do 'ln /bin/make /bin/gmake'.  This list
can't really support third-party tools when a cygwin solution already
exists; ask the distributor of your gmake why it isn't working with
cygwin.  Also, including the output of 'cygcheck -svr' as a text
attachment, as suggested here, would have been helpful:

> Problem reports:       http://cygwin.com/problems.html

- --
Life is short - so eat dessert first!

Eric Blake             ebb9 AT byu DOT net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEO5qr84KuGfSFAYARAvbrAKCQLWk4Bd7gIjbJNCfnxOCIvcBMgwCfVOHh
51rSPLixSLsfxORJJ9IrZuo=
=NcFY
-----END PGP SIGNATURE-----

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