| delorie.com/archives/browse.cgi | search |
| 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 <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: GCC - Access denied |
| References: | <m2t961f6df41004191807y75bc02cfiabd7f684a8d5f8ca AT mail DOT gmail DOT com> |
| In-Reply-To: | <m2t961f6df41004191807y75bc02cfiabd7f684a8d5f8ca@mail.gmail.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 |
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |