This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Add a wchar effective target to the testsuite
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org, richard at codesourcery dot com
- Date: Thu, 15 Mar 2007 10:20:17 -0800
- Subject: Re: Add a wchar effective target to the testsuite
- References: <87veh2j3q6.fsf@firetop.home>
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