Re: libtool uses cc to link a mixed C/C++ project and fails to find operator new
Roumen Petrov <[email protected]>
| Newsgroups | gmane.comp.gnu.libtool.general |
|---|---|
| Message-ID | <[email protected]> |
Yuri wrote: > On 2019-06-23 12:19, Roumen Petrov wrote: >> cc ? >> >> I'm not sure which compiler suite is used on FreeBSD but it seems to >> me C++ compiler is not installed. > > clang8 is used. cc is a C compiler, c++ is a C++ compiler. Ok. Dunno why is not detected c++ at configure time. I'm not familiar with clang as C++ compiler, especially installed symbolic links. Please check configure output and then config.log to find why detection(tests) for C++ compiler fail. Also check detection of C complier. For instance autoconf macro should search for availability of g++ or c++ or cxx or CC and etc as C++ compiler commands. If clang C++ is not in list detection fail. If clang is default OS compiler is expected symbolic link c++ to clang++ or similar. May be some OS setup commands could set such links. Remark: At end ./configure --help outputs environment variables . Those variables could be used to tune build process. For instance CXX=my-c++ ./configure ... could be used to change C++ compiler. Roumen _______________________________________________ https://lists.gnu.org/mailman/listinfo/libtool