hello.
My question, basically is: what is the definition of unix/linux exec files, or
what makes a file executable?
More specifically, must a unix source file that was compiled using gcc have exec permissions in order to be considered executable?
Is it right to say that a unix/linux exec file is something that was compiled by the gcc?
thanks.
Under UNIX a file is executable if it has the appropriate file mode bit set. And any file (not only those compiled with gcc) can be executable, as long as the kernel can understand it's magic bytes and the interpreter needed can be found.