Artifacts Associated With Ticket 1881216fffffffffffffffffffffffffffffffff
Ticket change [8689a82338] (rid 131531) by kennykb on 2008-01-28 15:54:59:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- 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.
- foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "kennykb"
- subsystem initialized to: "35. TclOO Package"
- title initialized to: "VC2005 build still not quite right."
- type initialized to: "Bug"
Add attachment "oo-aclocal.patch" [a772d3a9b5] (rid 98798) by kennykb on 2008-01-28 22:55:02.
Ticket change [bf212866fa] (rid 102206) by kennykb on 2008-01-28 22:55:04:
- icomment:
File Added - 264028: oo-aclocal.patch
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Add attachment "config.log" [da3063dc5c] (rid 107736) by kennykb on 2008-01-28 22:55:45.
Ticket change [afdd848a86] (rid 97887) by kennykb on 2008-01-28 22:55:46:
- icomment:
File Added - 264029: config.log
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Ticket change [1aae96ca14] (rid 123022) by kennykb on 2008-01-28 22:55:48:
- icomment:
Logged In: YES user_id=99768 Originator: YES File Added: config.log
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Add attachment "Makefile" [7375b1c748] (rid 105045) by kennykb on 2008-01-28 22:56:27.
Ticket change [b7ddb8ff22] (rid 128872) by kennykb on 2008-01-28 22:56:27:
- icomment:
File Added - 264030: Makefile
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Ticket change [4c4d18890b] (rid 126862) by kennykb on 2008-01-28 22:56:28:
- icomment:
Logged In: YES user_id=99768 Originator: YES File Added: Makefile
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Ticket change [ec1927dcc1] (rid 103650) by kennykb on 2008-01-28 23:01:40:
- 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
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Ticket change [eb411ab94c] (rid 103516) by dkf on 2008-01-29 21:20:42:
- closedate changed to: "2008-01-29T14:20:42"
- closer changed to: "dkf"
- 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...
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"
Add attachment "Makefile.diffs" [c1a51cd53a] (rid 111354) by kennykb on 2008-01-30 08:53:14.
Ticket change [677becfd8f] (rid 102902) by kennykb on 2008-01-30 08:53:15:
- 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
- login: "kennykb"
- mimetype: "text/plain"
- status changed to: "Open"
- username: "kennykb"
- icomment:
Ticket change [b76c0db51b] (rid 125593) by dkf on 2008-01-30 22:33:44:
- 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.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"
- icomment:
Ticket change [6134fac82a] (rid 92206) by kennykb on 2008-01-31 07:39:27:
- 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.
- login: "kennykb"
- mimetype: "text/plain"
- username: "kennykb"
- icomment:
Ticket change [7d1663819a] (rid 97187) by dkf on 2008-02-02 00:18:38:
- closedate changed to: "2008-02-01T17:18:38"
- closer changed to: "dkf"
- status changed to: "Closed"