D 2011-05-16T04:44:59.163
L Examples
P 0d8c90d76f5d07ccbf3ead9d33563d804cfddd57
U rkeene
W 2774
- Create a Tclkit:
- $ ./kitcreator
- Create a Tclkit for Tcl 8.5.9:
- $ ./kitcreator 8.5.9
- Create a Tclkit for Tcl from CVS HEAD:
- $ ./kitcreator cvs_HEAD
- Compile a 64-bit Tclkit:
- $ ./kitcreator --enable-64bit
- Cross-compile a Tclkit:
- Bootstrap (optional, you can use an existing Tclkit):
- $ ./kitcreator
- $ mv tclkit-8.4.19 tclkit-local
- $ TCLKIT="$(pwd)/tclkit-local"
- $ export TCLKIT
- Cross-compile:
- $ CC=mipsel-linux-uclibc-gcc
- $ CXX=false
- $ AR=mipsel-linux-uclibc-ar
- $ RANLIB=mipsel-linux-uclibc-ranlib
- $ export CC CXX AR RANLIB
- $ ./kitcreator --host=mipsel-linux-uclibc
- Compile a 64-bit Tclkit 8.5.8 using SunStudio 12.1 on Solaris/x86:
- $ CC='/opt/sunstudio12.1/bin/cc -m64'
- $ CXX='/opt/sunstudio12.1/bin/CC -m64'
- $ PATCH='gpatch'
- $ export CC CXX PATCH
- $ ./kitcreator 8.5.8 --enable-64bit
- To clean up post-build:
- $ ./kitcreator clean
- Create a Tclkit without Metakit4 support (falls back to Zip for storage):
- $ KITCREATOR_PKGS='tk itcl'
- $ export KITCREATOR_PKGS
- $ ./kitcreator
- Create a Tclkit with Metakit4 support, but using Zip for storage:
- $ ./kitcreator --enable-kit-storage=zip
- Create a KitDLL without Metakit support (will not create a Tclkit binary, just the library):
- $ KITCREATOR_PKGS='tk itcl kitdll'
- $ export KITCREATOR_PKGS
- $ ./kitcreator
Z 67dc278000ad3ad929ce63f026e339d0