UNICODE support on newlib
Jeff Johnston
jjohnstn@redhat.com
Fri Jun 16 16:24:00 GMT 2006
Fernando Ramos wrote:
> I'm trying to compile newlib to implement the wide character functions
> in newlib to deal with 16-bit unicode characters. Is there a configure
> switch I can use for this purpose? Will I need to recompile GCC so I get
> 16-bit wide chars with L"My string" ?
>
> Thanks,
>
> Fernando Ramos
> Senior Software Engineer
> Hypercom Corp.
Use --enable-newlib-mb when you configure newlib. If you want iconv,
there are additional enable options which you can read about inside
newlib's configure.in. Wide string literals are part of the ANSI
standard.
-- Jeff J.
More information about the Newlib
mailing list