www.digitalmars.com         C & C++   DMDScript  

D.gnu - gdmd and the `-of` switch

reply Mindy (0xEAB) <desisma heidel.beer> writes:
Hi Iain,

 From `dmd --help`:

 -of=<filename>    name output file to <filename>
From `gdmd --help` (v14.2.0):
 -offilename    name output file to filename
Is this discrepancy fixed in later versions? Or will this discrepancy be fixed in a future release? Sorry, can’t really check it myself. The GNU infrastructure keeps dropping packages from the IP ranges of my ISP again and again (like in `-j DROP`, not `-j REJECT`). I no longer bother visiting their website just to see it waste my time with a timeout.
Jun 13
next sibling parent Mindy (0xEAB) <desisma heidel.beer> writes:
On Saturday, 13 June 2026 at 23:58:02 UTC, Mindy (0xEAB) wrote:
 Hi Iain,

 From `dmd --help`:

 -of=<filename>    name output file to <filename>
From `gdmd --help` (v14.2.0):
 -offilename    name output file to filename
Also, `gdmd` seems to require the user to supply separate `-od` to allow the user to place the object file in the directory from `-of`, while `dmd` and `ldmd2` seem to do so automatically.
Jun 13
prev sibling parent Iain Buclaw <ibuclaw gdcproject.org> writes:
On Saturday, 13 June 2026 at 23:58:02 UTC, Mindy (0xEAB) wrote:
 Hi Iain,

 From `dmd --help`:

 -of=<filename>    name output file to <filename>
From `gdmd --help` (v14.2.0):
 -offilename    name output file to filename
Is this discrepancy fixed in later versions? Or will this discrepancy be fixed in a future release? Sorry, can’t really check it myself. The GNU infrastructure keeps dropping packages from the IP ranges of my ISP again and again (like in `-j DROP`, not `-j REJECT`). I no longer bother visiting their website just to see it waste my time with a timeout.
Hi, This wrapper script isn't part of GCC. https://github.com/D-Programming-GDC/gdmd You can edit as necessary / raise a PR.
Jun 14