Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: localhost.localdomain: ronald owned process doing -bs
Date: Thu, 6 Feb 2003 10:54:23 +0100 (CET)
From: Ronald Landheer-Cieslak <ronald@landheer.com>
X-X-Sender: ronald@localhost.localdomain
To: Isaque Galdino <isaque@uol.com.br>
cc: cygwin@cygwin.com
Subject: Re: /usr/local/lib on library path
In-Reply-To: <H9UP1J$IvFnE6PcwmNbmrtVLi7Q8qTWg3_rM6V@uol.com.br>
Message-ID: <Pine.LNX.4.44.0302061035200.406-100000@localhost.localdomain>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Ehm.. why?

Try a gcc -print-search-dirs on any *NIX of GNU box and see if 
/usr/local/lib is in there. On my Linux box, this gives:

libraries: 
=/usr/lib/gcc-lib/i386-redhat-linux/3.2/:/usr/lib/gcc/i386-redhat-linux/3.2/:/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../../i386-redhat-linux/lib/i386-redhat-linux/3.2/:/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../../i386-redhat-linux/lib/:/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../i386-redhat-linux/3.2/:/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../:/lib/i386-redhat-linux/3.2/:/lib/:/usr/lib/i386-redhat-linux/3.2/:/usr/lib/

and on my FreeBSD box this gives:
libraries: 
=/usr/lib/gcc-lib/i386-unknown-freebsd4.7/3.2.1/:/usr/lib/gcc/i386-unknown-freebsd4.7/3.2.1/:/usr/lib/gcc-lib/i386-unknown-freebsd4.7/3.2.1/../../../../i386-unknown-freebsd4.7/lib/i386-unknown-freebsd4.7/3.2.1/:/usr/lib/gcc-lib/i386-unknown-freebsd4.7/3.2.1/../../../../i386-unknown-freebsd4.7/lib/:/usr/lib/gcc-lib/i386-unknown-freebsd4.7/3.2.1/../../../i386-unknown-freebsd4.7/3.2.1/:/usr/lib/gcc-lib/i386-unknown-freebsd4.7/3.2.1/../../../:/lib/i386-unknown-freebsd4.7/3.2.1/:/lib/:/usr/lib/i386-unknown-freebsd4.7/3.2.1/:/usr/lib/

so I see no reason for Cygwin to add it when Linux and BSD don't (not that 
Linux and BSD are the only relevant systems to compare to, of course)

rlc

On Wed, 5 Feb 2003, Isaque Galdino wrote:

> > From the gcc info (`info gcc`), chapter "Environment variabl
> es":
> > `LIBRARY_PATH'
> >      The value of `LIBRARY_PATH' is a colon-
> separated list of
> That's ok, but shouldn't it be already been configured by 
> cygwin environment?
> 
> Isaque Galdino
> "Free as a penguim" - maybe The Beatles were trying to 
> say that! :)
> 
>  
> ---
> UOL, o melhor da Internet
> http://www.uol.com.br/
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 
> 


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

