Check-in [fe5d208867]
Overview
SHA1:fe5d2088674168ac91f0a5997c37aa1f23309bf0
Date: 2014-05-29 05:27:08
User: rkeene
Comment:Added more Mac OS X support to cross-compile fakeouts
Timelines: family | ancestors | descendants | both | trunk
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2014-05-29
05:56
[fcac83fca7] Corrected typo in previous commit causing all things to be rendered as cross-compiles (user: rkeene, tags: trunk)
05:27
[fe5d208867] Added more Mac OS X support to cross-compile fakeouts (user: rkeene, tags: trunk)
05:19
[6b648f7f4d] Unified cross-compiling detection and configuration (user: rkeene, tags: trunk)
Changes

Modified tcl/patchscripts/fix-crosscompile.sh from [e079dfb078] to [ccf6b480eb].

52
53
54
55
56
57
58




59
60
61
62








63
64
65
66
67
68
69
		sysname="FreeBSD"
		sysrelease="$(echo "${KC_CROSSCOMPILE_HOST_OS}" | sed 's@^.*-freebsd@@;s@$@.0-RELEASE@')"
		;;
	*-aix[0-9].*)
		sysname="AIX"
		sysrelease="$(echo "${KC_CROSSCOMPILE_HOST_OS}" | sed 's@.*-aix\([0-9]\..*\)@\1@')"
		;;




esac

# Determine machine information
case "${KC_CROSSCOMPILE_HOST_OS}" in








	hppa64-*-hpux*)
		sysmachine="9000/859"
		;;
	i386-*-solaris*)
		sysmachine="i86pc"
		;;
	sparc-*-solaris*)







>
>
>
>




>
>
>
>
>
>
>
>







52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
		sysname="FreeBSD"
		sysrelease="$(echo "${KC_CROSSCOMPILE_HOST_OS}" | sed 's@^.*-freebsd@@;s@$@.0-RELEASE@')"
		;;
	*-aix[0-9].*)
		sysname="AIX"
		sysrelease="$(echo "${KC_CROSSCOMPILE_HOST_OS}" | sed 's@.*-aix\([0-9]\..*\)@\1@')"
		;;
	*-*-darwin*)
		sysname="Darwin"
		sysrelease="$(echo "${KC_CROSSCOMPILE_HOST_OS}" | sed 's@.*-darwin\([0-9]*\)@\1@')"
		;;
esac

# Determine machine information
case "${KC_CROSSCOMPILE_HOST_OS}" in
	x86_64-*-darwin*)
		sysmachine="Intel"
		syscpu="x86_64"
		;;
	powerpc-*-darwin*)
		sysmachine="Power Macintosh"
		syscpu="powerpc"
		;;
	hppa64-*-hpux*)
		sysmachine="9000/859"
		;;
	i386-*-solaris*)
		sysmachine="i86pc"
		;;
	sparc-*-solaris*)