What steps will reproduce the problem?
1. Compile http://pastebin.ca/899561 with arm-apple-darwin-g++
2. Run on the iPhone
What is the expected output? What do you see instead?
I see : (http://nopaste.com/p/alJ1danpX)
String str1: TEST
String str2: TEST
Operation: (str1 == str2)
Strings str1 & str2 are equal.
dyld: lazy symbol binding failed: Symbol not found:
__ZNSbIwSt11char_traitsIwESaIwEEC1EPKwRKS1_
Referenced from: /Applications/wchar
Expected in: /usr/lib/libstdc++.6.dylib
dyld: Symbol not found: __ZNSbIwSt11char_traitsIwESaIwEEC1EPKwRKS1_
Referenced from: /Applications/wchar
Expected in: /usr/lib/libstdc++.6.dylib
zsh: trace trap /Applications/wchar
What version of the product are you using? On what operating system?
Latest toolchain, Leopard 10.5.1
Please provide any additional information below.
Looks like the native libstdc++ on the iPhone doesn't have any wchar
support, where the toolchain has it. Any program using wchar will fail
because lazy bindings failed to resolve some symbols.
Original issue reported on code.google.com by b0n...@gmail.com on 11 Feb 2008 at 6:30
Original issue reported on code.google.com by
b0n...@gmail.com
on 11 Feb 2008 at 6:30