• 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
Standard Library linking problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Standard Library linking problems


  • Subject: Standard Library linking problems
  • From: David Cohn <email@hidden>
  • Date: Wed, 23 Aug 2006 11:43:11 -0700

Hey all,

(I'm using Xcode 2.4, building a project for archs "ppc i386".)

I've read the thread "Re: linking against stdandard libraries":
	http://lists.apple.com/archives/xcode-users/2005/Jul/msg00495.html

...which states that linking with Standard C libraries should be automatic, but I'm having trouble with some pesky "Undefined symbols" which go away if I manually link stdc++:

	___gxx_personality_v0
	vtable for __cxxabiv1::__class_type_info
	vtable for __cxxabiv1::__si_class_type_info
	___cxa_pure_virtual
	vtable for __cxxabiv1::__pointer_type_info
	___cxa_begin_catch
	___cxa_end_catch
	vtable for __cxxabiv1::__vmi_class_type_info
	___cxa_allocate_exception
	___cxa_throw


I have LINK_WITH_STANDARD_LIBRARIES set, and can't find any other settings which seem to affect this.


...so my questions are:
- under what circumstances are the Standard Libraries passed or not?
- can I examine the Ld command line to verify what's happening? (i.e. what parameters would show the standard libraries being passed, or should I be seeing an explicit "-L" parameter for the requisite standard libs?)

Thanks,
--Dave


_______________________________________________
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


  • Prev by Date: Building a metadata importer
  • Next by Date: RE: Building a metadata importer
  • Previous by thread: Re: Building a metadata importer
  • Next by thread: Standard Library linking problems
  • Index(es):
    • Date
    • Thread