Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d68de76838ca540793f6220f32c4459109aee29e
Ticket: 956908ffffffffffffffffffffffffffffffffff
--disable-shared still links dynamically on Mac OS X
User & Date: tallniel on 2004-05-19 17:58:04
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The Mac OS X makefile does not support building a statically linked 
    tclsh (useful for testing patches), so you have to use the configure 
    script in the unix/ dir. This works ok, but passing in --disable-
    shared causes a makefile which links against Tcl like:
    
    -L/Users/neilmadden/tcl/unix/ -ltcl8.5
    
    (or something like that). However, the Mac OS X linker still prefers 
    to link dynamically against a system lib, if it can find one, so the 
    above is ignored. The way to get around it is to manually hack the 
    Makefile to just have the libtcl8.5.a listed as an object file, rather 
    than using the -L/-l combo, e.g.:
    
    /Users/neilmadden/tcl/unix/libtcl8.5.a
    
    It would be nice if the configure script could detect building on Mac 
    OS X and do this automatically.
    
  4. foundin changed to: "obsolete: 8.5a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "tallniel"
  9. subsystem changed to: "53. Configuration and Build Tools"
  10. title changed to:
    --disable-shared still links dynamically on Mac OS X
    
  11. type changed to: "Bug"