|
From: | Peter O'Gorman |
Subject: | Re: darwin sys_lib_search_path_spec patch |
Date: | Thu, 6 Feb 2003 13:55:55 +0900 |
On Thursday, February 6, 2003, at 01:59 AM, Bob Friesenhahn wrote:
I second this opinion. While /usr/local may be the default install prefix, it may serve as a trashcan for outdated relics on many systems which do not use the default prefix. As soon as the user specifies a prefix other than /usr/local, /usr/local should be ignored unless the system's tools automatically look there.
Um, well, regardless of what gcc -print-search-dirs says, gcc invokes ld to do the linking and ld looks in /lib /usr/lib and /usr/local/lib. I am not talking about adding arbitrary paths for my own amusement, the system tools do look in /usr/local/lib, just gcc -print-search-dirs sucks.
Peter
[Prev in Thread] | Current Thread | [Next in Thread] |