Diff

Differences From Artifact [60e65cba00]:

To Artifact [7af6d9d17c]:


     9      9   		cvsTag             is a CVS release tag (e.g., HEAD)
    10     10   		configure_options  are options to pass to subordinate configure
    11     11   		                   scripts (e.g., --enable-64bit)
    12     12   
    13     13   	Default is to create a Tclkit from Tcl version 8.4.19
    14     14   
    15     15   Examples:
    16         -	1. Create a Tclkit for Tcl 8.5.8:
           16  +	1. Create a Tclkit:
           17  +		a. $ ./kitcreator
           18  +
           19  +	2. Create a Tclkit for Tcl 8.5.8:
    17     20   		a. $ ./kitcreator 8.5.8
    18     21   
    19         -	2. Create a Tclkit for Tcl from CVS HEAD:
           22  +	3. Create a Tclkit for Tcl from CVS HEAD:
    20     23   		a. $ ./kitcreator cvs_HEAD
    21     24   
    22         -	3. Compile a 64-bit Tclkit:
           25  +	4. Compile a 64-bit Tclkit:
    23     26   		a. $ ./kitcreator --enable-64bit
    24     27   
    25         -	4. Cross-compile a Tclkit:
           28  +	5. Cross-compile a Tclkit:
    26     29   		a. Bootstrap (optional, you can use an existing Tclkit):
    27     30   			i.   $ ./kitcreator
    28     31   			ii.  $ mv tclkit-8.4.19 tclkit-local
    29     32   			iii. $ TCLKIT="`pwd`/tclkit-local"
    30     33   			iv.  $ export TCLKIT
    31     34   		b. Cross-compile:
    32     35   			i.   $ CC=mipsel-linux-uclibc-gcc
    33     36   			ii.  $ AR=mipsel-linux-uclibc-ar
    34     37   			iii. $ RANLIB=mipsel-linux-uclibc-ranlib
    35     38   			iv.  $ export CC AR RANLIB
    36     39   		v.   $ ./kitcreator --host=mipsel-linux-uclibc
    37     40   
    38         -	5. Compile a 64-bit Tclkit 8.5.8 using SunStudio 12.1 on Solaris/x86:
           41  +	6. Compile a 64-bit Tclkit 8.5.8 using SunStudio 12.1 on Solaris/x86:
    39     42   		a. $ CC='/opt/sunstudio12.1/bin/cc -m64'
    40     43   		b. $ CXX='/opt/sunstudio12.1/bin/CC -m64'
    41     44   		c. $ PATCH='gpatch'
    42     45   		c. $ export CC CXX PATCH
    43     46   		d. $ ./kitcreator 8.5.8 --enable-64bit
    44     47   
    45         -	6. To clean up post-build:
           48  +	7. To clean up post-build:
    46     49   		a. $ ./kitcreator clean
    47     50   
    48     51   Environment variables:
    49     52   	1. MAKE
    50     53   		Specifies the tool you wish to be called to build targets
    51     54   		from a Makefile.  This script is generally more well tested
    52     55   		with GNU Make.