Check-in [49f1d0e042]
Overview
Comment:Fixed 64-bit Tcl 8.5.x compilation on Solaris

Fixed bootstrap build issue on Tcl 8.5.x

Minor documentation update

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:49f1d0e0426aae061441e87b885c0c7c9d640393
User & Date: rkeene on 2010-09-26 04:39:35
Other Links: manifest | tags
Context
2010-09-26
04:39
Updated to try linking to Sun Studio before GNU Libstdc++

Updated to fix FFF 484 to make resultant kit work on 64-bit big endian systems check-in: cb76e549e7 user: rkeene tags: trunk

04:39
Fixed 64-bit Tcl 8.5.x compilation on Solaris

Fixed bootstrap build issue on Tcl 8.5.x

Minor documentation update check-in: 49f1d0e042 user: rkeene tags: trunk

04:39
Updated documentation check-in: 1eb97d8535 user: rkeene tags: trunk
Changes

Modified README from [60e65cba00] to [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.

Modified kitsh/build.sh from [75bca485ac] to [a9fcedbcad].

    57     57   		### Call installer
    58     58   		"${TCLKIT}" installvfs.tcl kit starpack.vfs
    59     59   	else
    60     60   		## Bootstrap (cannot cross-compile)
    61     61   		### Call installer
    62     62   		cp kit runkit
    63     63   		echo 'set argv [list kit starpack.vfs]' > setup.tcl
           64  +		echo 'if {[catch { clock seconds }]} { proc clock args { return 0 } }' >> setup.tcl
    64     65   		echo 'source installvfs.tcl' >> setup.tcl
    65     66   		echo | ./runkit
    66     67   	fi
    67     68   
    68     69   	exit 0
    69     70   ) || exit 1
    70     71   
    71     72   exit 0

Modified kitsh/buildsrc/kitsh-0.0/Makefile.in from [37da0c70cd] to [43b96c5515].

     1      1   CC = @CC@
     2         -CFLAGS = @CFLAGS@ @DEFS@
     3         -CPPFLAGS = @CPPFLAGS@
            2  +CFLAGS = @CFLAGS@ @DEFS@ -DSTDC_HEADERS=1
            3  +CPPFLAGS = @CPPFLAGS@ @DEFS@ -DSTDC_HEADERS=1
     4      4   LDFLAGS = @LDFLAGS@
     5      5   LIBS = @LIBS@
     6      6   ARCHS = @ARCHS@
     7      7   OBJS = kitInit.o main.o pwb.o rechan.o zlib.o
     8      8   
     9      9   all: kit
    10     10