This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: Add a wchar effective target to the testsuite


On Thu, Mar 15, 2007 at 08:44:17AM +0000, Richard Sandiford wrote:
> This patch adds an effective target for testing whether the runtime
> has wide character support.  It's usually enough to check whether
> <wchar.h> exists, but on uClibc targets, you also need to check
> whether __UCLIBC_HAS_WCHAR__ is defined; if it isn't, the header
> will still exist but will not be usable.
> 
> Tested on m68k-uclinux, i586-wrs-vxworks (which has no wchar.h)
> and x86_64-linux-gnu.  OK to install?

Yes.

Janis


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