delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/19/21:17:29

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: <m2t961f6df41004191807y75bc02cfiabd7f684a8d5f8ca AT mail DOT gmail DOT com> <4BCD03D6 DOT 8020804 AT gmail DOT com>
From: Moises Deangelo <moises DOT deangelo AT gmail DOT com>
Date: Mon, 19 Apr 2010 22:16:55 -0300
Message-ID: <g2k961f6df41004191816l9927066ey1614936b3840ef2f@mail.gmail.com>
Subject: Re: GCC - Access denied
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Excuse my ignorance.
But what's the difference between gcc-3 and gcc-4?


Moises Deangelo.




2010/4/19 Dave Korn <dave DOT korn DOT cygwin AT googlemail 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.
>
> =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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019