Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d128d93246c5eb2e65b68e24bd0f3fced9afa2ca
Ticket: 794741ffffffffffffffffffffffffffffffffff
sampleextension stublib ranlib fix
User & Date: nobody on 2003-08-25 14:59:19
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    the attached patch fixes an issue with ranlib not being run 
    on stub libs when building dynamically linked extensions 
    (i.e. with RANLIB=.), this breaks building of 
    interdependent stubified extensions on platforms that need 
    ranlib to be run on static libs prior to linking (such as Mac 
    OS X).
    
    Essentially, ranlib calls on always static libs e.g. stub libs 
    need to be separated from ranlib calls on libs that can be 
    either static or dynamic, this is done via the new 
    RANLIB_STUB which is set to the value of RANLIB before 
    RANLIB is reset to . when building a dynamically linked 
    extension.
    
    Also added a section to the Makefile illustrating how to 
    build stub libraries to clarify usage of the new 
    RANLIB_STUB.
    The technique adopted at install time is to run 
    RANLIB_STUB on libraries containing the string "stub" and 
    RANLIB on others.
    
    This issue affects a number of TEA extensions using their 
    own stub libs: incrTcl, trf, tkimg, tclxml, tcldom; but 
    should also be fixed in sampleextension so that newly 
    TEAfied extensions won't perpetuate this problem...
    
    See the following patches for details on how the 
    abovementioned extensions are affected:
    http://tcltkaqua.sf.net/8.4.4/patches/incrTcl.diff
    http://tcltkaqua.sf.net/8.4.4/patches/trf.diff
    http://tcltkaqua.sf.net/8.4.4/patches/tkimg.diff
    http://tcltkaqua.sf.net/8.4.4/patches/tclxml.diff
    http://tcltkaqua.sf.net/8.4.4/patches/tcldom.diff
    these will be submitted to the respective projects as time 
    permits...
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "70. Sample Extension"
  10. title changed to: "sampleextension stublib ranlib fix"
  11. type changed to: "Patch"