Re: Preview: kitgen builds Tclkit Lite
"Brian Theado" <[email protected]>
| Newsgroups | gmane.comp.lang.tcl.starkit |
|---|---|
| Message-ID | <[email protected]> |
On 11/20/06, Jean-Claude Wippler <[email protected]> wrote: > Sounds like lib/dll trouble. Could it be that the last compile/build > step (of kitInit.c etc) needs a -DSTATIC_BUILD? Yep. That got me past that problem. Several tweaks later and I have working tclkit-cli.exe and tclkit-dyn.exe files. One of the tweaks does not look to be windows specific. I had to add: --prefix=`pwd`/.. --exec-prefix=`pwd`/.. to the build/tkdyn target in makefile.include. Isn't that needed for all platforms? So here is my updated procedure: cvs -d :pserver:[email protected]:/home/cvs co -d kitgen tclkit/kitgen If you don't have it, download and extract msys_mingw 0.8 from http://tcl.sourceforge.net Download wget from http://gnuwin32.sourceforge.net/packages/wget.htm Run msys.bat to get a bash shell cd to wherever kitgen was checked out save the attached kitgen.patch to your kitgen directory patch < kitgen.patch create a symlink for gcc.exe named cc.exe (the zlib build calls cc instead of gcc or $CC): ln /mingw/bin/gcc.exe /mingw/bin/cc.exe make 8.4-cvs ==> 'wget -O -' doesn't seem to work properly and the 'tar x' fails Fix wget zlib error: rm -R 8.4-cvs/zlib-1.2.3 wget http://www.zlib.net/zlib-1.2.3.tar.gz tar xfvz zlib-1.2.3.tar.gz mv zlib-1.2.3 8.4-cvs/zlib mv 8.4-cvs 8.4 make small ==> resulting executables: tclkit-cli.exe and tclkit-dyn.exe