diff --git a/compiler/mppcsparc b/compiler/mppcsparc index c850fde1f8..00c4f81351 100644 --- a/compiler/mppcsparc +++ b/compiler/mppcsparc @@ -7,7 +7,7 @@ INCLUDE_PATH=`echo -Fi"$RTL_DIR"/{unix,linux,sparc,inc,linux/sparc}` if [[ "$1" == "-B" ]] || [[ "$#" == 0 ]] then cd "$COMP_DIR" - fpc fpc -gl -dExtDebug -Fu"sparc;systems" -dSPARC -dNoOpt -dGDB "$1" + fpc pp -gl -oppcsparc -dExtDebug -Fu"sparc;systems" -dSPARC -dNoOpt -dGDB "$1" fi if [[ "$#" -gt "0" ]] && ( [[ "$1" != "-B" ]] || [[ "$#" -gt "1" ]] ) then @@ -16,8 +16,8 @@ then then shift 1 SRC_DIR=`echo "$COMP_DIR/"{,sparc,systems}":"` - gdb -d "$SRC_DIR" --args "$COMP_DIR"/fpc -s -al $INCLUDE_PATH -dSPARC "$@" + gdb -d "$SRC_DIR" --args "$COMP_DIR"/ppcsparc -s -al $INCLUDE_PATH -dSPARC "$@" else - "$COMP_DIR"/fpc -s -al $INCLUDE_PATH -dSPARC "$@" + "$COMP_DIR"/ppcsparc -s -al $INCLUDE_PATH -dSPARC "$@" fi fi