• 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
Re: Changing product name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing product name


  • Subject: Re: Changing product name
  • From: Justin Walker <email@hidden>
  • Date: Tue, 22 Mar 2005 10:40:14 -0800


On Mar 22, 2005, at 9:03, David Catmull wrote:

How do I change the product name for a target?

I made a library project named asl_lib (for the Adobe Source Libraries), and the product was automatically named libasl_lib.a. I don't want the lib prefix; I want it to be asl_lib to be consistent with the existing ASL stuff. I tried renaming the item in the Products group, but that doesn't seem to have been effective.

Can't be done. The Mac OS X tool chain uses Unix conventions, and the long-standing convention for libraries is that all libraries are name "libfoo.x", where 'x' is something like "a" or "dylib" and the reference to the library is "-lfoo".


If you want to name the library in opposition to these conventions, then you have to specify the library by full pathname on the link/compile line and not use "-lfoo". This works for ".a" libraries on Mac OS X; I have not tried this with ".dylib" libraries.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large  *
Institute for General Semantics        |   If you're not confused,
                                       |   You're not paying attention
*--------------------------------------*-------------------------------*

_______________________________________________
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


References: 
 >Changing product name (From: David Catmull <email@hidden>)

  • Prev by Date: Re: missing gcc 3.3 for 10.1.5 SDK?
  • Next by Date: Re: missing gcc 3.3 for 10.1.5 SDK?
  • Previous by thread: Re: Changing product name
  • Next by thread: Framework issues
  • Index(es):
    • Date
    • Thread