git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Be nice with compilers that do not support runtime paths at all.

From
Brian Gernhardt <benji@silverinsanity.com>
Date
Oct 4, 2007, 01:08 UTC
Message-ID
<FC9DDD6F-14A5-4B73-9192-042EA107ED77@silverinsanity.com>
In-Reply-To
<47041C7A.9090003@midwinter.com>
On Oct 3, 2007, at 6:49 PM, Steven Grimm wrote:
Show 12 quoted lines
> Benoit Sigoure wrote:
>> On Darwin for instance, there is no -R or -Wl,-rpath thing to  
>> fiddle with,
>> it's simply not supported by the dynamic loader.  This patch  
>> introduces a
>> NO_RPATH define which is enabled by default for Darwin.
>>
>
> I compile git on a MacBook Pro (OS X 10.4, gcc 4.0.1 build 5367  
> from the normal Xcode install that comes on the OS install DVD) on  
> a regular basis. The makefile works fine for me. I suspect there's  
> something else going on here.
The rpath code is only used if you define one of the following options:

CURLDIR ZLIB_PATH OPENSSLDIR ICONVDIR

The default Darwin options don't define any of these, it just relies on finding those libraries in the library path (including /sw or /opt/ local if you have them installed).

~~ Brian G.
Previous: Steven GrimmNext: Junio C Hamano
Message 5 of 14 in “Linking with -R (rpath) not supported on Darwin”
  1. Benoit SIGOUREOct 3, 2007
  2. Junio C HamanoOct 3, 2007
  3. Be nice with compilers that do not support runtime paths at all.Benoit Sigoure, Oct 3, 2007
  4. Steven GrimmOct 3, 2007
  5. Brian GernhardtOct 4, 2007
  6. Junio C HamanoOct 3, 2007
  7. Brian GernhardtOct 4, 2007
  8. Benoit SIGOUREOct 4, 2007
  9. Benoit SIGOUREOct 21, 2007
  10. Shawn O. PearceOct 22, 2007
  11. Brian DessentOct 22, 2007
  12. Johannes SchindelinOct 22, 2007
  13. Brian GernhardtOct 3, 2007
  14. Benoit SIGOUREOct 3, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.