+ add debug info to produced programs

This commit is contained in:
mazen 2004-03-20 14:21:56 +00:00
parent 74e9c43e12
commit 7b3bf8898a

View File

@ -22,7 +22,7 @@ fi
if [[ "$#" -gt "0" ]] && ( [[ "$1" != "-B" ]] || [[ "$#" -gt "1" ]] )
then
cd "$TEST_DIR"
COMPILE_COMMAND='"$COMP_DIR/sparc/ppcsparc" -artl $UNITS_PATH -FD"$SPARC_BINUTILS_DIR" $INCLUDE_PATH "-FE$TEST_DIR" -dSPARC'
COMPILE_COMMAND='"$COMP_DIR/sparc/ppcsparc" -g -artl $UNITS_PATH -FD"$SPARC_BINUTILS_DIR" $INCLUDE_PATH "-FE$TEST_DIR" -dSPARC'
if [[ "$1" == "-gdb" ]]
then
shift 1