+ command line to compile test programs

This commit is contained in:
mazen 2002-12-06 08:32:41 +00:00
parent 6ee1123e9a
commit e0451e6641

View File

@ -1,2 +1,9 @@
#!/bin/bash
fpc pp -gl -oppcsparc -dExtDebug -Fusparc -Fusystems -dSPARC -dNoOpt -dGDB
if [[ "$1" != "" ]]
then
FPCSRC="$HOME/FPC/Demo/src/fpc"
cd $FPCSRC/tests/sparc
$FPCSRC/compiler/ppcsparc -s -al -Fi$FPCSRC/rtl/{unix,linux,sparc,inc} -dSPARC "$@"
else
fpc pp -gl -oppcsparc -dExtDebug -Fusparc -Fusystems -dSPARC -dNoOpt -dGDB
fi