From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22100 invoked by alias); 14 Dec 2004 17:53:48 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 21835 invoked from network); 14 Dec 2004 17:53:39 -0000 Received: from unknown (HELO alphatech.com) (198.112.236.6) by sourceware.org with SMTP; 14 Dec 2004 17:53:39 -0000 Received: from WINSTEINGOLDLAP (winsteingoldlap.ad.alphatech.com [10.0.64.31]) by alphatech.com (8.12.10/8.12.10) with ESMTP id iBEHrJY3022913; Tue, 14 Dec 2004 12:53:20 -0500 (EST) To: cygwin@cygwin.com, "Dave Korn" Subject: Re: why is -L/usr/local/lib necessary? Mail-Copies-To: never Reply-To: sds@gnu.org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. From: Sam Steingold In-Reply-To: (Dave Korn's message of "Tue, 14 Dec 2004 17:27:37 -0000") References: Mail-Followup-To: cygwin@cygwin.com, "Dave Korn" Date: Tue, 14 Dec 2004 17:53:00 -0000 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2004-12/txt/msg00502.txt.bz2 > * Dave Korn [2004-12-14 17:27:37 +0000]: > > Look, you have only two choices. Either put your libs in the default > search path, or specify the path. It's not unreasonable that gcc > can't magically guess where you've hidden them. I agree, with a minor additions: 1. /usr/local/lib/ is a fairly standard location, and it appears that gcc and ld.so on linux are aware of it. I see no good reason for cygwin to ignore it. 2. linux has /etc/ld.so.conf where I can put my "hidden" directories so that I do not have to put them in the command line. is there a similarly magical file on cygwin? -- Sam Steingold (http://www.podval.org/~sds) running w2k Why use Windows, when there are Doors? -- 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/