libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool uses cc to link a mixed C/C++ project and fails to find oper


From: Roumen Petrov
Subject: Re: libtool uses cc to link a mixed C/C++ project and fails to find operator new
Date: Sun, 23 Jun 2019 22:45:12 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]