Rugxulo wrote:
Okay, now that we have your attention:
1). Why is "--executable-file-name" such a long option to type? Wouldn't "--exe" be more convenient?
Well, we also have "--executable-path". ;-) Besides, particularly this option (as you state yourself below) is rarely useful to enter by hand (since then "-o foo" does just as well), rather to be put in Makefiles, IDE settings, scripts/bat files, shell aliases, etc., so you (or at least I ;-) don't have to type it very often, even when compiling directly from the command line: alias gpc="gpc --executable-file-name"
2). DJGPP has a habit of making both "blah" and "blah.exe" when you type "gpc blah.pas -o blah". This also affects your GP program. It's really only useful with *nix makefiles (so the target and file will be recognized), but it's pretty useless and annoying otherwise.
AFAIR, "blah" is the COFF executable which can be called from other DJGPP programs, and "blah.exe" is prefixed with a DOS loader (which is done by the "stubify" program), so it can be called from plain DOS programs as well. So depending on your needs, either or both may be useful. But it's been long since I've used DJGPP, so in case this was inaccurate or incomplete, Maurice will correct me, I hope. Frank -- Frank Heckenbach, f.heckenbach@fh-soft.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: ACB3 79B2 7EB2 B7A7 EFDE D101 CD02 4C9D 0FE0 E5E8