delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/14/12:54:18

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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" <dave DOT korn AT artimi DOT com>
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 <sds AT gnu DOT org>
In-Reply-To: <NUTMEGY0VnkB4ltFlmm00000710@NUTMEG.CAM.ARTIMI.COM> (Dave Korn's message of "Tue, 14 Dec 2004 17:27:37 -0000")
References: <u7jnkdda1 DOT fsf AT gnu DOT org> <NUTMEGY0VnkB4ltFlmm00000710 AT NUTMEG DOT CAM DOT ARTIMI DOT COM>
Mail-Followup-To: cygwin AT cygwin DOT com, "Dave Korn" <dave DOT korn AT artimi DOT 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

> * Dave Korn <qnir DOT xbea AT negvzv DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019