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

Modified README from [c5d7d876b1] to [b457bfcb27].

   142    142   			itcl thread
   143    143   
   144    144   	10. KC_TCL_STATICPKGS
   145    145   		Set this variable to the value "1" to attempt to force the
   146    146   		packages included in the "pkgs" directory of Tcl 8.6+
   147    147   		to be compiled statically
   148    148   
          149  +	11. KITCREATOR_STATIC_KITDLL
          150  +		Set this variable to the value "1" to build a static KitDLL.
          151  +		This only has an affect when KITCREATOR_PKGS specifies that
          152  +		"kitdll" is to be built (e.g., KITCREATOR_PKGS='kitdll')
          153  +
   149    154   
   150    155   Cross compiling Environment Variables:
   151    156   
   152    157   	1. CC  
   153    158   		C compiler   e.g. i686-pc-mingw32-gcc
   154    159   
   155    160   	2. CXX

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

   111    111   	fi
   112    112   
   113    113   	# Cleanup
   114    114   	rm -f kit kit.exe tclsh tclsh.exe
   115    115   
   116    116   	# Determine if target is KitDLL or KitSH
   117    117   	if [ "${KITTARGET}" = "kitdll" ]; then
   118         -		CONFIGUREEXTRA="${CONFIGUREEXTRA} --enable-kitdll=static"
          118  +		if [ "${KITCREATOR_STATIC_KITDLL}" = '1' ]; then
          119  +			CONFIGUREEXTRA="${CONFIGUREEXTRA} --enable-kitdll=static"
          120  +		else
          121  +			CONFIGUREEXTRA="${CONFIGUREEXTRA} --enable-kitdll"
          122  +		fi
   119    123   	fi
   120    124   
   121    125   	# Compile Kit
   122    126   	if [ -z "${ZLIBDIR}" ]; then
   123    127   		echo "Running: ./configure --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}"
   124    128   
   125    129   		./configure --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}