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 To: cygwin AT cygwin DOT com, "Dave Korn" Subject: Re: why is -L/usr/local/lib necessary? Mail-Copies-To: never Reply-To: sds AT gnu DOT 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 AT cygwin DOT com, "Dave Korn" Date: Tue, 14 Dec 2004 12:53:19 -0500 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain > * 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/