site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=xYizkbrH84/HDLk5EhPNE9rVbOJf7ArXLEunYLlKIwE=; b=cb1AN9w6ZuyXgZHhJogmJ44xPkcEuuA4fReKPnvLzl1Ff5VFMEFjzEVqsMAausZxw5 Ro0Vw+IUM375t8OcjY1GYDHN74ps+8Z52qsAbKG9p8E/lS4g/rJBZcySn6j6pqlXyDeJ URp/8VfAPA0ZrAHBAbWHrTVtjmhsA8gRtSuXA= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=qLph2c6XhDLU5a+mZiEMNOEx0QFXByN/8k67yXdF7xQJP9xDEoZKKE/f0o7Cok5Gqk HyCamukDxz2uEUXoPRKsxHKNRBFLSIJPjwJmhQd2BTUx5/HklJmFcu7gdLrVwGxuJgJF 0T4FUBp3vUbGzAYGW2LTl9HAXwPPKclsfYs/g= Hi Jean Thanks. I have to support to 10.4 and 10.5 on both ppc and intel. Currently, I am using xcode 2.1. I have to write it to provide the wrapper functions on POSIX APIs for serial ports. I think, I am on right track. Thanks and regards rksinghal On 10/28/08, Jean-Daniel Dupas <devlists@shadowlab.org> wrote:
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.
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.
_______________________________________________ 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... This email sent to site_archiver@lists.apple.com