Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: f7531d41824c1cc1bc12865eb53adf4430ef151c
Ticket: b5ced5865bceef02e3e9fe0207a3d1e9bf230f2a
8.6.3 rC1 build fails with Mingw_w64 gcc 4.8.1
User & Date: jan.nijtmans on 2014-10-31 16:05:29
Changes

  1. icomment:
    My MinGW-w64 (32-bit) works fine, and it links with zdll.lib as just fine:
    
    
    i686-w64-mingw32-gcc -O2 -fomit-frame-pointer -DUNICODE -D_UNICODE tclAppInit.o libtcl86.a libtclstub86.a -lnetapi32 -lkernel32 -luser32 -ladvapi32 -lws2_32 /Localdata/workspace/tcl8.6/compat/zlib/win32/zdll.lib \
            tclsh.res.o -o tclsh86.exe -mconsole -pipe -static-libgcc -municode
    
    
    No problem. Actually zdll.lib is constructed using VS2012, the binutils supplied with MinGW-w64 can link with this just fine (at least mine does). Therefore I didn't bother supplying a 32-bit libz.dll.a (for 64-bit that's different....)
    
    Actually, I'm using gcc 4.8.3 (but I don't believe that makes any difference)
    
    $ i686-w64-mingw32-gcc --version
    i686-w64-mingw32-gcc (GCC) 4.8.3
    Copyright (C) 2013 Free Software Foundation, Inc.
    This is free software; see the source for copying conditions.  There is NO
    warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/plain"