Check-in [eb5004bca0]
Overview
SHA1:eb5004bca0e9f569748cc2667dc287b193b695a8
Date: 2016-02-24 20:26:25
User: rkeene
Comment:Created a mechanism for specifying which KitDLL to build
Timelines: family | ancestors | descendants | both | feature-kitdll-static
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2016-02-24
20:41
[e6ab988ad4] Closed-Leaf: Create a Tcl_Init() symbol if we are creating a static libtclkit (user: rkeene, tags: feature-kitdll-static)
20:26
[eb5004bca0] Created a mechanism for specifying which KitDLL to build (user: rkeene, tags: feature-kitdll-static)
20:23
[365a853bd5] Fixed issues causing static KitDLL from not getting built (user: rkeene, tags: feature-kitdll-static)
Changes

Modified README from [c5d7d876b1] to [b457bfcb27].

142
143
144
145
146
147
148





149
150
151
152
153
154
155
			itcl thread

	10. KC_TCL_STATICPKGS
		Set this variable to the value "1" to attempt to force the
		packages included in the "pkgs" directory of Tcl 8.6+
		to be compiled statically







Cross compiling Environment Variables:

	1. CC  
		C compiler   e.g. i686-pc-mingw32-gcc

	2. CXX







>
>
>
>
>







142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
			itcl thread

	10. KC_TCL_STATICPKGS
		Set this variable to the value "1" to attempt to force the
		packages included in the "pkgs" directory of Tcl 8.6+
		to be compiled statically

	11. KITCREATOR_STATIC_KITDLL
		Set this variable to the value "1" to build a static KitDLL.
		This only has an affect when KITCREATOR_PKGS specifies that
		"kitdll" is to be built (e.g., KITCREATOR_PKGS='kitdll')


Cross compiling Environment Variables:

	1. CC  
		C compiler   e.g. i686-pc-mingw32-gcc

	2. CXX

Modified kitsh/build.sh from [e30417e077] to [cb53c1165d].

111
112
113
114
115
116
117

118



119
120
121
122
123
124
125
	fi

	# Cleanup
	rm -f kit kit.exe tclsh tclsh.exe

	# Determine if target is KitDLL or KitSH
	if [ "${KITTARGET}" = "kitdll" ]; then

		CONFIGUREEXTRA="${CONFIGUREEXTRA} --enable-kitdll=static"



	fi

	# Compile Kit
	if [ -z "${ZLIBDIR}" ]; then
		echo "Running: ./configure --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}"

		./configure --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}







>
|
>
>
>







111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
	fi

	# Cleanup
	rm -f kit kit.exe tclsh tclsh.exe

	# Determine if target is KitDLL or KitSH
	if [ "${KITTARGET}" = "kitdll" ]; then
		if [ "${KITCREATOR_STATIC_KITDLL}" = '1' ]; then
			CONFIGUREEXTRA="${CONFIGUREEXTRA} --enable-kitdll=static"
		else
			CONFIGUREEXTRA="${CONFIGUREEXTRA} --enable-kitdll"
		fi
	fi

	# Compile Kit
	if [ -z "${ZLIBDIR}" ]; then
		echo "Running: ./configure --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}"

		./configure --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}