[Geany-devel] Build, Compile, Execute [Built Setting] for various filenanetypes extension

Lex Trotman elextr at xxxxx
Wed Feb 24 01:28:18 UTC 2010

On 24 February 2010 09:18, Noli Sicad <nsicad at gmail.com> wrote:

> Lex,
> > Hmmmm, try configuring using the [build-menu] settings, [build_settings]
> is
> > the old format that is not necessarily properly converted in the SVN
> version
> > because it does not contain all the information that the new format needs
> so
> > some defaults are picked, but of course they might not be right.
> >
> > In fact you could try configuring it with the dialog, that should write
> the
> > new section and format to your user filetype file.
> OK. I try to look at it. But it seems the dialog form is only intended
> for real languages i.e. c and c++ and really for scripting languages.

Part of the changes I am about to make will be to improve the dialog by
breaking it into a simple and advanced version.

It should work now, but both custom filetypes and the build system are newly
added to the development version so there may still be bugs, especially when
using them together :-(

> > Also I'd recommend that you configure the compile command, not the
> execute
> > command.  That way the output from the command is captured and shown in
> the
> > message window.  And if glpsol is consistent with the GCC error format it
> > will be parsed for easily jumping to the source of the error.
> I have configure the compile command but still error
> [build_settings]
> # %f will be replaced by the complete filename
> # %e will be replaced by the filename without extension
> # (use only one of it at one time)
> compiler=/usr/local/bin/glpsol -m "%f"
> #linker=g++ -Wall -o "%e" "%f"
> run_cmd="/usr/local/bin/glpsol -m "%f""
> Would it be possible to show me the right syntax on compiler for linux?
> I tried these commands:
> compiler=/usr/local/bin/glpsol -m "%f"
> compiler="/usr/local/bin/glpsol -m "%f""
> The 2 syntax is not working. What is the right syntax for linux, mac
> os and windows?

Is the first syntax working? That should be it on Linux, I don't use Geany
on Windows and I don't even have a Mac, but as far as I know the commands
should be the same as the command line with the %f as you used.

> Based on experience glpsol is not so difficult to run in scintilla
> base editors. R package is the worst to configure.
> Any R package users in this group? How do you configure R package in
> windows, mac os x and linux in geany?

Someone was working on the R integration recently, maybe they will see this
and can help.

> http://www.r-project.org/
> Please show us your compiler and cmd_run configuration?
> Any of 56 languages in the scintilla lexer will do? Not c/c++, python,
> perl, php, javac, current languages that run out of the box (default)
> in geany
> Thanks. Noli
> _______________________________________________
> Geany-devel mailing list
> Geany-devel at uvena.de
> http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geany.org/pipermail/devel/attachments/20100224/9476932f/attachment.html>

More information about the Devel mailing list