| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
| X-Spam-Check-By: | sourceware.org |
| Message-ID: | <4ADDD4A6.9070805@gmail.com> |
| Date: | Tue, 20 Oct 2009 16:17:58 +0100 |
| From: | Dave Korn <dave DOT korn DOT cygwin AT googlemail DOT com> |
| User-Agent: | Thunderbird 2.0.0.17 (Windows/20080914) |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: Calling cygwin binaries from dos prompt : access denied |
| References: | <33cd8fec9024837309ef1dceb8929c07 AT mail DOT smartmobili DOT com> |
| In-Reply-To: | <33cd8fec9024837309ef1dceb8929c07@mail.smartmobili.com> |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Id: | <cygwin.cygwin.com> |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sourceware.org/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |