building tclkit on Windows with Visual Studio 2010 - success

Stephen Tarr <[email protected]> Fri, 24 Aug 2012 00:37:54 -0700 (PDT)
Newsgroups gmane.comp.lang.tcl.starkit
Message-ID <[email protected]>
I've been trying to build tclkit 8.6.2b on Windows with Visual Studio 2010 =
Express.  It wasn't too hard, but I found three problems, only one of which=
 was directly a result of using VC10.

Should I post the patch files here or send them directly to someone for rev=
iew and incorporation into the official git archive?



1. Makefile.vc copies some files to a directory named '$(BUILD)/files^' rat=
her than '$(BUILD)/files', causing other steps to fail.  This looks like a =
simple typo, but perhaps I'm missing something.  Is it correct to just remo=
ve the caret?

2. 8.x/thread/win/vc/nmakehlp.exe was archived with mode 644 rather than mo=
de 755, so it fails to execute.  Changing the mode fixes the problem.

3. Each of the various 'rules.vc' files has logic to determine the compiler=
 version in use.  That version controls the generation/use of VC manifest f=
iles and also affects the naming of various objects.  But the logic in some=
 of the 'rules.vc' files doesn't understand VC versions greater than 8, or =
greater than 9, and ends up creating files named e.g. mp4vc8.lib when they =
really should be named e.g. mp4vc10.lib.  So I copied the code from one of =
the files that *did* handle VC10 correctly into all the others.

-Steve
=20

--=20
You received this message because you are subscribed to the "starkit" group=
.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to starkit-unsubscribe@googlegro=
ups.com
For more options, visit this group at http://groups.google.com/group/starki=
t?hl=3Den