$ ../glibc-VERSION/configure CC="gcc -m32" CFLAGS="-O3"
- To test the GNU C Library with a different C compiler or a different
-C++ compiler, 'TEST_CC=COMPILER' and 'TEST_CXX=COMPILER' arguments can
-be passed to 'configure'. For example:
+ To test the GNU C Library with a different set of C and C++
+compilers, 'TEST_CC=COMPILER' and 'TEST_CXX=COMPILER' arguments can be
+passed to 'configure'. For example:
$ ../glibc-VERSION/configure TEST_CC="gcc-6.4.1" TEST_CXX="g++-6.4.1"
Major new features:
+* Support testing glibc build with a different set of C and C++ compilers
+ from the C and C++ compilers used to build glibc with
+
+ $ ../configure TEST_CC="gcc-6.4.1" TEST_CXX="g++-6.4.1"
+
+ And support testing glibc build with Clang
+
+ $ ../configure TEST_CC="clang" TEST_CXX="clang++"
+
+ Some run-time failures with Clang are expected.
+
* In /etc/resolv.conf and the RES_OPTIONS, option flags can now be
prefixed with “-” to clear previously set flags. For example, if
/etc/resolv.conf contains “options no-aaaa”, a process running with
$ ../glibc-@var{version}/configure CC="gcc -m32" CFLAGS="-O3"
@end smallexample
-To test @theglibc{} with a different C compiler or a different C++
-compiler, @samp{TEST_CC=@var{compiler}} and
-@samp{TEST_CXX=@var{compiler}} arguments can be passed to
-@code{configure}. For example:
+To test @theglibc{} with a different set of C and C++ compilers,
+@samp{TEST_CC=@var{compiler}} and @samp{TEST_CXX=@var{compiler}}
+arguments can be passed to @code{configure}. For example:
@smallexample
$ ../glibc-@var{version}/configure TEST_CC="gcc-6.4.1" TEST_CXX="g++-6.4.1"