Skip to content
Tcl Source Code History Of Ticket 3544967fffffffff
Login

History Of Ticket 3544967fffffffff

Artifacts Associated With Ticket 3544967fffffffff

  1. Ticket change [79a44d3d1c] (rid 90166) by decosterjos on 2012-07-17 08:55:26:

    1. assignee initialized to: "stwo"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      When building a static tclsh and .lib using makefile.vc, the dde and registry code is not added to the .lib. The attached patch adds those object files to the static .lib.
      
      Aa a side question: what should be done with tclOOStubLib.obj, tclStubLib.obj and tclTomMathStubLib.obj when building a static .lib with makefile.vc? Should they be added to the .lib too?
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "decosterjos"
    10. subsystem initialized to: "53. Configuration and Build Tools"
    11. title initialized to: "Missing objectfiles in static lib"
    12. type initialized to: "RFE"
  2. Add attachment "makefile.vc.tcl.static.patch" [d07605223e] (rid 113189) by decosterjos on 2012-07-17 15:55:33.

  3. Ticket change [5dfa83eb28] (rid 115560) by decosterjos on 2012-07-17 15:55:33:

    1. icomment:
      
      
      File Added - 449125: makefile.vc.tcl.static.patch
      
      
      
    2. login: "decosterjos"
    3. mimetype: "text/plain"
    4. username: "decosterjos"
  4. Ticket change [7ddc146aea] (rid 97302) by dgp on 2012-07-17 20:31:36:

    1. icomment:
      dde and registry are [load]able packages.  Not clear to
      me why their code ought to be in a static Tcl library.
      
      The other things you mention have dev history as packages,
      but they are now simply part of Tcl.  Need to be in the Tcl library.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  5. Ticket change [5d3e37f447] (rid 115426) by decosterjos on 2012-07-17 20:36:05:

    1. icomment:
      When building with OPTS=staticpkg dde and registry are linked into the tclsh, but should also be in the tcl86.lib to make it possible to embed Tcl into an app with Tcl statically linked, including dde and registry. 
      
      
    2. login: "decosterjos"
    3. mimetype: "text/plain"
    4. username: "decosterjos"
  6. Ticket change [553c7a9cd4] (rid 94097) by nijtmans on 2012-07-17 21:23:28:

    1. icomment:
      tclOOStubLib.obj, tclStubLib.obj and tclTomMathStubLib.obj
      are in the stub library tcl86stub.lib. Previously they were in
      the static library as well, but not any more since 8.6. That's
      on purpose!
      
      Applications linking with OPTS=staticpkg
      still can load dde/registry dynamically, or include it in the
      build. If you want the latter, you can just add tclWinDde.o,
      tclWinReg.o and tclstub86.lib to the link line, then you
      have everything.
      
      Would that work for you?
      
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. resolution changed to: "Works For Me"
    5. username: "nijtmans"
  7. Ticket change [760ba2595f] (rid 105498) by decosterjos on 2012-07-17 21:29:51:

    1. icomment:
      I ship tcl86.lib to customers, having everything in one lib is far easier. Why add it to tclsh and not to the lib? For me OPTS=staticpkgs hints at non-loadable packages present in the lib, not just the tclsh.
      
      
    2. login: "decosterjos"
    3. mimetype: "text/plain"
    4. username: "decosterjos"
  8. Ticket change [d448ec60ed] (rid 123417) by nijtmans on 2012-07-17 21:52:03:

    1. icomment:
      In Tcl 8.5's makefile.vc I see:
      
      TCLSHOBJS = \
      $(TMP_DIR)\tclAppInit.obj \
      !if $(TCL_USE_STATIC_PACKAGES)
      $(TMP_DIR)\tclWinReg.obj \
      $(TMP_DIR)\tclWinDde.obj \
      !endif
      $(TMP_DIR)\tclsh.res
      
      To me that means that OPTS=staticpkgs means
      that the registry and dde packages should be
      added to tclsh.exe, not to tclsh85.lib. Changing
      that would be a feature request, not a bug.
      
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  9. Ticket change [9330e79c62] (rid 105772) by dgp on 2012-07-17 22:20:59:

    1. icomment:
      Apologies.  I overlooked the "StubLib" part of those
      filenames.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  10. Ticket change [c6b9853438] (rid 121814) by dkf on 2012-07-18 01:54:34:

    1. closedate changed to: "2012-07-17T18:54:34"
    2. closer changed to: "dkf"
    3. icomment:
      The *only* purpose of the *StubLib files is to allow an external piece of code to connect to Tcl's API (or the API one of the built-in extensions). Code that's "inside" Tcl (in the same executable) doesn't need stubs; it should be directly bound. There's no point at all in building the *StubLib objects into a Tcl executable; they're just for extension DLLs.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. status changed to: "Pending"
    7. username: "dkf"
  11. Ticket change [56b0c296d7] (rid 94363) by decosterjos on 2012-07-18 13:05:51:

    1. icomment:
      Feature or bug, I perceive it as a bug in the way I need the lib to be built so I can distribute it. Without this change, I'd need to ship the lib and some .obj files or make the change to the makefile after each release. I don't see much use for having the dde and registry .obj not in the .lib.
      
      
    2. login: "decosterjos"
    3. mimetype: "text/plain"
    4. status changed to: "Open"
    5. username: "decosterjos"
  12. Ticket change [bf67cff883] (rid 102248) by nijtmans on 2012-07-18 13:27:21:

    1. assignee changed to: "nijtmans"
    2. icomment:
      
      
      data_type - 360894
      
      So, let's make it a feature request ;-)
      
      Actually, I don't have a problem really
      with putting tclWinReg.o and tclWinDde.o
      in the static library when OPTS=staticpkgs
      is specified. However putting the
      tcl*StubLib.obj files in it is
      problematic! This means that
      there are multiple static libraries
      with the same symbols.
      
      This means that you should
      distribute two static libraries
      (the normal one and the stub
      library) to your clients, both
      should be linked against
      is dde and registry functionality
      is desired.
      
      Would that work for you?
      
      
      
    3. login: "nijtmans"
    4. mimetype: "text/plain"
    5. resolution changed to: "None"
    6. subsystem changed to: "None"
    7. username: "nijtmans"
  13. Ticket change [ad62949c1d] (rid 101463) by decosterjos on 2012-07-18 13:32:39:

    1. icomment:
      OK, thanks. About the *stub* file: I was only asking as I was not sure when they are needed. It's OK not to have them in the static lib for me.
      
      
    2. login: "decosterjos"
    3. mimetype: "text/plain"
    4. username: "decosterjos"
  14. Ticket change [0cbbdffa4c] (rid 114229) by nijtmans on 2012-07-18 13:36:30:

    1. icomment:
      Committed to frq-3544967 branch for testing
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. subsystem changed to: "50. Embedding Support"
    5. username: "nijtmans"
  15. Ticket change [57b2565b9c] (rid 117668) by decosterjos on 2012-07-18 13:56:42:

    1. icomment:
      Tested OK for me.
      
      
    2. login: "decosterjos"
    3. mimetype: "text/plain"
    4. username: "decosterjos"
  16. Ticket change [3538e2caef] (rid 106883) by nijtmans on 2012-07-18 15:42:23:

    1. icomment:
      Well, I'm not 100% satisfied yet. If we put tclWinReg.obj
      and tclWinDde.obj in the static lib using makefile.vc, we
      should do the same with Makefile.in as well.
      
      committed that to frq-3544967 now, with some comment
      updates in makefile.vc. Still needs more testing before
      being merge to trunk. (Anyway, I want to wait on
      Tcl 8.6b3 before doing that, preventing any risk
      on delay for the b3 release)
      
      
    2. login: "nijtmans"
    3. mimetype: "text/plain"
    4. username: "nijtmans"
  17. Ticket change [5f9fe92bae] (rid 115850) by decosterjos on 2012-07-18 15:51:47:

    1. icomment:
      I understand. I appreciate your support.
      
      
    2. login: "decosterjos"
    3. mimetype: "text/plain"
    4. username: "decosterjos"
  18. Ticket change [3445aadbc9] (rid 106731) by nijtmans on 2012-07-31 18:48:56:

    1. closedate changed to: "2012-07-31T11:48:56"
    2. closer changed to: "nijtmans"
    3. icomment:
      Merged to trunk now.
      
      > (Anyway, I want to wait on Tcl 8.6b3 before doing that,
      > preventing any risk on delay for the b3 release)
      It works well, with minimal risk, and doing this now
      gives more time for testing for the b3 release. Since
      there are other test failures being investigated now,
      I don't think this will delay 8.6b3.
      
      
    4. login: "nijtmans"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Pending"
    8. username: "nijtmans"
  19. Ticket change [7b0bf13555] (rid 134176) by dkf on 2013-09-24 12:07:10:

    1. assignee changed to: "aku"
    2. closedate changed to: "2456560.0049867"
    3. closer changed to: "dkf"
    4. comment changed to:
      When building a static tclsh and .lib using makefile.vc, the dde and registry code is not added to the .lib. The attached patch adds those object files to the static .lib.
      
      Aa a side question: what should be done with tclOOStubLib.obj, tclStubLib.obj and tclTomMathStubLib.obj when building a static .lib with makefile.vc? Should they be added to the .lib too?
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. severity changed to: "Critical"
    8. status changed to: "Closed"