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