X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4BCD03D6.8020804@gmail.com> Date: Tue, 20 Apr 2010 02:31:02 +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: GCC - Access denied References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 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 On 20/04/2010 02:07, Moises Deangelo wrote: > Hello > Where I used cygwin developing in DEV-CPP (IDE) and compiling with > GCC. (Libs, Headers and all the cygwin). Only the IDE was the DEV. > > These days formated my machine. When I installed cygwin, time to > access the gcc to compile, the system returns "access denied". > > How can I fix it? > Develop all source code in any IDE on any windows calling it the > structure of cygwin to compile. Right, the problem is that these days GCC uses symlinks to choose between gcc-3 and gcc-4 according to the user's preferences, using the alternatives system (see /usr/share/doc/alternatives/README). This is a problem when launching the compiler from a native windows application, because windows doesn't understand cygwin symlinks. The solution is to adjust the preferences in your IDE, so that it uses "gcc-3.exe" or "gcc-4.exe" (at your choice) directly, rather than trying to use the "gcc.exe" symlink. 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