This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Testing glibc with non-default options
- From: Stefan Liebler <stli at linux dot vnet dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Date: Tue, 1 Mar 2016 08:26:03 +0100
- Subject: Re: Testing glibc with non-default options
- Authentication-results: sourceware.org; auth=none
- References: <9f898781-cbc2-41f9-8713-32e559e6f3af at BAMAIL02 dot ba dot imgtec dot org>
On 03/01/2016 01:21 AM, Steve Ellcey wrote:
I looked in config.make and I see a setting for CC and CFLAGS but CXX is not
set (even if I set and export it when building glibc) and CXXFLAGS does not
show up at all. I think this may be why the C++ test fails but I am not sure
how to fix it.
I've tried to build 31bit glibc on a 64bit host on s390, too.
The approach with GCC='gcc -m...' worked for me.
A configure check tests if g++ can link against libstdc++ and
libstdc++-static. Ensure, that these libraries are installed for the
64bit ABI. Afterwards CXX was set in config.make. I think you have to
set CXX='g++ -m...', too.