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: Looking for gcc.exe


"Sisyphus" <sisyphus1 at optusnet ...> Wrote:
> I've just installed a fresh "CYGWIN_NT-6.0-WOW64 desktop2
> 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin", including gcc-4
> (4.3.4-3).
>
> According to http://cygwin.com/packages/ there should be an executable
> named gcc.exe in there - but I see only gcc-4.exe. As a quick fix I've
> created a copy of gcc-4.exe named gcc.exe, and I expect that will work
> ok. (I've also done the same wrt cpp-4.exe, g++-4.exe and gcov-4.exe.)
> Is that what we're supposed to do ? ... or did I miss something ?
>

You need to add /etc/alternatives to your path.

I scrambled to find a solution to this one for a while too.
/ect/alternatives has softlinks to either gcc-4.exe
or gcc-3.exe so it allows you to easily switch between the two.

This can create problems though, if your build environment has
some pure windows programs that need to call the compiler
and don't understand about softlinks so YMMV.

Steve

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