X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org X-Yahoo-SMTP: Uu383n6swBCEN1G9up0WSnxbvN8fCPmk Message-ID: <4C291469.6070304@cygwin.com> Date: Mon, 28 Jun 2010 17:30:17 -0400 From: "Larry Hall \(Cygwin\)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Looking for gcc.exe References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 6/28/2010 10:01 AM, Stephen Morton wrote: > "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 would not recommend this. There is always a symbolic link in '/usr/bin' for 'gcc' if it's been properly installed. There's no need to clutter your path regardless though. Just run 'sh /bin/set-gcc-default-4.sh' if you're missing '/usr/bin/gcc'. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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