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: gcc command not found


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]