view run-from-build.sh @ 549:2edf40b17ee2

Select crtbegin.o and crtend.o variants more accurately for -static and -shared.
author Rob Landley <rob@landley.net>
date Tue, 23 Dec 2008 14:13:33 -0600
parents e98ed40c55ef
children dd03aa5996e6
line wrap: on
line source

#!/bin/bash

SAVEPATH="$PATH"
source sources/include.sh
PATH="$SAVEPATH"

cd "${BUILD}/system-image-$ARCH" || exit 1

# A little paranoia.
fsck.ext2 -y "image-${ARCH}.ext2" </dev/null

# And run it, using the distccd we built (if necessary) and the cross-compiler.

PATH="$HOSTTOOLS:$PATH" ./run-emulator.sh --make-hdb 2048 --with-distcc "$CROSS"