This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Calling cygwin binaries from dos prompt : access denied


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]