Check-in [2bcd1b2d5e]
Overview
Comment:Updated to support Win32 compilation of TclVFS
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:2bcd1b2d5eb20ca1546f9d7ccce15244ad317f75
User & Date: rkeene on 2010-09-26 04:40:24
Other Links: manifest | tags
Context
2010-09-26
04:40
Updated kitsh to support Windows

Removed executable bit from boot.tcl

Updated licensing

Added documentation regarding statically linking to Tk

Updated win32 build test to pass in path to zlib check-in: f644c21488 user: rkeene tags: trunk

04:40
Updated to support Win32 compilation of TclVFS check-in: 2bcd1b2d5e user: rkeene tags: trunk
04:40
Added internal script to build Win32 tclkit for testing check-in: 6b5f7a6c29 user: rkeene tags: trunk
Changes

Modified tclvfs/build.sh from [befde2796f] to [b2a99c5623].

    55     55   		fi
    56     56   
    57     57   		echo "Applying: ${patch}"
    58     58   		${PATCH:-patch} -p1 < "${patch}"
    59     59   	done                                                                                                                               
    60     60   
    61     61   	cp generic/vfs.c .
           62  +
           63  +	# If we are building for Win32, we need to define TEA_PLATFORM so that
           64  +	# the right private directory is found
           65  +	BUILDTYPE="$(basename "${TCLCONFIGDIR}")"
           66  +	if [ "${BUILDTYPE}" = "win" ]; then
           67  +		TEA_PLATFORM="windows"
           68  +		export TEA_PLATFORM
           69  +
           70  +		CFLAGS="${CFLAGS} -I${TCLCONFIGDIR}"
           71  +		export CFLAGS
           72  +	fi
    62     73   
    63     74   	# Build static version
    64     75   	./configure --disable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
    65     76   	${MAKE:-make} || exit 1
    66     77   	${MAKE:-make} install
    67     78   
    68     79   	mkdir "${OUTDIR}/lib" || exit 1