Re: Static linking with the Mach-O linker in PB
Re: Static linking with the Mach-O linker in PB
- Subject: Re: Static linking with the Mach-O linker in PB
- From: Jeff Disher <email@hidden>
- Date: Tue, 3 Jun 2003 04:50:40 -0400
I had to include a static library of libpoll for Crack Attack! and I
used a pretty basic hack. As I recall, I created a copy of the
libpoll.a library somewhere else in the system (it was in /sw/lib, I
think (fink)) and add the library to the project from that location.
It is ugly but not a big a problem and seems to work. If they are ever
in the same directory, the linker will default to the dylib (as I am
sure you know).
Jeff.
On Monday, June 2, 2003, at 03:45 PM, Daniel Aarno wrote:
Mondayen den 2 June 2003 kl 21.01 skrev Carl Norum:
As far as I know and have been able to find out, you can't. To link
statically with sqlite in my project, I had to delete all the
libsqlite*.dylib files from /usr/local/lib.
Good luck!
Well I solved it in my project by including the sources for the
library I needed but if anyone have any knowledge about this problem
(even an explanation to why it won't work) it would be interesting to
know.
/Bishop
--
"Every act of destruction is an act of creation." - Picaso
_______________________________________________
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.
Jeff Disher
President and Lead Developer of Spectral Class
Spectral Class: Shedding Light on Innovation
http://www.spectralclass.com/
_______________________________________________
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.