Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 79056782ed65b8397f0d15806523516542fd376457ca430aa86eeb1bded683e4
Ticket: f20bee173b6698084299a75d68f2aa384e68e78c
configure script using tclconfig doesn't honor LDFLAGS on configure run
User & Date: stephanm on 2020-02-04 13:43:56
Changes

  1. icomment:
    Sorry, it could easily be an error on my side as I am not that familiar with tclconfig. And indeed, I got the history wrong, please ignore my last comment about the assumed commit id.
    
    I'm using tcl 8.6.10, cross-built, nothing fancy (./configure --prefix=/tmp/tcl8.6.10 --host=i686-w64-mingw32 && make install). Host is ubuntu disco, target is Windows (32 bit).
    
    Steps to reproduce:
    1) Checkout sampleextension, cd into it and checkout tclconfig (both current github master)
    2) autoreconf -fi 
    3) LDFLAGS="-Ltestpath" ./configure --with-tcl=/tmp/tcl8.6.10/lib --host=i686-w64-mingw32
    4) make
    5) Linking call is "i686-w64-mingw32-gcc -shared -o sample05.dll sample.o tclsample.o  "/tmp/tcl8.6.10/lib/libtclstub86.a" -static-libgcc ", missing the -Ltestpath parameter.
    
  2. login: "stephanm"
  3. mimetype: "text/plain"