Hi,<br><br>Doing that in the terminal, I get the same message.<br><br>Just using 'dmd <D file>' works, though.<br><br>I understand why the `-o` is there, but not why `-f ` is there.<br><br>What I do now is just use Geany's F8 to compile, the<br>
terminal to build, and Geany's F5 to execute. Of course,<br>I'd like to use Geany's F9 too.<br><br>When I use dmd manually in command line, without the `-o`<br>switch, it always produces a sane name, so you do think<br>
changing this in Geany's `Set Includes and Arguments` could<br>help?<br><br><div><span class="gmail_quote">On 07/09/2008, <b class="gmail_sendername">Enrico Tröger</b> <<a href="mailto:enrico.troeger@uvena.de">enrico.troeger@uvena.de</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sat, 6 Sep 2008 16:43:40 +0200, Brendan <<a href="mailto:brenzie@gmail.com">brenzie@gmail.com</a>> wrote:<br> <br> Hi,<br> <br><br> > This is what I get: in the compiler tab:<br> ><br> > dmd -w "testing.d" -of "testing" (in directory:<br>
 > ~/Geany_Proj/testingD2) Compilation failed.<br> > Error: argument expected for switch '-of'<br> ><br> > Why is that switch there? Is it necessary? How do I prevent Geany<br> > from using that switch?<br>
 <br> <br>this switch specifies the name of the executable to be built.<br> For reference see<br> <a href="http://www.digitalmars.com/d/2.0/dmd-linux.html#switches">http://www.digitalmars.com/d/2.0/dmd-linux.html#switches</a>.<br>
 <br> I don't know why it isn't working for you, it should.<br> Try running<br> <br>dmd -w "testing.d" -of "testing"<br> <br>in the directory ~/Geany_Proj/testingD2 and check whether it results in<br>
 the same message.<br> <br> The -of switch is there when linking the program (Build->Build or F9<br> key) to give the executable a sane name instead of something like<br> 'a.out' or whatever the dmd might choose.<br>
 You can change/remove this in the Build->Set Includes and Arguments<br> dialog.<br> <br> Regards,<br> Enrico<br> <br><br> --<br> Get my GPG key from <a href="http://www.uvena.de/pub.asc">http://www.uvena.de/pub.asc</a><br>
 <br>_______________________________________________<br> Geany mailing list<br> <a href="mailto:Geany@uvena.de">Geany@uvena.de</a><br> <a href="http://lists.uvena.de/cgi-bin/mailman/listinfo/geany">http://lists.uvena.de/cgi-bin/mailman/listinfo/geany</a><br>
 <br><br></blockquote></div><br>