hey guys.
I don't have a Mac, so I need your help here. If, on Mac OS X, one write some C code, then compiles it with
then puts binaryfile on the Desktop and double-clicks it, what will happen? Will in run as if you typed
on the command line?
What if binaryfile doesn't have execute permissions set? What happens whet it gets double clicked?
Thanks for help.
I don't have a Mac, so I need your help here. If, on Mac OS X, one write some C code, then compiles it with
Code:
gcc -o binaryfile code.c
then puts binaryfile on the Desktop and double-clicks it, what will happen? Will in run as if you typed
Code:
./binaryfile
on the command line?
What if binaryfile doesn't have execute permissions set? What happens whet it gets double clicked?
Thanks for help.