delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/31/12:05:36

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 <dave DOT korn DOT cygwin AT googlemail DOT com>
User-Agent: Thunderbird 2.0.0.17 (Windows/20080914)
MIME-Version: 1.0
To: Cygwin Mailing List <cygwin AT cygwin DOT com>
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>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019