• 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: Using STL strings and supporting 10.2.x
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using STL strings and supporting 10.2.x


  • Subject: Re: Using STL strings and supporting 10.2.x
  • From: Mark Thomas <email@hidden>
  • Date: Fri, 18 Apr 2008 22:16:18 +0100
  • Thread-topic: Using STL strings and supporting 10.2.x

>
>> Hi All,
>>  Does anybody know how to stop the STL string class including any unicode
>> support, as we are compiling a .dylib with Xcode 2.2.1 on 10.4, but when
>> the
>> library loads on a 10.2 system we are getting linker errors because of the
>> lack of wchar support on 10.2.x.
>
>
> What are the errors? And, what compiler version are you using? Binaries
> built with g++ 4 require 10.3.9 or newer; to support 10.2, you must use g++
> 3.3 instead, as documented here:
>
>     <
> http://developer.apple.com/documentation/DeveloperTools/Conceptual/cross_devel
> opment/HowItWorks/chapter_2_section_9.html
>>
  Yes I am using gcc 3.3, which is setting via GCC_VERSION_ppc flag within
the Xcode project (universal settings), which builds fine. There are no
problems building the .dylib because I'm using a 10.4.x system, I have set
the deploy target to 10.2, but that seems only to matter for frameworks not
system libs.

  I'm getting undefined symbols for

         U _wcscoll
         U _wcsftime
         U _wcslen
         U _wcsrtombs
         U _wcsxfrm
         U _wctob
         U _wctype

  which I understand aren't present on 10.2.x, when the .dylib tries to
load.

Thanks
Mark.


 _______________________________________________
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

  • Follow-Ups:
    • Re: Using STL strings and supporting 10.2.x
      • From: Steve Checkoway <email@hidden>
  • Prev by Date: Re: G4 867mhz, Leopard, and XCode 3
  • Next by Date: Preprocessor, problem
  • Previous by thread: Re: Using STL strings and supporting 10.2.x
  • Next by thread: Re: Using STL strings and supporting 10.2.x
  • Index(es):
    • Date
    • Thread