Mail Archives: djgpp/1994/12/01/16:43:30
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.
Is there a way of altering DJGPP's behaviour, or some way of finding out
where the executable which was run lives? If I'm going to need to alter
DJGPP's source, a pointer as to where to start looking would be helpful.
Thanks
Olly
--
If you're not part of the solution, you're part of the precipitate.
- Raw text -