Re: Using STL strings and supporting 10.2.x
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