• 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
gcc build with multibyte support?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: gcc build with multibyte support?
      • From: "Glenn L. Austin" <email@hidden>
  • Prev by Date: Adjusting breakpoints
  • Next by Date: Re: asm block alignment
  • Previous by thread: Adjusting breakpoints
  • Next by thread: Re: gcc build with multibyte support?
  • Index(es):
    • Date
    • Thread