building tclkit on Windows with Visual Studio 2010 - success

22 views
Skip to first unread message

Stephen Tarr

unread,
Aug 24, 2012, 3:37:54 AM8/24/12
to sta...@googlegroups.com
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 review and incorporation into the official git archive?

1. Makefile.vc copies some files to a directory named '$(BUILD)/files^' rather 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 remove the caret?

2. 8.x/thread/win/vc/nmakehlp.exe was archived with mode 644 rather than mode 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 files 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

Reply all
Reply to author
Forward
0 new messages