X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: <4BCD03D6.8020804@gmail.com> References: <4BCD03D6 DOT 8020804 AT gmail DOT com> From: Moises Deangelo Date: Mon, 19 Apr 2010 22:16:55 -0300 Message-ID: Subject: Re: GCC - Access denied To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Excuse my ignorance. But what's the difference between gcc-3 and gcc-4? Moises Deangelo. 2010/4/19 Dave Korn : > 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. > > =A0Right, the problem is that these days GCC uses symlinks to choose betw= een > gcc-3 and gcc-4 according to the user's preferences, using the alternativ= es > system (see /usr/share/doc/alternatives/README). =A0This is a problem when > launching the compiler from a native windows application, because windows > doesn't understand cygwin symlinks. > > =A0The 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. > > =A0 =A0cheers, > =A0 =A0 =A0DaveK > > -- > Problem reports: =A0 =A0 =A0 http://cygwin.com/problems.html > FAQ: =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 http://cygwin.com/faq/ > Documentation: =A0 =A0 =A0 =A0 http://cygwin.com/docs.html > Unsubscribe info: =A0 =A0 =A0http://cygwin.com/ml/#unsubscribe-simple > > -- 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