Differences From Artifact [36d16f76ac]:
- Executable file
build/make-kit-crosscompile
— part of check-in
[8efaf47298]
at
2011-08-03 19:53:24
on branch trunk
— Added more cross-compilers
Updated cross-compiling to use a fake "uname" to deal with Tcl's broken-ness with respect to cross-compiling (user: rkeene, size: 451) [annotate] [blame] [check-ins using]
To Artifact [307fc26ff9]:
- Executable file
build/make-kit-crosscompile
— part of check-in
[f0be818478]
at
2011-08-04 01:11:09
on branch trunk
— Updated to specify full path to C compiler when adjusting path (this fixes tclsh builds for KitDLL)
Updated to not test NetBSD/i386 Tk since NetBSD/i386 has no X11 libraries (user: rkeene, size: 533) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 | #! /bin/bash if [ -z "${CROSS}" ]; then echo 'Error: Environment variable CROSS is empty/unset. Aborting.' >&2 exit 1 fi | | > | > > | | | | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #! /bin/bash if [ -z "${CROSS}" ]; then echo 'Error: Environment variable CROSS is empty/unset. Aborting.' >&2 exit 1 fi CCROOT="${HOME}/root/cross-compilers/${CROSS}" CCROOTBIN="${CCROOT}/bin" PATH="$(pwd)/build/fake-bin:${CCROOT}/${CROSS}/bin:${PATH}:${CCROOTBIN}" AR="${CCROOTBIN}/${CROSS}-ar" CC="${CCROOTBIN}/${CROSS}-gcc ${CC_ADD}" CXX="${CCROOTBIN}/${CROSS}-g++ ${CC_ADD}" RANLIB="${CCROOTBIN}/${CROSS}-ranlib" STRIP="${CCROOTBIN}/${CROSS}-strip" export PATH AR CC CXX RANLIB STRIP ./kitcreator "$@" --host="${CROSS}" |