Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com, "Dave Korn" <dave.korn@artimi.com>
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 <sds@gnu.org>
In-Reply-To: <NUTMEGY0VnkB4ltFlmm00000710@NUTMEG.CAM.ARTIMI.COM> (Dave Korn's message of "Tue, 14 Dec 2004 17:27:37 -0000")
References: <u7jnkdda1.fsf@gnu.org> <NUTMEGY0VnkB4ltFlmm00000710@NUTMEG.CAM.ARTIMI.COM>
Mail-Followup-To: cygwin@cygwin.com, "Dave Korn" <dave.korn@artimi.com>
Date: Tue, 14 Dec 2004 12:53:19 -0500
Message-ID: <uu0qobwc0.fsf@gnu.org>
User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (windows-nt)
MIME-Version: 1.0
Content-Type: text/plain

> * Dave Korn <qnir.xbea@negvzv.pbz> [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
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
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/

