Skip to content
Tcl Source Code History Of Ticket 1881216fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1881216fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1881216fffffffffffffffffffffffffffffffff

  1. Ticket change [8689a82338] (rid 131531) by kennykb on 2008-01-28 15:54:59:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The build for vc2005 still isn't quite right.  I'm
      running the configurator from an 'msys' shell with
      
      mkdir `hostname`
      cd `hostname`
      CC=cl ../configure --prefix=d:/tcltest --with-tcl=d:/tcltest/lib --enable-threads
      
      The configurator finds (correctly) that a 'windres' command exists. But it winds up, somehow, using 'rc' in its place, producing a makefile that attempts to run 'rc' with command line options appropriate to 'windres'.
      
      I work around that with 'make RC=windres', and the build progresses somewhat further, but fails when it attempts to run 'mt'.  The problem there is shell syntax; the semicolon that separates the DLL name from the resource number needs to be escaped.  I trace that back to aclocal.m4, in the TEAX_VC_MANIFEST macro.  A proposed
      patch is attached.
      
      The failing Makefile and config.log are also attached, as requested.
      
    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: "kennykb"
    10. subsystem initialized to: "35. TclOO Package"
    11. title initialized to: "VC2005 build still not quite right."
    12. type initialized to: "Bug"
  2. Add attachment "oo-aclocal.patch" [a772d3a9b5] (rid 98798) by kennykb on 2008-01-28 22:55:02.

  3. Ticket change [bf212866fa] (rid 102206) by kennykb on 2008-01-28 22:55:04:

    1. icomment:
      
      
      File Added - 264028: oo-aclocal.patch
      
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  4. Add attachment "config.log" [da3063dc5c] (rid 107736) by kennykb on 2008-01-28 22:55:45.

  5. Ticket change [afdd848a86] (rid 97887) by kennykb on 2008-01-28 22:55:46:

    1. icomment:
      
      
      File Added - 264029: config.log
      
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  6. Ticket change [1aae96ca14] (rid 123022) by kennykb on 2008-01-28 22:55:48:

    1. icomment:
      Logged In: YES 
      user_id=99768
      Originator: YES
      
      File Added: config.log
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  7. Add attachment "Makefile" [7375b1c748] (rid 105045) by kennykb on 2008-01-28 22:56:27.

  8. Ticket change [b7ddb8ff22] (rid 128872) by kennykb on 2008-01-28 22:56:27:

    1. icomment:
      
      
      File Added - 264030: Makefile
      
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  9. Ticket change [4c4d18890b] (rid 126862) by kennykb on 2008-01-28 22:56:28:

    1. icomment:
      Logged In: YES 
      user_id=99768
      Originator: YES
      
      File Added: Makefile
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  10. Ticket change [ec1927dcc1] (rid 103650) by kennykb on 2008-01-28 23:01:40:

    1. icomment:
      Logged In: YES 
      user_id=99768
      Originator: YES
      
      Oh, also... once the Makefile is patched, there are two more things, which don't make the build fail but are nevertheless annoying:
      
      (1) Every 'cl' command generates:
      
      cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release
      
      (2) There is still one spot where we trip over VC++ obsessive-compulsive behaviour with respect to constness of function args:
      
      ../generic/tclOOCall.c(565) : warning C4028: formal parameter 3 different from declaration
      
      
      
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  11. Ticket change [eb411ab94c] (rid 103516) by dkf on 2008-01-29 21:20:42:

    1. closedate changed to: "2008-01-29T14:20:42"
    2. closer changed to: "dkf"
    3. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      Ugh, it seems that working out what to do about windres/rc needs to be done *after* TEA_CONFIG_CFLAGS as that unilaterally sets RC...
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"
  12. Add attachment "Makefile.diffs" [c1a51cd53a] (rid 111354) by kennykb on 2008-01-30 08:53:14.

  13. Ticket change [677becfd8f] (rid 102902) by kennykb on 2008-01-30 08:53:15:

    1. icomment:
      
      
      File Added - 264238: Makefile.diffs
      
      Logged In: YES 
      user_id=99768
      Originator: YES
      
      Still not quite there.
      
      For starters, options beginning with '/' seem to get munged
      by either msys 'make' or the msys shell... but ones beginning
      with '-' are OK.  I attach a set of diffs to the generated
      Makefile that take care of the problem in RCFLAGS and
      the '.c.obj' and '.rc.$(RES)' rules.  With these changes,
      the 'make' is successful.
      
      The warning about mismatched const-ness at generic/tclOOCall.c:565
      is still there.  The reason that warnings are a major annoyance
      is that an --enable-symbols build on VC++ turns on
      "warnings treated as errors", which means that the compiler
      won't generate object code for the offending file.
      File Added: Makefile.diffs
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. status changed to: "Open"
    5. username: "kennykb"
  14. Ticket change [b76c0db51b] (rid 125593) by dkf on 2008-01-30 22:33:44:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      Everything done except for the (trivial) bugfix in tclOOCall.c, which gets in the way of a number of changes in my sandboxes.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  15. Ticket change [6134fac82a] (rid 92206) by kennykb on 2008-01-31 07:39:27:

    1. icomment:
      Logged In: YES 
      user_id=99768
      Originator: YES
      
      With this evening's HEAD, the '-o' on the 'rc' should be '-fo'.
      Aside from that, everything looks to be building correctly.
      
      Also, it would be nice to add 'nologo' on that command; it would
      slightly reduce the dribble in the 'make' output.
      
      
    2. login: "kennykb"
    3. mimetype: "text/plain"
    4. username: "kennykb"
  16. Ticket change [7d1663819a] (rid 97187) by dkf on 2008-02-02 00:18:38:

    1. closedate changed to: "2008-02-01T17:18:38"
    2. closer changed to: "dkf"
    3. status changed to: "Closed"