X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 tests=AWL,BAYES_40,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 Date: Mon, 28 Jun 2010 10:01:18 -0400 Message-ID: Subject: Re: Looking for gcc.exe From: Stephen Morton To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 "Sisyphus" 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