Mail Archives: djgpp/1994/12/02/11:38:08
> DJGPP seems to just give the leaf-name of the executable in argv[0],
> rather than the executable path as DOS compilers seem to. I suppose
> this follows the UNIX style, but I have a program which uses the path
> on argv[0] to find support files.
Are you sure this is always the case? At my place, I have the full
path, as expected. And under DOS, this shouldn't depend on the shell
you are using, as it is under Unix, right? But all the same: which
shell do you use?
- Raw text -