Skip to content
Tcl Source Code History Of Ticket 218731
Login

History Of Ticket 218731

Artifacts Associated With Ticket 218731

  1. Ticket change [90682c5b24] (rid 120449) by nobody on 2000-10-26 01:04:41:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      OriginalBugID: 1916 Bug
      Version: 8.1b3
      SubmitDate: '1999-04-21'
      LastModified: '1999-08-20'
      Severity: CRIT
      Status: Released
      Submitter: pat
      ChangedBy: hobbs
      OS: Windows 95
      Machine: X86
      FixedDate: '1999-08-20'
      ClosedDate: '2000-10-25'
      
      
      Name:
      Thomas A. Hutto
      
      Comments:
      How does .\Release\tcl81.lib get built?
      
          Based on the excerpts from makefile.vc for tcl 8.1b3 it seems that
          the target $(TCLSH) is linking a non-existent tcl81.lib. Excerpts
          of makefile.vc and its ouput are given below.
      
          Using Borland's make.exe, I ran the following: 
          make -fmakefile.vc -N -n -K -r all >make.out
          -N = microsoft compatability mode
          -n = process makefile but don't 'do' anything
          -K = keep temp files
          -r = ignore BUILTINS.MAK := default implicit targets
          >make.out = write the results to the named file
      
          I stuck in some 'set' statements following most TARGETS so that
          the output would associate the actual commands with the abstract
          target definitions.
      
          I did not put a 'set' after $(TCLLIB): because I thought it might mess
          up program flow; given that it has no commands and I have not read
          the NMAKE manual.
      
          On greping all of the output files, I found only one reference to 
          .\Release\tcl81.lib and that was in the link step for tclsh81.exe.
      
          I also found -out:.\release\tcl81.dll -- that's getting built
          because of the indirection at $(TCLLIB): $(TCLDLL).  Furthermore,
          $(TCLDLL) does not show up in makefile.vc as a dependent of any
          target.
      
          FURTHERMORE, I cannot find a target in makefile.vc that builds
          tcl81.lib even though it is being linked.
      
          I also noticed that the following is being executed before
          tcl81.dll is built, notice the ref to tcl81.dll:
      
          DUMPEXTS.EXE -o .\Release\tcl.def tcl81.dll @MAKE0006.@@@
      
          Finaly, it seems that tcl81.lib is expected to be built because the
          target install_binaries tries to copy it somewhere.
      
          EXCERPTS FROM MAKEFILE.VC
          -------------------------------------------
          $(TCLLIB): $(TCLDLL)
      
          $(TCLDLL): $(TCLOBJS) $(TMPDIR)\tcl.def $(TMPDIR)\tcl.res
          set tcldll_TARGET = $@
          set LIB="$(TOOLS32)\lib"
          $(link32) $(ldebug) $(dlllflags) -def:$(TMPDIR)\tcl.def  -out:$@ $(TMPDIR)\tcl.res $(guilibsdll) @<<
          $(TCLOBJS)
          <<
      
          $(TCLSH): $(TCLSHOBJS) $(TCLLIB) $(TMPDIR)\tclsh.res
          set tclsh_TARGET = $@
          set LIB="$(TOOLS32)\lib"
          $(link32) $(ldebug) $(conlflags) $(TMPDIR)\tclsh.res 
          -stack:2300000  -out:$@ $(conlibsdll) $(TCLLIB) $(TCLSHOBJS) 
      
          HAND EDITED EXCERPTS FROM MAKES OUTPUT
          make -fmakefile.vc -N -n -K -r >make.out
          ____________________________________________
      
          set tcldll_TARGET = .\Release\tcl81.dll
          set LIB="c:\program files\devstudio\vc\lib\TCLDLL"
          link32 
          /RELEASE /NODEFAULTLIB /RELEASE /NOLOGO /MACHINE:IX86 
          -entry:_DllMainCRTStartup@12 
          -dll 
          -def:.\Release\tcl.def   
          -out:.\Release\tcl81.dll 
          .\Release\tcl.res msvcrt.lib oldnames.lib kernel32.lib  
          advapi32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib 
          @MAKE0001.@@@
      
          set tclsh_TARGET = .\Release\tclsh81.exe
          set LIB="c:\program files\devstudio\vc\lib"
          link32 
          /RELEASE /NODEFAULTLIB /RELEASE /NOLOGO /MACHINE:IX86 
          -subsystem:console 
          -entry:mainCRTStartup 
          .\Release\tclsh.res 
          -stack:2300000   
          -out:.\Release\tclsh81.exe 
          msvcrt.lib oldnames.lib kernel32.lib  advapi32.lib 
          user32.lib .\Release\tcl81.lib .\Release\tclAppInit.obj 
      
           NOTE THE REFERENCE TO tcl81.lib IN THE LINE ABOVE!  Make.out does
           not show it getting built.  I cannot find a target to make it in
           makefile.vc.
      
      ReproducibleScript:
      nmake -fmakefile.vc -n -K >makeout
      
      ObservedBehavior:
      tcl.lib not being built
      
      DesiredBehavior:
      build tcl.lib
      
      
      
      The 8.2.0 makefile.vc works without error on VC++ 5.0, but there
      is also a whole new makefile/config setup for Cygwin for those
      who want the option that uses the same config files as for Unix. 
      -- 08/20/1999 hobbs
      
    4. foundin initialized to: "obsolete: 8.1b3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "makefile.vc seems to be FUBAR"
    11. type initialized to: "Bug"
  2. Ticket change [0a74d5e1a1] (rid 113820) by welch on 2000-10-26 08:28:12:

    1. closedate changed to: "2000-10-26T01:28:12"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
  3. Ticket change [3ed4e8ff3e] (rid 121337) by dgp on 2001-04-17 06:02:14:

    1. closedate changed to: "2001-04-16T23:02:14"
    2. closer changed to: "dgp"
    3. subsystem changed to: "53. Configuration and Build Tools"