This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

internationlization


that worked.

i just added:

#define WCHAR_UNSIGNED 1
#define WCHAR_TYPE_SIZE 16
#define WCHAR_TYPE "short unsigned int"
#define MAX_WCHAR_TYPE_SIZE WCHAR_TYPE_SIZE
to mips.h

and of course you have to use little endian.

> ----- Original Message ----- 
> From: "Mike Stump" <mrs@windriver.com>
> To: <reedkotler@hotmail.com>
> Sent: Friday, August 11, 2000 3:58 PM
> Subject: Re: internationlization
> 
> 
> > > From: reedkotler@hotmail.com
> > > To: "Mike Stump" <mrs@windriver.com>
> > > Date: Fri, 11 Aug 2000 15:34:51 -0700
> > 
> > > yes, but what "config" or "compiler time" parameter is it?
> > 
> > As documented in the manual...  I'll quote from it:
> > 
> > @findex WCHAR_TYPE_SIZE
> > @item WCHAR_TYPE_SIZE
> > A C expression for the size in bits of the data type for wide
> > characters.  This is used in @code{cpp}, which cannot make use of
> > @code{WCHAR_TYPE}.
> > 
> > @findex WCHAR_TYPE
> > @item WCHAR_TYPE
> > A C expression for a string describing the name of the data type to use
> > for wide characters.  The typedef name @code{wchar_t} is defined using
> > the contents of the string.  See @code{SIZE_TYPE} above for more
> > information.
> > 
> > If you don't define this macro, the default is @code{"int"}.
> > 
> > 
> > A port is free to use a wide range of compile time switches, if it
> > wants, to set the value of this.  See ports that do -mint64 types of
> > things.
> > 
> > > i know that cygnus is building wince applications so someone has a
> > > gcc that processes wide character strings properly for wince.
> > 
> 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]