Hi!
I'm amazed with the F7 and F8 sequence to compile C code, but is there a way to change the output filename from a.out?
Thanks! -- Vinícius André Massuchetto http://vinicius.soylocoporti.org.br
Hi,
Which version are you using?
Current versions >0.17 have f8 as compile and f9 as build which compiles and links, no need for a compile first :-) By default f9 should build an executable with the same name as the source file you are compiling, not a.out. What is shown in the build field of the menu->build->set includes and arguments dialog ? It should be gcc -Wall -o "%e" "%f"
Cheers Lex
2009/9/12 Vinicius Massuchetto viniciusandre@gmail.com:
Hi!
I'm amazed with the F7 and F8 sequence to compile C code, but is there a way to change the output filename from a.out?
Thanks!
Vinícius André Massuchetto http://vinicius.soylocoporti.org.br _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
Oh, Sorry.
F7 is the standard search (I changed to Ctrl+F). I'm at home with version 0.18 now, so I saw the menu. Quite handy.
At uni we can only use version 0.14 (Debian stable) I asked them to install on laboratories, so the question is for this version specifically.
Thanks. -- Vinícius André Massuchetto http://vinicius.soylocoporti.org.br
Lex Trotman escreveu:
Hi,
Which version are you using?
Current versions >0.17 have f8 as compile and f9 as build which compiles and links, no need for a compile first :-) By default f9 should build an executable with the same name as the source file you are compiling, not a.out. What is shown in the build field of the menu->build->set includes and arguments dialog ? It should be gcc -Wall -o "%e" "%f"
Cheers Lex
2009/9/12 Vinicius Massuchetto viniciusandre@gmail.com:
Hi!
I'm amazed with the F7 and F8 sequence to compile C code, but is there a way to change the output filename from a.out?
Thanks!
Vinícius André Massuchetto http://vinicius.soylocoporti.org.br _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
2009/9/12 Vinícius Massuchetto viniciusandre@gmail.com:
Oh, Sorry.
F7 is the standard search (I changed to Ctrl+F). I'm at home with version 0.18 now, so I saw the menu. Quite handy.
At uni we can only use version 0.14 (Debian stable) I asked them to install on laboratories, so the question is for this version specifically.
AFAICT 0.14 is the same, use the set arguments and includes dialog. The manual (show by help menu item) explains substitutions in that dialog, %e substitutes for filename without extension which is what you would normally use as executable file name on Linux. (hence %e :-)
Cheers Lex
Thanks.
Vinícius André Massuchetto http://vinicius.soylocoporti.org.br
Lex Trotman escreveu:
Hi,
Which version are you using?
Current versions >0.17 have f8 as compile and f9 as build which compiles and links, no need for a compile first :-) By default f9 should build an executable with the same name as the source file you are compiling, not a.out. What is shown in the build field of the menu->build->set includes and arguments dialog ? It should be gcc -Wall -o "%e" "%f"
Cheers Lex
2009/9/12 Vinicius Massuchetto viniciusandre@gmail.com:
Hi!
I'm amazed with the F7 and F8 sequence to compile C code, but is there a way to change the output filename from a.out?
Thanks!
Vinícius André Massuchetto http://vinicius.soylocoporti.org.br _______________________________________________ Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
Geany mailing list Geany@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
On Sat, 12 Sep 2009 12:41:28 +1000, Lex wrote:
2009/9/12 Vinícius Massuchetto viniciusandre@gmail.com:
Oh, Sorry.
F7 is the standard search (I changed to Ctrl+F). I'm at home with version 0.18 now, so I saw the menu. Quite handy.
At uni we can only use version 0.14 (Debian stable) I asked them to install on laboratories, so the question is for this version specifically.
AFAICT 0.14 is the same, use the set arguments and includes dialog. The manual (show by help menu item) explains substitutions in that dialog, %e substitutes for filename without extension which is what you would normally use as executable file name on Linux. (hence %e :-)
Just for the records, there was a problem with the build configuration with existing configurations when upgrading from 0.13 or below to Geany 0.14 or above. The easiest solution is, as Lex said, just to adjust the Build command in the build settings dialog.
There is a related bug report with all the details: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=479795
Regards, Enrico