Yes, you are right about that, the `-of` switch. I was looking for it on the link you gave, but couldn't find it before.
I tried non-space inbetween `testing` and `-of`, but it doesn't work.
I also changed the `Set Includes and Arguments`, but no good effect either. It seems Geany always puts the `-of` switch, even if it's not there in the settings.
Now I just don't know anymore. I think I will ask on a forum somewhere. If I get to know the solution, I will let you know. Thanks for your help :)
Regards
On 08/09/2008, Enrico Tröger enrico.troeger@uvena.de wrote:
On Mon, 8 Sep 2008 17:15:29 +0200, Brendan brenzie@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
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany