[Geany] DMD 2 and Geany: error argument expected for switch '-of'

Enrico Tröger enrico.troeger at xxxxx
Mon Sep 8 18:15:36 UTC 2008


On Mon, 8 Sep 2008 17:15:29 +0200, Brendan <brenzie at gmail.com> wrote:

> Hi,
> 
> Doing that in the terminal, I get the same message.
> 
> Just using 'dmd <D file>' works, though.
> 
> I understand why the `-o` is there, but not why `-f ` is there.

Because the dmd doesn't support '-o' which makes it special from other
common compilers. No idea why it does work on your system but see the
manual link I posted in my last mail, there is also '-of' mentioned and
not '-o'.
Er, could you try dmd -of"testing"? Maybe it doesn't like the space
between the option and the filename. I believe to remind something like
this. That dmd is just strange.


> What I do now is just use Geany's F8 to compile, the
> terminal to build, and Geany's F5 to execute. Of course,
> I'd like to use Geany's F9 too.

Of course, this isn't a solution.

 
> When I use dmd manually in command line, without the `-o`
> switch, it always produces a sane name, so you do think
> changing this in Geany's `Set Includes and Arguments` could
> help?

Sure, just try it. I don't know the DMD very well because I don't use
the D language much at all and I was never sure about the licencing
issues with DMD (I prefer free software).

GDC instead is completely free software and uses the
common compiler options like '-o' and similars.


Regards,
Enrico

-- 
Get my GPG key from http://www.uvena.de/pub.asc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20080908/546572fe/attachment.pgp>


More information about the Users mailing list