delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/06/04:48:05

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
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 AT landheer DOT com>
X-X-Sender: ronald AT localhost DOT localdomain
To: Isaque Galdino <isaque AT uol DOT com DOT br>
cc: cygwin AT cygwin DOT 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

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/

- Raw text -


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