This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: Testing glibc with non-default options


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.


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