This is what I get: in the compiler tab:
dmd -w "testing.d" -of "testing" (in directory: ~/Geany_Proj/testingD2) Compilation failed. Error: argument expected for switch '-of'
Why is that switch there? Is it necessary? How do I prevent Geany from using that switch?
On Sat, 6 Sep 2008 16:43:40 +0200, Brendan brenzie@gmail.com wrote:
Hi,
This is what I get: in the compiler tab:
dmd -w "testing.d" -of "testing" (in directory: ~/Geany_Proj/testingD2) Compilation failed. Error: argument expected for switch '-of'
Why is that switch there? Is it necessary? How do I prevent Geany from using that switch?
this switch specifies the name of the executable to be built. For reference see http://www.digitalmars.com/d/2.0/dmd-linux.html#switches.
I don't know why it isn't working for you, it should. Try running dmd -w "testing.d" -of "testing" in the directory ~/Geany_Proj/testingD2 and check whether it results in the same message.
The -of switch is there when linking the program (Build->Build or F9 key) to give the executable a sane name instead of something like 'a.out' or whatever the dmd might choose. You can change/remove this in the Build->Set Includes and Arguments dialog.
Regards, Enrico
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.
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.
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?
On 07/09/2008, Enrico Tröger enrico.troeger@uvena.de wrote:
On Sat, 6 Sep 2008 16:43:40 +0200, Brendan brenzie@gmail.com wrote:
Hi,
This is what I get: in the compiler tab:
dmd -w "testing.d" -of "testing" (in directory: ~/Geany_Proj/testingD2) Compilation failed. Error: argument expected for switch '-of'
Why is that switch there? Is it necessary? How do I prevent Geany from using that switch?
this switch specifies the name of the executable to be built. For reference see http://www.digitalmars.com/d/2.0/dmd-linux.html#switches.
I don't know why it isn't working for you, it should. Try running
dmd -w "testing.d" -of "testing"
in the directory ~/Geany_Proj/testingD2 and check whether it results in the same message.
The -of switch is there when linking the program (Build->Build or F9 key) to give the executable a sane name instead of something like 'a.out' or whatever the dmd might choose. You can change/remove this in the Build->Set Includes and Arguments dialog.
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
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
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
On Mon, 8 Sep 2008 23:26:46 +0200, Brendan brenzie@gmail.com wrote:
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.
Did you also tried without the quotes? This shouldn't matter but who knows.
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.
I guess you are using Geany 0.13 or older? Geany 0.13 and older appended this switch everytime. We changed this in 0.14 and made it configurable.
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 :)
I guess upgrading your Geany version will help a lot. But it's still strange that '-of' doesn't work. Or I'm missing something.
Regards, Enrico
Did you also tried without the quotes? This shouldn't matter but who knows.
Yes, I've tried. It doesn't work.
I guess you are using Geany 0.13 or older? Geany 0.13 and older appended this switch everytime. We changed this in 0.14 and made it configurable.
True. I'm using the 0.13 version.
I guess upgrading your Geany version will help a lot. But it's still strange that '-of' doesn't work. Or I'm missing something.
I installed Geany 0.13 through the package system under Linux. There was no 0.14 there. Is it possible to upgrade this current version, or must I totally deinstall it first, and then manually install 0.14? I'm a bit uncomfortable with manual installs/upgrades after I had to go through a lot of hassle with DMD.
On 09/09/2008, Enrico Tröger enrico.troeger@uvena.de wrote:
On Mon, 8 Sep 2008 23:26:46 +0200, Brendan brenzie@gmail.com wrote:
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.
Did you also tried without the quotes? This shouldn't matter but who knows.
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.
I guess you are using Geany 0.13 or older? Geany 0.13 and older appended this switch everytime. We changed this in 0.14 and made it configurable.
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 :)
I guess upgrading your Geany version will help a lot. But it's still strange that '-of' doesn't work. Or I'm missing something.
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
On Tue, 9 Sep 2008 13:28:16 +0200, Brendan brenzie@gmail.com wrote:
I guess upgrading your Geany version will help a lot. But it's still strange that '-of' doesn't work. Or I'm missing something.
I installed Geany 0.13 through the package system under Linux. There was no 0.14 there. Is it possible to upgrade this current version, or must I totally deinstall it first, and then manually install 0.14?
No, upgrading should work fine. Just compile it from source and install it.
I'm a bit uncomfortable with manual installs/upgrades after I had to go through a lot of hassle with DMD.
What distribution are you using? They should help you with such things.
Regards, Enrico
What distribution are you using? They should help you with such things.
It's Linux Mint (Ubuntu).
2008/9/9 Enrico Tröger enrico.troeger@uvena.de
On Tue, 9 Sep 2008 13:28:16 +0200, Brendan brenzie@gmail.com wrote:
I guess upgrading your Geany version will help a lot. But it's still strange that '-of' doesn't work. Or I'm missing something.
I installed Geany 0.13 through the package system under Linux. There was no 0.14 there. Is it possible to upgrade this current version, or must I totally deinstall it first, and then manually install 0.14?
No, upgrading should work fine. Just compile it from source and install it.
I'm a bit uncomfortable with manual installs/upgrades after I had to go through a lot of hassle with DMD.
What distribution are you using? They should help you with such things.
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
Hi Enrico,
I installed your 0.14 version, and it seems that `Build` for DMD now works. I want to thank you again for your time and effort. It is very pleasing that a developer grants this to his users.
Another thing I want to add: in the installation instructions (about `./configure`, `make`, `make install`, in my case "permission was denied" when installing it. I had to use `sudo make install` to get it to work. Maybe it should be mentioned in the file, just in case?
I will try to contribute to your project. I don't know yet if I can help with code, but I can probably help with translation to Dutch and French. I will contact the guy about it.
Regards
2008/9/9 Brendan brenzie@gmail.com
Did you also tried without the quotes? This shouldn't matter but who knows.
Yes, I've tried. It doesn't work.
I guess you are using Geany 0.13 or older? Geany 0.13 and older appended this switch everytime. We changed this in 0.14 and made it configurable.
True. I'm using the 0.13 version.
I guess upgrading your Geany version will help a lot. But it's still strange that '-of' doesn't work. Or I'm missing something.
I installed Geany 0.13 through the package system under Linux. There was no 0.14 there. Is it possible to upgrade this current version, or must I totally deinstall it first, and then manually install 0.14? I'm a bit uncomfortable with manual installs/upgrades after I had to go through a lot of hassle with DMD.
On 09/09/2008, Enrico Tröger enrico.troeger@uvena.de wrote:
On Mon, 8 Sep 2008 23:26:46 +0200, Brendan brenzie@gmail.com wrote:
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.
Did you also tried without the quotes? This shouldn't matter but who knows.
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.
I guess you are using Geany 0.13 or older? Geany 0.13 and older appended this switch everytime. We changed this in 0.14 and made it configurable.
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 :)
I guess upgrading your Geany version will help a lot. But it's still strange that '-of' doesn't work. Or I'm missing something.
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
On Tue, 9 Sep 2008 13:53:21 +0200 Brendan brenzie@gmail.com wrote:
Another thing I want to add: in the installation instructions (about `./configure`, `make`, `make install`, in my case "permission was denied" when installing it. I had to use `sudo make install` to get it to work. Maybe it should be mentioned in the file, just in case?
Last week I noticed this and added the note that 'make install' must be run as root: http://www.geany.org/manual/dev/index.html#source-compilation
Thanks anyway for reporting it though, these things will help people.
I will try to contribute to your project. I don't know yet if I can help with code, but I can probably help with translation to Dutch and French. I will contact the guy about it.
Great, also if you find any more issues with the manual or bugs, please tell us, or any improvement to the docs is helpful.
Regards, Nick
Great, also if you find any more issues with the manual or bugs, please tell us, or any improvement to the docs is helpful.
I already have one for you (I think): in the link you gave me it says `version 0.15`, but isn't the latest 0.14? Or I don't know about any version 0.15 of course.
On 09/09/2008, Nick Treleaven nick.treleaven@btinternet.com wrote:
On Tue, 9 Sep 2008 13:53:21 +0200
Brendan brenzie@gmail.com wrote:
Another thing I want to add: in the installation instructions (about `./configure`, `make`, `make install`, in my case "permission was denied" when installing it. I had to use `sudo make install` to get it to work. Maybe it should be mentioned in the file, just in case?
Last week I noticed this and added the note that 'make install' must be run as root: http://www.geany.org/manual/dev/index.html#source-compilation
Thanks anyway for reporting it though, these things will help people.
I will try to contribute to your project. I don't know yet if I can help with code, but I can probably help with translation to Dutch and French. I will contact the guy about it.
Great, also if you find any more issues with the manual or bugs, please tell us, or any improvement to the docs is helpful.
Regards,
Nick
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Tue, 9 Sep 2008 19:40:29 +0200, Brendan brenzie@gmail.com wrote:
Great, also if you find any more issues with the manual or bugs, please tell us, or any improvement to the docs is helpful.
I already have one for you (I think): in the link you gave me it says `version 0.15`, but isn't the latest 0.14? Or I don't know about any version 0.15 of course.
The latest official version is 0.14, yes. The link Nick posted is the documentation of the next release, 0.15 which is currently under development, therefore the 'dev' in the path to the docs. It is just some kind of preview and for those users who use the development version of Geany. It is generated nightly directly from the Subversion repository. Nick posted this link because the mentioned changes are only there, not in the docs of Geany 0.14.
Btw, bottom posting is always a good idea :).
Regards, Enrico
On 10/09/2008, Enrico Tröger enrico.troeger@uvena.de wrote:
On Tue, 9 Sep 2008 19:40:29 +0200, Brendan brenzie@gmail.com wrote:
Great, also if you find any more issues with the manual or bugs, please tell us, or any improvement to the docs is helpful.
I already have one for you (I think): in the link you gave me it says `version 0.15`, but isn't the latest 0.14? Or I don't know about any version 0.15 of course.
The latest official version is 0.14, yes. The link Nick posted is the documentation of the next release, 0.15 which is currently under development, therefore the 'dev' in the path to the docs. It is just some kind of preview and for those users who use the development version of Geany. It is generated nightly directly from the Subversion repository. Nick posted this link because the mentioned changes are only there, not in the docs of Geany 0.14.
Btw, bottom posting is always a good idea :).
Regards, Enrico
--
Okay, thanks for the info :)