bug-texinfo
[Top][All Lists]
Advanced

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

Re: Code from installed libtexinfo.so.0 run for non-installed texi2any


From: pertusus
Subject: Re: Code from installed libtexinfo.so.0 run for non-installed texi2any
Date: Mon, 6 Nov 2023 14:25:20 +0100

On Mon, Nov 06, 2023 at 02:37:57PM +0200, Eli Zaretskii wrote:
> > Date: Mon, 6 Nov 2023 09:20:37 +0100
> > From: pertusus@free.fr
> > Cc: Gavin Smith <gavinsmith0123@gmail.com>, bug-texinfo@gnu.org
> > 
> > libtexinfo corresponds to the 'pure' C common code that performs the
> > computations needed for texi2any, working on C data only (no direct use
> > of any perl data).  It is used by many XS objects, it is an internal
> > library to be used, for now, only by those XS objects.
> > 
> > There is another new library, libtexinfoxs, for the 'perl C' common code
> > used by those XS objects, that does the interface between C data and
> > perl data.  This code is even more tied to the XS objects.  The two
> > libraries are separate to clearly separate the code that does the
> > computations (libtexinfo), that is not related to perl at all and the
> > code used to interface C data and perl (libtexinfoxs).
> 
> Do these two replace the several *XS shared libraries we had until
> Texinfo 7.1, or are they in addition to them?

There are new *XS shared libraries in additions to those in 7.1,
StructuringTransfo.la, TranslationsXS.la (which will most likely be
merged in another one), ConvertXS.la.  The two libraries libtexinfoxs
and libtexinfo contain the code common for those new *XS shared
libraries and also code common with Parsetexi.la, which is an XS shared
library existing in 7.1.

> In any case, it sounds like these libraries should be installed where
> we were installing the *XS shared libraries till now.

It is pkglibdir.  Would be easy to change Makefile.am to put them there,
but are we sure that the linker will find them when the dlopened *XS
files are loaded by perl?

-- 
Pat



reply via email to

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