• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Dynamic library in C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dynamic library in C++


  • Subject: Re: Dynamic library in C++
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Tue, 28 Oct 2008 11:13:34 +0100


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 (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Dynamic library in C++
      • From: "Rakesh Singhal" <email@hidden>
References: 
 >Dynamic library in C++ (From: "Rakesh Singhal" <email@hidden>)

  • Prev by Date: Attack of the itchy security-minded thread stealer! (Was: Re: setuid for priv sockets?)
  • Next by Date: Weakly-Linked Symbols
  • Previous by thread: Dynamic library in C++
  • Next by thread: Re: Dynamic library in C++
  • Index(es):
    • Date
    • Thread