[Geany] Change compiler output filename

Lex Trotman elextr at xxxxx
Sat Sep 12 02:41:28 UTC 2009


2009/9/12 Vinícius Massuchetto <viniciusandre at 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 at 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 at uvena.de
>>> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
>>>
>> _______________________________________________
>> Geany mailing list
>> Geany at uvena.de
>> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
>
> _______________________________________________
> Geany mailing list
> Geany at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany
>



More information about the Users mailing list