GNU step gcc.sh

#!/bin/sh

#if[$# -ne 1]; then
#echo "Usage: $0 name"
#exit 1
#fi

gcc -g -o $1 $1.m -fconstant-string-class=NSConstantString -I /GNUstep/System/Library/Headers/ -L /GNUstep/System/Library/Libraries/ -lobjc -lgnustep-base

exit 0

你可能感兴趣的:(gcc)