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 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> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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