site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Le 28 oct. 08 à 10:28, Rakesh Singhal a écrit : Hi all I have to write a dynamic library to communicate with serial ports using the system APIs (POSIX APIs) in C++. Mac OS provieds the following types of dynamic libraries. 1. BSD Dynamic Library 2. Carbon Dynamic Library 3. Cocoa Dynamic Library Which one would be suitable for this purpose. I think I will have to write BSD dynamic library. Kindly suggest me. Thanks in advance. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Regards They are all equivalent (and produce the same kind of binary). The only difference between these templates is the set of default libraries/frameworks include in the project. In Xcode 3, you have other kind of dynamic library templates, and particulary C++ dynamic library. I will recommand that for you. If you don't have this template, just create a BSD dynamic library project and add the libstdc++ to your project. This email sent to site_archiver@lists.apple.com
participants (1)
-
Jean-Daniel Dupas