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: Yuri
Subject: Re: libtool uses cc to link a mixed C/C++ project and fails to find operator new
Date: Mon, 24 Jun 2019 10:25:39 -0700
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 2019-06-24 09:55, Roumen Petrov wrote:

And projects builds just fine!
Conclusion - there is no defect neither in libtool nor in automake nor in project autotool files.

Reporter still does not provide feedback with information from configuration time (requested in a previous post) => resolution is - broken build environment.


configure and Makefile.in contain -lstdc++. These could be different between systems. On FreeBSD it should be -lc++.

It worked when I patched these lines, but this is error-prone because some other toolchains might use a different C++ library.


Once the error-prone -lstdc++ are removed, libtool fails because it links with the C compiler.


Yuri




reply via email to

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