Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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/