This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC - Access denied


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


Moises Deangelo.




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

--
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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]