Re: "Flattening" a static library
Re: "Flattening" a static library
- Subject: Re: "Flattening" a static library
- From: Daniel Jalkut <email@hidden>
- Date: Thu, 03 Nov 2005 00:34:15 -0500
Hi Rush - I thank you for responding. I think you sort of understand my problem but not entirely. This issue is not so much about header files, but about the linker phase. When I compile all my constituent files into a static library, it's easy to limit the header file access to that interface, but the linker will still recognize the static library as a collection of individual .o files, and therefore resolve all symbols from those files as if they were defined in individual .c files in the project.
D
On Nov 2, 2005, at 8:43 PM, Rush Manbert wrote: Then you link CoreStuff.o, PithyStuff.o, SeedyStuff.o, and MyApi.o into the static library.
All your library users need to include is MyApi.h. They never see the other stuff, because they never need to include the headers.
Does this make sense or have I completely misunderstood your problem?
|
_______________________________________________
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