• 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: linking against stdandard libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linking against stdandard libraries


  • Subject: Re: linking against stdandard libraries
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 22 Jul 2005 08:52:42 -0700


On Jul 22, 2005, at 5:11 AM, Damien Bobillot wrote:

If the stdc++ lib is not included, just add it to your projet as you do for all other liibraries.

No, don't do this.

We omit this from the UI and from the project templates for a reason.

The compiler "owns" the definition of the C++ standard library, because the use of the library is tightly coupled with C++ code generation. So the compiler determines, based on your code model, what library functions to link to. Let the compiler do its job.

Chris

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >linking against stdandard libraries (From: Andreas Grosam <email@hidden>)
 >Re: linking against stdandard libraries (From: Chris Espinosa <email@hidden>)
 >Re: linking against stdandard libraries (From: Andreas Grosam <email@hidden>)
 >Re: linking against stdandard libraries (From: Damien Bobillot <email@hidden>)

  • Prev by Date: Re: Subversion does not work
  • Next by Date: Re: How to attach headers to targets
  • Previous by thread: Re: linking against stdandard libraries
  • Next by thread: build warnings - stumped
  • Index(es):
    • Date
    • Thread