[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: darwin sys_lib_search_path_spec patch

From: Albert Chin
Subject: Re: darwin sys_lib_search_path_spec patch
Date: Wed, 5 Feb 2003 07:49:35 -0600
User-agent: Mutt/1.4i

On Wed, Feb 05, 2003 at 12:55:45AM -0600, Robert Boehne wrote:
> Here is a patch that fixes the use of \n in the sed command.  It does
> the same thing, but with tr instead of sed.  I'm going to check this
> in now as an obvious bugfix.  I checked it with the native sed and it
> does work.
>   You also made a comment about /usr/local/bin not showing up, this
> apparently is version-specific according to these tests:
> Darwin Kernel Version 6.3 gives
>  ./libtool --config | grep sys_lib
> sys_lib_search_path_spec=" /usr/libexec/gcc/darwin/ppc/3.1/
> /usr/local/libexec/gcc/darwin/ppc/3.1/
> /usr/libexec/gcc/darwin/ppc-darwin/3.1/../../../../ppc-darwin/lib/ppc/3.1/
> /usr/libexec/gcc/darwin/ppc-darwin/3.1/../../../../ppc-darwin/lib/
> /usr/lib/gcc/darwin/ppc/3.1/ /usr/lib/gcc/darwin/
> /usr/libexec/gcc/darwin/ppc/3.1/../../../ppc/3.1/
> /usr/libexec/gcc/darwin/ppc/3.1/../../../ /lib/ppc/3.1/ /lib/
> /usr/lib/ppc/3.1/ /usr/lib/ "
> sys_lib_dlsearch_path_spec="/lib /usr/lib"
> Note, no /usr/local/lib present.
> Now on a slightly older Darwin Kernel Version 5.5
>  ./libtool --config | grep sys_lib 
> sys_lib_search_path_spec=" /usr/local/libexec/gcc/darwin/ppc/2.95.2/
> /usr/libexec/gcc/darwin/ppc/2.95.2/ /usr/ppc-darwin/lib/ppc/2.95.2/
> /usr/ppc-darwin/lib/ /usr/local/lib/gcc/darwin/ppc/2.95.2/
> /usr/local/lib/gcc/darwin/ /usr/lib/gcc/darwin/ppc/2.95.2/
> /usr/lib/gcc/darwin/ /usr/local/lib/ppc/2.95.2/ /usr/local/lib/
> /lib/ppc/2.95.2/ /lib/ /usr/lib/ppc/2.95.2/ /usr/lib/ "
> sys_lib_dlsearch_path_spec="/lib /usr/lib"
> Which does include /usr/local/lib.
> Would you like to submit a patch that adds /usr/local/lib to this
> list if it is not present?  Also, is the _dlsearch_path_spec correct
> or should it also have /usr/local/lib in it?

Ick. I say don't add non-default random paths.

albert chin (address@hidden)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]