/usr/bin/g++-libc++ is in libc++-helpers 3.5-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #!/bin/sh
cxx_libs="-lc++"
c_libs="-lc -lgcc_s"
pthread_libs="-lpthread $c_libs"
libs="$cxx_libs $c_libs"
for i; do
if test x"$i" = x"-pthread"; then
libs="$libs $pthread_libs"
break
fi
done
gcc -std=c++0x -nodefaultlibs $libs -isystem/usr/include/c++/v1 "$@"
|