Re: dylib install name, install_name_tool
Re: dylib install name, install_name_tool
- Subject: Re: dylib install name, install_name_tool
- From: "Peter O'Gorman" <email@hidden>
- Date: Fri, 21 Oct 2005 00:47:32 +0900
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sean McBride wrote:
| 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.
- -headerpad_max_install_names
Note that for some reason ld64 does not accept this flag. I don't believe
that it errors out, but it does not actually do anything. Also note that
there is a little room in the headers anyway for various reasons, it may not
always be necessary to add padding.
I suggest reading man 1 ld
Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)
iQCVAwUBQ1e8FLiDAg3OZTLPAQISDQP/f5ociT+LyVVlcfV9joP8tw5sYeecpUwn
MecsFZrLc1P6DfNhBXvnSrL++o1/Nz7OcopuDnW46sAXmvzexqa9Hx2ZInphh20b
WDRGVL3U62rd3g4qME+qlqyWwfG7TVkQhm9nlGKQd0h3jNTbXZhw8NTeihf6nehU
PME7K2hRudY=
=rPhq
-----END PGP SIGNATURE-----
_______________________________________________
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