/usr/lib and /lib mount question

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Fri Jul 9 18:25:00 GMT 2004

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
>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.


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/

More information about the Cygwin mailing list