Artifact f633f55a68602e243f3190e4c2bfb8ec76dcf18f:
- Executable file
build/make-minkit-static
— part of check-in
[e854407d3f]
at
2010-09-26 04:45:57
on branch trunk
— Updated to support patching Tcl using scripts
Created internal build script to create statically linked Diet Libc-based Tclkits (user: rkeene, size: 571) [annotate] [blame] [check-ins using]
#! /bin/sh # Set C compiler to diet libc CC='diet gcc' export CC # Build minimalistic tclkit KITCREATOR_PKGS=" " KITCREATOR_MINENCODINGS='true' KITCREATOR_MINBUILD='true' export KITCREATOR_PKGS KITCREATOR_MINENCODINGS KITCREATOR_MINBUILD rm -rf tcl/patchscripts mkdir tcl/patchscripts || exit 1 cat << \__EOF__ > tcl/patchscripts/dietlibc.sh sed 's@^# *include *<string.h>$@&@;T s;p;s@string.h@strings.h@;:s' generic/tclInt.h > generic/tclInt.h.new && cat generic/tclInt.h.new > generic/tclInt.h rm -f generic/tclInt.h.new __EOF__ ./kitcreator "$@" --disable-load