Micheal - 2011-12-08

A simple C program:

include <stdio.h>

include <stdlib.h>

int main(int argc, char **argv)
{
printf("invoked as: %s\n",argv);
return 0;
}

returns the full pathname of the executable, even when it is invoked using a
soft link:
ln -s ./testalias.exe myname
./myname

This behavior is not the same as when the program is compiled using gcc:

gcc main.c -o testalias.exe

What flags can I change in the project settings to get the desired (same as
command line above) behavior?