($shell cd) result different if including cygwin/bin directory in path

Eric Blake ebb9@byu.net
Tue Apr 11 12:05:00 GMT 2006


-----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@byu.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/



More information about the Cygwin mailing list