On Wed, Oct 21, 2026 at 09:26:29PM +0300, Eli Zaretskii wrote:
> > From: Gavin Smith <[email protected]>
> > Date: Wed, 21 Oct 2026 19:00:46 +0100
> > 
> > Bruno's email about __declspec appears to be this one:
> > https://lists.gnu.org/archive/html/bug-texinfo/2026-02/msg00102.html
> > 
> > We still do not use the win32-dll option in LT_INIT in ./tta/configure.ac or
> > tta/perl/CheckXS/configure.ac.
> > 
> > According to the Libtool manual, this means that dynamic libraries are not
> > built:
> > 
> >   ‘win32-dll’
> >   This option should be used if the package has been ported to build
> >   clean dlls on win32 platforms. Usually this means that any library
> >   data items are exported with __declspec(dllexport) and imported with
> >   __declspec(dllimport). If this option is not used, libtool will assume
> >   that the package libraries are not dll clean and will build only static
> >   libraries on win32 hosts.
> > 
> > https://www.gnu.org/software/libtool/manual/libtool.html#index-LT_005fINIT
> > 
> > Does this mean that XS modules do not build at all on MS-Windows?  I do
> > not remember this being the case.
> > 
> > Perhaps the claim in the manual about only building "static libraries
> > on win32 hosts" is not strictly accurate.
> 
> The XS modules certainly are built in Texinfo 7.3.  I'm using that
> version with XS modules on Windows every day.

Thanks for the information, that is reassuring.

Perhaps we should "let sleeping dogs lie" and not mess around with the
win32-dll option.

> I didn't try the Git code, and probably won't have time to do so any
> time soon.  So if anything is significantly different there, there
> could be a problem.
> 
> I suggest to ask Bruno to take a look at the current configury and
> Makefile's and see if there are ny problems on Windows he could spot.

  • Re: ... pertusus
    • ... Eli Zaretskii
      • ... Eli Zaretskii
        • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
          • ... Eli Zaretskii
          • ... Eli Zaretskii
          • ... Gavin Smith
          • ... pertusus
          • ... Gavin Smith
          • ... Eli Zaretskii
          • ... Gavin Smith
          • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
          • ... pertusus
          • ... Bruno Haible via Bug reports for the GNU Texinfo documentation system
          • ... pertusus
        • ... pertusus
        • ... Gavin Smith
    • ... pertusus
      • ... Eli Zaretskii
        • ... Gavin Smith

Reply via email to