Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 12c777b3d4643774ab8d59e9a09e736fa9d32752
Ticket: 1403343fffffffffffffffffffffffffffffffff
TEA 3.4 is missing LDFLAGS support
User & Date: gregcouch on 2006-01-11 21:39:54
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    TEA 3.4 provides lots of support for CFLAGS, in
    tclconfig/tcl.m4, configure.in and Makefile.in, but the
    corresponding support for LDFLAGS is missing.  Some
    changes are obvious to me, like adding LDFLAGS =
    @LDFLAGS@ to Makefile.in, but many are not (e.g should
    there be a separate SHLIB_LDFLAGS?).  It also seems
    obvious to me that Jeff Hobbs could fix this "the right
    way" in his sleep.
    
    Using the sampleextension, this bug can be reproduced
    by doing:
    
    env CFLAGS="-isysroot $(SDK)"
    LDFLAGS="-Wl,-syslibroot,$(SDK)" ./configure
    
    Followed by a "make -n" to see that CFLAGS makes it and
    LDFLAGS doesn't.
    
    The example above is for building Mac OSX 10.3 binaries
    (both applications and shared libraries) on 10.4, but
    LDFLAGS=options is useful on other platforms as well.
    
    
  4. foundin changed to: "obsolete: 8.4.12"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "gregcouch"
  9. subsystem changed to: "70. Sample Extension"
  10. title changed to: "TEA 3.4 is missing LDFLAGS support"
  11. type changed to: "Bug"