[Top][All Lists]

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

Re: linking a C program with a C++ library on Solaris

From: Tim Mooney
Subject: Re: linking a C program with a C++ library on Solaris
Date: Mon, 25 Feb 2008 17:35:37 -0600 (CST)

In regard to: Re: linking a C program with a C++ library on Solaris, Bob...:

On Mon, 25 Feb 2008, Tim Mooney wrote:

On Solaris, if you are linking against any C++ objects, you must use the
C++ compiler to link.  I don't know if that's common to other platforms
or not, as I don't have access to the plethora of UNIX platforms I used
to.  In any case, the packages I've encountered don't seem to expect that,
so the (libtool) link stage for the C project doesn't know to use C++,
and the link fails.

Libtool 2.2 does not have this problem.  It should be released as soon
as someone is available to create the release package since the
consensus is that it is ready.  Since it did not appear to happen this
past weekend, maybe we will be lucky and it will pop out this next

Thanks Bob, that's great news!

I don't see anything in 2.1b's info files or README or NEWS for updating
a project from 1.5.x to 2.2.  I assume that means that there's nothing
a project maintainer needs to do other than to re-libtoolize his or her

Tim Mooney                              address@hidden
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164

reply via email to

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