| delorie.com/archives/browse.cgi | search |
| 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: | <4B3B9AA5.1060307@gmail.com> |
| Date: | Wed, 30 Dec 2009 18:23:33 +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 AT cygwin DOT com |
| Subject: | Re: /var/lib/alternatives/gcc missing for alternatives 1.3.30c |
| References: | <001801ca8951$0096ce80$01c46b80$@calgacus.com> <4B3B8B70 DOT 4080106 AT cygwin DOT com> |
| In-Reply-To: | <4B3B8B70.4080106@cygwin.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 |
Larry Hall (Cygwin) wrote:
> On 12/30/2009 08:07 AM, Neil DOT Mowbray AT calgacus wrote:
>> Can someone please provide a valid /var/lib/alternatives/gcc file or link
>> me to either it's syntax or the programs source?
>
> This is created when alternatives runs for gcc. If you're missing it, it
> suggests to me that alternatives wasn't run. Check
> '/etc/postinstall/gcc.sh*" and "/etc/postinstall/gcc-g++.sh*". If there is
> no "done" suffix, these didn't run, which is why you don't have the
> alternatives files you're looking for. If there is a "done" suffix, these
> did run but apparently didn't do so successfully. Try running them again
> by hand and see what errors, if any, pop up.
Also, apologies: there was a packaging hiccup in the latest version, and the
execute permissions got lost. If you try to just run set-gcc-default-[34].sh
at the shell, you'll get a "Permission denied" error; you can either chmod a+x
them, or use the ". <name>" (aka bash "source" builtin) syntax to invoke them.
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |