mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-05-01 03:13:43 +02:00
11 lines
275 B
Bash
11 lines
275 B
Bash
#!/bin/bash
|
|
if [[ "$#" != "0" ]]
|
|
then
|
|
cd "`dirname "$0"`/.."
|
|
FPCSRC="$PWD"
|
|
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
|