This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Calling cygwin binaries from dos prompt : access denied
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 20 Oct 2009 16:17:58 +0100
- Subject: Re: Calling cygwin binaries from dos prompt : access denied
- References: <33cd8fec9024837309ef1dceb8929c07@mail.smartmobili.com>
Vincent R. wrote:
> Hi,
>
> When trying to get gcc version from a dos command by entering
> C:\>cygwin-1.7\bin\gcc -v
> I get a access denied error message.
> Is it possible change that and allow to call it from external world ?
It's a symlink, and cmd.exe doesn't know how to resolve cygwin symlinks.
Use the target directly: try "cygwin-1.7\bin\gcc-3 -v" or
"cygwin-1.7\bin\gcc-4 -v".
cheers,
DaveK
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple