Check-in [d2e00f0f73]
Overview
Comment:Added support for specifying a STRIP environment variable
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: d2e00f0f73151395246389666341d107fb5dade4
User & Date: rkeene on 2010-09-26 04:41:24
Other Links: manifest | tags
Context
2010-09-26
04:41
Added support for the Thread package if asked to compile a threaded Tcl check-in: 021ebbd5e8 user: rkeene tags: trunk
04:41
Added support for specifying a STRIP environment variable check-in: d2e00f0f73 user: rkeene tags: trunk
04:41
Added Tk/xlib to include search path check-in: b5c571778a user: rkeene tags: trunk
Changes

Modified README from [39c5346f75] to [f879dbf338].

68
69
70
71
72
73
74




75
76
77
78
79
80
81
		system.  The default is "tclkit".  A working tclkit is required
		for cross-compiling Tclkits.

	4. STATICTK
		Specify this as "1" to statically link to Tk.  The default
		action on most platforms is to dynamically link to Tk.







-------------------
Method of Operation
-------------------
Summary:
	1. "kitcreator" calls */build.sh







>
>
>
>







68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
		system.  The default is "tclkit".  A working tclkit is required
		for cross-compiling Tclkits.

	4. STATICTK
		Specify this as "1" to statically link to Tk.  The default
		action on most platforms is to dynamically link to Tk.

	5. STRIP
		Specifies the tool you wish to be called to strip object files,
		archives, and shared objects.  The default is "strip".  You
		should probably set this if you are cross-compiling.


-------------------
Method of Operation
-------------------
Summary:
	1. "kitcreator" calls */build.sh

Modified build/make-kit-win32 from [d9637ee9cf] to [34e60fa0c9].

1
2
3
4
5
6
7

8
9
10
#! /bin/sh

AR=i586-mingw32msvc-ar
CC=i586-mingw32msvc-gcc
CXX=i586-mingw32msvc-g++
RANLIB=i586-mingw32msvc-ranlib
RC=i586-mingw32msvc-windres

export AR CC CXX RANLIB RC

./kitcreator "$@" --host=i586-mingw32msvc --with-zlib=/home/rkeene/root/windows-i386







>
|

|
1
2
3
4
5
6
7
8
9
10
11
#! /bin/sh

AR=i586-mingw32msvc-ar
CC=i586-mingw32msvc-gcc
CXX=i586-mingw32msvc-g++
RANLIB=i586-mingw32msvc-ranlib
RC=i586-mingw32msvc-windres
STRIP=i586-mingw32msvc-strip
export AR CC CXX RANLIB RC STRIP

./kitcreator "$@" --host=i586-mingw32msvc

Modified itcl/build.sh from [faf1ba23d7] to [7b29c2b2f9].

71
72
73
74
75
76
77
78
79
80
81
82
83
	${MAKE:-make} || exit 1

	${MAKE:-make} install

	mkdir "${OUTDIR}/lib" || exit 1
	cp -r "${INSTDIR}/lib"/itcl*/ "${OUTDIR}/lib/"

	strip -g "${OUTDIR}"/lib/itcl*/*.so >/dev/null 2>/dev/null

	exit 0
) || exit 1

exit 0







|





71
72
73
74
75
76
77
78
79
80
81
82
83
	${MAKE:-make} || exit 1

	${MAKE:-make} install

	mkdir "${OUTDIR}/lib" || exit 1
	cp -r "${INSTDIR}/lib"/itcl*/ "${OUTDIR}/lib/"

	"${STRIP:-strip}" -g "${OUTDIR}"/lib/itcl*/*.so >/dev/null 2>/dev/null

	exit 0
) || exit 1

exit 0

Modified kitsh/build.sh from [73b3561dba] to [2d66362eb1].

50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
		echo "./configure --with-tcl=\"${TCLCONFIGDIR}\" --with-zlib=\"${ZLIBDIR}\" ${CONFIGUREEXTRA}"

		./configure --with-tcl="${TCLCONFIGDIR}" --with-zlib="${ZLIBDIR}" ${CONFIGUREEXTRA}
	fi
	${MAKE:-make} || exit 1

	# Strip the kit of all symbols, if possible
	strip kit >/dev/null 2>/dev/null

	# Create VFS directory
	mkdir "starpack.vfs"
	mkdir "starpack.vfs/lib"

	## Copy in all built directories
	cp -r "${OTHERPKGSDIR}"/*/out/* 'starpack.vfs/'







|







50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
		echo "./configure --with-tcl=\"${TCLCONFIGDIR}\" --with-zlib=\"${ZLIBDIR}\" ${CONFIGUREEXTRA}"

		./configure --with-tcl="${TCLCONFIGDIR}" --with-zlib="${ZLIBDIR}" ${CONFIGUREEXTRA}
	fi
	${MAKE:-make} || exit 1

	# Strip the kit of all symbols, if possible
	"${STRIP:-strip}" kit >/dev/null 2>/dev/null

	# Create VFS directory
	mkdir "starpack.vfs"
	mkdir "starpack.vfs/lib"

	## Copy in all built directories
	cp -r "${OTHERPKGSDIR}"/*/out/* 'starpack.vfs/'

Modified tk/build.sh from [25355eced1] to [3efb154a49].

86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
		done

		mkdir "${OUTDIR}/lib" || exit 1
		cp -r "${INSTDIR}/lib"/tk*/ "${OUTDIR}/lib/"
		cp -r "${INSTDIR}/lib"/libtk* "${OUTDIR}/lib"/tk*/
		rm -rf "${OUTDIR}/lib"/tk*/demos

		strip -g "${OUTDIR}"/lib/tk*/*.so >/dev/null 2>/dev/null
		find "${OUTDIR}" -type f -name '*.a' | xargs rm -f >/dev/null 2>/dev/null

		break
	done

	exit 0
) || exit 1







|







86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
		done

		mkdir "${OUTDIR}/lib" || exit 1
		cp -r "${INSTDIR}/lib"/tk*/ "${OUTDIR}/lib/"
		cp -r "${INSTDIR}/lib"/libtk* "${OUTDIR}/lib"/tk*/
		rm -rf "${OUTDIR}/lib"/tk*/demos

		"${STRIP:-strip}" -g "${OUTDIR}"/lib/tk*/*.so >/dev/null 2>/dev/null
		find "${OUTDIR}" -type f -name '*.a' | xargs rm -f >/dev/null 2>/dev/null

		break
	done

	exit 0
) || exit 1