Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to create a dynamic library?




On Apr 19, 2005, at 7:04 PM, Peter O'Gorman wrote:

Ness Joumaa wrote:

Ah, it's just portable runtime code.Thanks. Any hints on creating a dynamic library? And I know I'm being a real hag, but what is the speed difference in using a dynamic library?

Please keep this on list.

I have no idea how to create a loadable module from xcode. From the command line you'd do something like:

gcc -o libfoo.so -bundle a.c

As for the speed difference involved in loading code at runtime compared with linking the code in, I can not quantify it for your application. It will be slower. How much slower depends on your code.

Peter
--
Peter O'Gorman - http://www.pogma.com


My bad, I forgot to replace your email with the list's.

I have another concern. In the man page, the only examples they have are only in C. Does dyld support C++ dynamic libraries?

--ness

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >How to create a dynamic library? (From: Ness Joumaa <email@hidden>)
 >Re: How to create a dynamic library? (From: "Peter O'Gorman" <email@hidden>)
 >Re: How to create a dynamic library? (From: Ness Joumaa <email@hidden>)
 >Re: How to create a dynamic library? (From: "Peter O'Gorman" <email@hidden>)
 >Re: How to create a dynamic library? (From: "Peter O'Gorman" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.