Artifact 36d16f76acabe21b9395df6343f11507fe45b0e8:
- 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]
#! /bin/bash if [ -z "${CROSS}" ]; then echo 'Error: Environment variable CROSS is empty/unset. Aborting.' >&2 exit 1 fi PATH="$(pwd)/build/fake-bin:${HOME}/root/cross-compilers/${CROSS}/${CROSS}/bin:${PATH}:${HOME}/root/cross-compilers/${CROSS}/bin" AR="${CROSS}-ar" CC="${CROSS}-gcc ${CC_ADD}" CXX="${CROSS}-g++ ${CC_ADD}" RANLIB="${CROSS}-ranlib" STRIP="${CROSS}-strip" export PATH AR CC CXX RANLIB STRIP ./kitcreator "$@" --host="${CROSS}"