c++ source files in the build...

DJ Delorie dj@redhat.com
Mon Jul 11 21:32:00 GMT 2016


Florian Weimer <fweimer@redhat.com> writes:
> g++ is currently required to run tests only.  Some tests require static 
> linking and thus libstdc++-static, and it was decided at the time to set 
> CXX only if -static works for C++ programs.

Indeed, I don't have c++ static support:

dj@envy pts/10 ~
$ g++ hello.cc -o hello

dj@envy pts/10 ~
$ g++ hello.cc -o hello -static
/bin/ld: cannot find -lm
/bin/ld: cannot find -lc
collect2: error: ld returned 1 exit status



More information about the Libc-alpha mailing list