AcessNative - Fixing bad handling of errors, add run script for ARCH=native
[tpg/acess2.git] / AcessNative / RunNative
1 #!/bin/sh
2 #
3 # Execute the specified root application using the ARCH=native build
4 #
5 _=$PWD; cd $(dirname $0); DIR=$PWD; cd $_
6 DISTROOT=$(dirname $DIR)/Usermode/Output/native/
7 VTERM=/Devices/pts/vt0
8
9 # 1. Start up AcessKernel
10 # - Set DISTROOT to the output directory of ARCH=native
11 # - Don't start a root application
12 ${DIR}/AcessKernel --distroot $DISTROOT > ${DIR}/log/native_AcessKernel.log &
13 sleep 1
14 LD_LIBRARY_PATH=${DIR}:${DISTROOT}Libs AN_PREOPEN=$VTERM:$VTERM:$VTERM ${DBG} ${DISTROOT}Apps/AxWin/4.0/AxWinServer

UCC git Repository :: git.ucc.asn.au