[Top][All Lists]

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

Libtool and g++

From: Andrej Prsa
Subject: Libtool and g++
Date: Fri, 14 Oct 2005 18:24:06 +0200

Dear all,

I am developing an ANSI C based scientific library for which I have
written that includes, among everything else, a test for


The problem is, this test seems to depend on the presence of C++
compiler, e.g. g++. When ./configuring, it stops with:

checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.

Looking at config.log reveals that libtool expects cc1plus:

cpp: installation problem, cannot exec 'cc1plus': No such file or

Now it is true that cc1plus isn't present on my system, but why should
it be, since it comes from g++, whereas my project is plain C? It
doesn't really make sense to have ./configure depend on g++ presence
although the project doesn't need it. I guess this may very well be
libtool's fault, but I thought I'd ask here first.

I'm using libtool 1.5.6 and autoconf 2.59. From browsing through the
archives I found that libtool 2.0 should take care of a similar problem:

but is there at least a temporary fixup for this issue?



reply via email to

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