Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 85a613f1359222ab2852b59479a7cbc92799a61a19adba7b557638ae5ba8f3e8
Ticket: 76d45ec836147ea19658fc336ebb3433ef240a63
libtommath.dll.a missing for x86
User & Date: jan.nijtmans on 2023-08-01 19:48:50
Changes

  1. closedate changed to: "2460158.3255826"
  2. closer changed to: "jan.nijtmans"
  3. icomment:
    The "tommath.lib" works on x86 for all known compilers, Visual Studio, mingw, MingW_w64 and clang. On x64_64 and arm64, "tommath.lib" works for Visual Studio, "libtommath.dll.a" works for all other compilers, so this is the most portable.
    
    Eventually, this all will become obsolete. Recent MingW_w64 allows to link with "libtommath.dll" (using simply "-ltommath"). It will then generate libtommath.dll.a on-the-fly and do what's expected. My hope is that once 32-bit x86 is obsolete, Microsoft will deprecate its own compiler, switching to clang (clang for Visual Studio already exists, it's just not the default and still has issues). When that happens, all platforms can be handled the same as on UNIX, no special tricks any more. 🤞
    
  4. login: "jan.nijtmans"
  5. mimetype: "text/x-fossil-wiki"