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: c++ source files in the build...


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


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