This is the mail archive of the
mailing list for the Cygwin project.
Re: Question about link
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: Chris Howell <chowell at pyxisinnovation dot com>
- Cc: cygwin at cygwin dot com
- Date: Thu, 15 May 2008 15:49:02 -0400 (EDT)
- Subject: Re: Question about link
- References: <email@example.com> <482C8ECC.firstname.lastname@example.org>
- Reply-to: cygwin at cygwin dot com
On Thu, 15 May 2008, Chris Howell wrote:
> I am running on Vista, and what I am doing is I open up a Dev Studio
> 2008 command shell. From that command shell I launch cygwin/bash...
> Things like cl.exe are inherited from the first shell I've opened in the
> bash environment. What I want is link to be the path that is found under
> my BIN directory of my DevStudio install. However possibily because
> they're the same name when I query link, or try and use it to make a
> dll. Bash thinks I am using link to make a symbolic link as opposed to a
> Any suggestions or help would be appreciated.
export PATH="$(dirname "$(which cl.exe)"):$PATH"
not solve this for you? You could also do
alias link="$(dirname "$(which cl.exe)")/link.exe"
but that will only give you "link", not "link.exe" (in case you care).
|\ _,,,---,,_ email@example.com | firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!)
|,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"That which is hateful to you, do not do to your neighbor. That is the whole
Torah; the rest is commentary. Go and study it." -- Rabbi Hillel
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html