X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Message-ID: <4B65BC61.7020303@gmail.com> Date: Sun, 31 Jan 2010 17:22:41 +0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Cygwin Mailing List Subject: Re: gcc command not found References: <37bd06461001310833l65aecd16r3b0e9f2e9c9c764d AT mail DOT gmail DOT com> <4B65BAD3 DOT 60605 AT gmail DOT com> In-Reply-To: <4B65BAD3.60605@gmail.com> Content-Type: text/plain; charset=UTF-8 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 31/01/2010 17:16, Dave Korn wrote: > On 31/01/2010 16:33, Paul Cantalupo wrote: > >> OK here is the output from "ls -l /etc/postinstall/gcc*" > > Argh. Bad perms, gah. Try this: > > for x in /etc/postinstall/{gcc.,gcc-[^tm],gcc4-}* ; > do > . $x > done > > Then check in your bin dir for all the appropriate names and links. Oh, you will probably need to run these first: chmod a+x /usr/bin/set-gcc-default* chmod a+x /usr/sbin/fix-libtool-scripts-for-latest-gcc-runtimes.sh Then after it's all done you should be able to run either "set-gcc-default-3.sh" or "set-gcc-default-4.sh" to set whichever version of the compiler you want as your default. 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