Artifact 307fc26ff900c9d38cca4e4149b9a09708e025ea:
- 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] 
#! /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}"