@@ -139,10 +139,40 @@ Additionally, any bundled packages (in the "pkgs" directory) are excluded. This typically includes (as of Tcl 8.6): itcl thread +Cross compiling Environment Variables: + + 1. CC + C compiler e.g. i686-pc-mingw32-gcc + + 2. CXX + C++ compiler. Required if you want to use mk4tcl. e.g. i686-pc-mingw32-g++ + If not required, you can set it to the string "false" + + 3. AR + Library creator e.g. i686-pc-mingw32-ar + + 4. RANLIB + Library post processing executable e.g. i686-pc-mingw32-ranlib + + 5. STRIP + Executable name to strip binaries e.g. i686-pc-mingw32-strip + + 6. NM + Executable used to dump names from the objects e.g. i686-pc-mingw32-nm + + 7. CC_FOR_BUILD, HOST_CC + Set this to the name of compiler on the host on which + the cross compilation is being run. + +On Windows we also need this: + + 1. RC + Resource compiler : e.g. i686-pc-mingw32-windres + Kitsh Configure Options: 1. --enable-kit-storage={zip|mk4|auto} Specify which type of storage to use with the Tclkit. The default is to auto-detect. Auto-detection uses Mk4 if available and built statically, otherwise it falls back to Zip.