Calling cygwin binaries from dos prompt : access denied

2009-10-20 Thread Vincent R.
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 ?



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



Re: Calling cygwin binaries from dos prompt : access denied

2009-10-20 Thread Dave Korn
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