Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rpath in the loader



There is no direct equivalent. If I'm not mistaken, -rpath in GNU ld stores a set of directories that are consulted at runtime for dependent shared libraries. The closest thing is the -install_name flag as documented in ld(1), which embeds a shared library's installed path. Programs that link against the library at static link time store this path, to be used by the dynamic linker at runtime.

Shantonu


On Oct 22, 2004, at 2:56 AM, Damir Buskulic wrote:


Hi,

I'm sorry if this is a FAQ, but I didn't find it anywhere.

What is, in the apple version of ld, the replacement for the "rpath" option giving a set of directories to search for a shared library (or a bundle)?

Thanks

Damir
====================================
Damir Buskulic,  Universite de Savoie/LAPP
Chemin de Bellevue, B.P. 110, F-74941 Annecy-le-Vieux Cedex, FRANCE
Tel : +33 (0)450091600
e-mail: email@hidden
====================================
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >rpath in the loader (From: Damir Buskulic <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.