Re: Where are the compilers (e.g. gcc, python, javac, etc) coded?

From: mitchell <mforal.n....at.gmail.com>
Date: Fri, 19 Feb 2010 10:34:48 -0800 (PST)

Hi,

> Now, I am really suprise why this does not work while in terminal it works.
>
> In TextAdept, not working
>
> > glpsol -m assign.mod
>
> sh: glpsol: command not found
>
> Terminal -----working
>

Is it an alias in your ~/.{bash,zsh}rc? It might not be evaluated. I'm
not sure exactly how C's 'system' command works, but you may want to
look there. It's possible your shell init script isn't loaded, etc.

Mitchell

> toto:~ root# glpsol --help
> Usage: glpsol [options...] filename
>
> General options:
>    --mps             read LP/MIP problem in fixed MPS format
>    --freemps         read LP/MIP problem in free MPS format (default)
>    --lp              read LP/MIP problem in CPLEX LP format
>    --glp             read LP/MIP problem in GLPK format
>    --math            read LP/MIP model written in GNU MathProg modeling
>                      language
>    -m filename, --model filename
>
> How do I fix these commands below?
>
>   mod = 'glpsol --math %(filename)',
>   mps = 'glpsol --mps %(filename)',
>   lp = 'glpsol --lp %(filename)',
>
> I am hacking in Mac OS X 10.5.8.
>
> Noli
>
> On 2/19/10, Noli Sicad <nsi....at.gmail.com> wrote:
>
> > Hi,
>
> > I am trying to create new lexer - gmpl (mathprog) for GLPK. I am
> > looking where are the compilers coded (e.g. gcc, python, javac, php,
> > ruby, etc.) coded, what is the name of the file or files? What is the
> > equivalent file to the scite.properties file in scite-tools?
>
> > Thank you.
>
> > Noli
Received on Fri 19 Feb 2010 - 13:34:48 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:39:22 EST