monotone-devel
[Top][All Lists]
Advanced

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

Re: [Monotone-devel] 3rd party libraries


From: Zack Weinberg
Subject: Re: [Monotone-devel] 3rd party libraries
Date: Sat, 25 Oct 2008 08:41:10 -0700

On Sat, Oct 25, 2008 at 4:52 AM, Stephen Leake
<address@hidden> wrote:
> Markus Wanner <address@hidden> writes:
>> Stephen Leake wrote:
>>> You seem to be implying that a dynamically linked object file cannot
>>> be compiled with a C++ compiler. Is that correct?
>>
>> An object file *is* compiled, it can only be linked against other
>> compiled objects.
>
> Obviously we don't want to re-compile the system library.
>
> But is there some reason it wasn't compiled with C++ in the first place?

In order to do it, you have to jump through a whole bunch of hoops;
the upstream lua makefiles don't do it for you.  (We don't use their
makefiles, and we wound up renaming every .c file to have a .cc
extension, as I recall.)   It's reasonable to assume system
integrators have not gone to the trouble.

Also, a library built that way would be binary incompatible - you'd
have to give it a different soname and .pc file and everything.

zw




reply via email to

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