Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 02ab913dad31bc7a8842a2212fcf6d1893b1b64709e8f8dc40d648e1c622c001
Ticket: 76d45ec836147ea19658fc336ebb3433ef240a63
libtommath.dll.a missing for x86
User & Date: jan.nijtmans on 2023-07-31 20:03:08
Changes

  1. icomment:
    The simplest solution is installing tommath.lib as libtommath.dll.a. On the x86 platform, the mingw linker is capable of linking both the ".lib" format and the ".dll.a" format. That's why no libtommath.dll.a was included, originally.
    
    It turns out that ".lib" capabilities were never implemented for the mingw x64 and arm64 linker, so this 'trick' doesn't work there. That's why I added the ".dll.a" files as well.
    
    Of course, if desired, I can build libtommath.dll for x86. It's a lot bigger than tommath.lib, so I don't really see the added value, knowing that "tommath.lib" works as well.
    
    Note that for zlib it's the same: in the "win32" directory there's a zdll.lib but no libz.dll.a. For x64 and arm64, there are libz.dll.a files.
    
    Hope this helps,
        Jan Nijtmans
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"