Script to compile and run a obj c file in GNUstep Shell in windows
gcc -o $1 $1.m -I /GNUstep/System/Library/Headers -L /GNUstep/System/Library/Libraries -lobjc -lgnustep-base./$1
save this as r.shthen run chmod 777 r.sh from the shell
then copy the file and place it in the bin folder of GNUstep
then to run a file type: r.sh MyClassand get it running
No comments:
Post a Comment