Re: Creating a Mach-O library?
Re: Creating a Mach-O library?
- Subject: Re: Creating a Mach-O library?
- From: Pierre-Olivier Latour <email@hidden>
- Date: Tue, 20 Aug 2002 20:37:43 +0200
>
Yes, Project Builder can build shared libraries. But before I explain how
>
to do that, I should say that you should be using a framework. It's not
>
really that "heavy" - it's just a proper packaging structure for your mach-o
>
shared library and its associated headers (which it sounds like you'll need
>
anyway).
OK I'll give it a try.
>
To create a shared library in Project Builder, you need to create a new
>
library target. Unfortunately, at this time you can't create a library
>
project type when creating a new project, so you have to create a project
>
with some other type, like application, and then just add a library target.
>
After creating the library target, go into the target editor pane and make
>
sure your library name is of the form libfoobar.dylib and finally under the
>
"Expert View" change the LIBRARY_STYLE to DYNAMIC.
Thanks for the method! But what am I building exactly? A shared library
where the mach-o file would stay separate from the application mach-o file
(*)?
Or a library that will be merged by the linker into the application mach-o
file?
If this is the first case, how can I switch to the second one?
(*) btw: where do I have to put this shared library file inside the
application package?
_____________________________________________________________
Pierre-Olivier Latour email@hidden
Lausanne, Switzerland
http://www.pol-online.net
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.