Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 7d6fb3391fcd825323b838fcaf1421189254b866
Ticket: 2818765fffffffffffffffffffffffffffffffff
tclConfig.sh references undefined var ${CC} for TCL_SHLIB_LD
User & Date: karll on 2009-07-08 21:38:01
Changes

  1. assignee changed to: "stwo"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    On FreeBSD and OS X, with 8.5.7 and 8.6b1, running configure generates a tclConfig.sh that references an undefined variable ${CC} in TCL_SHLIB_LD.  With Tcl 8.4, this is properly substituted.
    
    It leaves the following line with ${CC} unsubstituted:
    TCL_SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS} -Wl,-single_module'
    
    The tclConfig.sh for 8.4 is substituted:
    TCL_SHLIB_LD='cc -shared'
    
    This breaks some things that try to suck in tclConfig.sh to know how to build shared libraries and the like.
    
    I *think* you want the TCL_SHLIB_LD line to reference ${TCL_CC}, which IS defined in tclConfig.sh.
    
  4. foundin changed to: "obsolete: 8.5.7"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "karll"
  10. subsystem changed to: "53. Configuration and Build Tools"
  11. title changed to:
    tclConfig.sh references undefined var ${CC} for TCL_SHLIB_LD
    
  12. type changed to: "Bug"