Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2c609c4b2982ba4e4cffe0fe7a6ba783040f08b2
Ticket: 230582ffffffffffffffffffffffffffffffffff
tclstub84.lib shouldn't need to link with msvcrt.lib
User & Date: davygrvy on 2001-01-31 13:32:36
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Building a debug version of an extension with tclstub84.lib
    needs an added '-nodefaultlib:msvcrt.lib' in the link line.
    At first you (the person reveiw this) might think.. "Oh, just use tclstub84d.lib", but that isn't enough.  What if people build applications and are using Stubs and build with libcmt(d).lib?  Then we need ALOT of stupid flavors of tclstub84.lib
    
    Use this patch to avoid it being embedded in tclStubLib.obj:
    
    Index: makefile.vc
    ===================================================================
    RCS file: /cvsroot/tcl/tcl/win/makefile.vc,v
    retrieving revision 1.59
    diff -c -r1.59 makefile.vc
    *** makefile.vc2000/11/03 21:23:281.59
    --- makefile.vc2001/01/31 13:13:09
    ***************
    *** 491,497 ****
      # be built as DLL objects but none of the symbols should be exported
      
      $(TMPDIR)\tclStubLib.obj : $(GENERICDIR)\tclStubLib.c
    ! $(cc32) $(TCL_CFLAGS) -DSTATIC_BUILD -Fo$@ $?
      
      
      # Dedependency rules
    --- 491,497 ----
      # be built as DLL objects but none of the symbols should be exported
      
      $(TMPDIR)\tclStubLib.obj : $(GENERICDIR)\tclStubLib.c
    ! $(cc32) $(TCL_CFLAGS) -Zl -DSTATIC_BUILD -Fo$@ $?
      
      
      # Dedependency rules
    
    
  4. foundin changed to: "obsolete: 8.4a2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "davygrvy"
  9. subsystem changed to: "10. Objects"
  10. title changed to:
    tclstub84.lib shouldn't need to link with msvcrt.lib
    
  11. type changed to: "Bug"