gcc build with multibyte support?
gcc build with multibyte support?
- Subject: gcc build with multibyte support?
- From: Zartaj Majeed <email@hidden>
- Date: Fri, 09 Apr 2004 16:07:02 -0700
Does Apple provide a gcc build enabled for multibyte
support, i.e. with configure option --enable-c-mbchar?
The gcc preprocessor on a US English 10.3 system cannot parse
Japanese shift-jis string literals in C source. I tried
LC_CTYPE=ja_JP gcc -E -P sjis.cpp
on the following file:
//sjis.cpp
#define SJIS_STRING "\x90\"
shift-jis 0x905c is U+7533 and 0x5c happens to be backslash.
The gcc errors were:
sjis.cpp:1:21: missing terminating " character
#pragma GCC set_debug_pwd "/tmp"
I assume the default gcc is not built with --enable-c-mbchar
and that is the source of the problem. Also gcc -v does
not provide much information about gcc configuration
which would be useful to duplicate if I build gcc myself.
Is there some other documentation on the build configuration
of the gcc in XCode?
Thanks,
Zartaj
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.