delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/07/09/14:25:49

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Fri, 9 Jul 2004 14:24:58 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: /usr/lib and /lib mount question
Message-ID: <20040709182458.GC6306@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <40EED86B DOT 7030307 AT sri DOT com> <Pine DOT GSO DOT 4 DOT 58 DOT 0407091355010 DOT 648 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.58.0407091355010.648@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4.1i

On Fri, Jul 09, 2004 at 01:56:39PM -0400, Igor Pechtchanski wrote:
>On Fri, 9 Jul 2004, Alan Jaynes wrote:
>>after installing gcc with the latest setup.exe i receive this error
>>message when running gcc:
>>
>>$ gcc
>>gcc: /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs: No such file or directory
>>
>>as such, make becomes completely unusable as do most configure scripts.
>>
>>i discovered /lib is mounted on /usr/lib from the faq.  ls can see the
>>file but gcc cannot.  i attempted uninstalling and reinstalling without
>>success.  http://sources.redhat.com/ml/cygwin/2004-05/msg00963.html
>>seemed in the same vein, but i don't believe this is a missing install
>>issue.
>
>I think you may have hit on the "trailing slash in mount" problem.  Try
>issuing the following commands:
>
>mount -s -b "c:/cygwin" "/" mount -s -b "c:/cygwin/bin" "/usr/bin"
>mount -s -b "c:/cygwin/lib" "/usr/lib"

  mount -f -s -b "c:/cygwin" "/"
  mount -f -x -s -b "c:/cygwin/bin" "/usr/bin"
  mount -f -s -b "c:/cygwin/lib" "/usr/lib"

might work a little better.  The -f is necessary for already mounted
directories and the -x tells cygwin that the contents of the directory
are all executable which speeds things up slightly.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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