• 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
proper library versioning?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

proper library versioning?


  • Subject: proper library versioning?
  • From: Shawn Protsman <email@hidden>
  • Date: Thu, 10 Apr 2008 13:04:24 -0700

I'm porting some libraries to OS X and am a little confused about library versioning. In linux, I'd simply do something like this:

$(CC) -shared -Wl,-O1 -Wl,-soname,$(PROG).so.$(VERSIONMAJOR)

The end result would be 'libprog.so.1.3.5'.

I've moved my source into Xcode but have no idea where to get the dylib versioning setup, or if it is equivalent in the OS X world. When I look at /usr/local/lib MacFUSE libs I see this:

<snip>
lrwxr-xr-x 1 root wheel 15B Mar 13 21:06 libfuse.0.0.0.dylib@ -> libfuse.0.dylib
-rwxr-xr-x 1 root wheel 307K Jan 8 18:04 libfuse.0.dylib*


0.0.0? If anyone can point me to a doc that describes this and where to set "versioning" for my lib in Xcode I'd appreciate it. Or, if you just want to clue me that would be great too ;-).

I'm using Xcdoe 3.0 (OS 10.5.2).

--Shawn
_______________________________________________
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: proper library versioning?
      • From: Hauke Klein <email@hidden>
  • Prev by Date: Re: Debugging __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__
  • Next by Date: IB 3 Doesn't Update Binsings on Key Change
  • Previous by thread: Re: A few class model questions
  • Next by thread: Re: proper library versioning?
  • Index(es):
    • Date
    • Thread