• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
dylib install name, install_name_tool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: dylib install name, install_name_tool
      • From: "Peter O'Gorman" <email@hidden>
  • Prev by Date: Re: dyld issues with library not in standard location
  • Next by Date: Re: zlib link error
  • Previous by thread: Re: I can't build with Xcode 2.2_preview3_8m639_018213953
  • Next by thread: Re: dylib install name, install_name_tool
  • Index(es):
    • Date
    • Thread