Hi Frank
At present, "gpc foo.pas" produces "a.exe" on Windows, and perhaps just "a" or "a.out" on other platforms. If you want "foo.exe" or "foo" or whatever, you have to use "--executable-file-name" or use "-o foo[.extension]". Would it be sensible to have situations where "--executable-file-name" is supplied automatically? I am not wishing to create more work - but I have always wondered whether anyone ever actually wants "gpc foo.pas" to produce "a.[whatever]". This seems to be a relic from the past (and perhaps from gcc), and I wonder whether "--executable-file-name" should not actually be the standard behaviour (with people still being free to use "-o foo" if they want).
I am not sure what you think about this, or how trivial or otherwise it would be to do this, even if it were thought desirable (and there might be reasons why it would not be good to go down this route).
Finally, under BP and Delphi, "gpc foo.pas" will always produce "foo[.whatever]". Perhaps "--executable-file-name" should always be implied when in BP or Delphi mode?
Of course it is a trivial thing to supply this at the command line, so if it would be too much trouble, then please junk the idea.
Best regards, The Chief --------- Prof. Abimbola Olowofoyeku (The African Chief) Web: http://www.bigfoot.com/~african_chief/