[patch] Fix libstdc++ build for Android

Eric Botcazou ebotcazou@adacore.com
Fri Jun 2 08:37:00 GMT 2017


Hi,

libstdc++-v3 already contains support but doesn't build for Android.  Now GDB 
has switched to C++, which means that you need a C++ cross-build for GDBserver 
in order to debug a program on the target.

Tested on x86_64-suse-linux and arm-linux-androideab, OK for mainline?


2017-06-02  Eric Botcazou  <ebotcazou@adacore.com>

        * configure.ac (*-*-linux-android*): Set target_makefile_frag.
        * configure: Regenerate.
config/
        * mt-android: New file.
libstdc++-v3/
        * src/filesystem/dir.cc (fs::_Dir::advance): Use std::exchange.

-- 
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-patch
Size: 1194 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20170602/c3162964/attachment.bin>


More information about the Libstdc++ mailing list