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 From: "Dave Korn" To: Subject: RE: why is -L/usr/local/lib necessary? Date: Wed, 15 Dec 2004 12:04:40 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: Message-ID: X-OriginalArrivalTime: 15 Dec 2004 12:04:40.0109 (UTC) FILETIME=[4146DDD0:01C4E29E] > -----Original Message----- > From: cygwin-owner On Behalf Of Andrew Schulman > Sent: 14 December 2004 19:53 > > > why doesn't "gcc -lfoo" (ld) find /usr/local/lib/foo.dll? > > > what do I do to avoid this? > > > > Edit /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/specs > > Geez, that thing should be in /etc. Actually it should not in general be edited or tampered with whatsoever. Mess up with the order of system and installation-local paths and you risk breaking all sorts of build scripts. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/