dylib install name, install_name_tool
dylib install name, install_name_tool
- Subject: dylib install name, install_name_tool
- From: "Sean McBride" <email@hidden>
- Date: Thu, 20 Oct 2005 11:12:06 -0400
- Organization: Rogue Research
Hi all,
There have been a number of threads recently where the solution involved
changing a dynamic shared library's install name, using the
install_name_tool command line tool.
There are a few things I'm wondering about all this. The
install_name_tool man page says "For this tool to work when the
install names are larger the binary should be built with the ld(1) -
header-pad_max_install_names option."
1) is that hyphen from man doing some word wrapping? That is, is it -
header-pad_max_install_names or -headerpad_max_install_names? There are
many google hits for both. Seems weird to use - and _ in the same name.
2) is there a reason to never NOT use -header-pad_max_install_names? I
notice an xCode "BSD dynamic library" project does not use it. Seems to
me using a few extra bytes in a dylib is no big deal compared to not
being able to change the install name later!
3) where do I put it? In "Other Linker Flags"?
Thanks!
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden