diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-12-24 05:20:43 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-12-24 16:16:38 +0800 |
commit | 0c36c983ecb522688b3e4dbad6196839188509d9 (patch) | |
tree | 4d076776d19f94438a458ce592865fa393e0e328 | |
parent | d0b8aa6de4529231fadfe604ac2c434e559c2d9e (diff) | |
download | glibc-0c36c983ecb522688b3e4dbad6196839188509d9.zip glibc-0c36c983ecb522688b3e4dbad6196839188509d9.tar.gz glibc-0c36c983ecb522688b3e4dbad6196839188509d9.tar.bz2 |
NEWS: Mention testing glibc build with a different set of compilers
Also document C and C++ compilers used to test glibc should come from
the same set of compilers.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Sam James <sam@gentoo.org>
-rw-r--r-- | INSTALL | 6 | ||||
-rw-r--r-- | NEWS | 11 | ||||
-rw-r--r-- | manual/install.texi | 7 |
3 files changed, 17 insertions, 7 deletions
@@ -49,9 +49,9 @@ if 'CFLAGS' is specified it must enable optimization. For example: $ ../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" @@ -9,6 +9,17 @@ Version 2.41 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 diff --git a/manual/install.texi b/manual/install.texi index 61745b8..05a774b 100644 --- a/manual/install.texi +++ b/manual/install.texi @@ -75,10 +75,9 @@ and @theglibc{} cannot be compiled without optimization, so if $ ../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" |