Hello
Is it possible to GRASS Scripts to call external functions? I mean compiled C functions that has nothing to do with GRASS API?
Merci & Thank you
Gilbert
Hello
Is it possible to GRASS Scripts to call external functions? I mean compiled C functions that has nothing to do with GRASS API?
Merci & Thank you
Gilbert
Gilbert Ferrara wrote:
Is it possible to GRASS Scripts to call external
functions? I mean compiled C functions that has nothing to
do with GRASS API?
Yes. How exactly you call them will depend on what language you write your
script in. It probably doesn't hurt to have the program be in your system
$PATH.
Hamish
Good Evening
So for instance if I create an hello world function, in C, can I just call it from a Bash Script? as long as it is on my $PATH?
On Fri, Feb 5, 2010 at 7:19 AM, Hamish <hamish_b@yahoo.com> wrote:
Gilbert Ferrara wrote:
Is it possible to GRASS Scripts to call external
functions? I mean compiled C functions that has nothing to
do with GRASS API?Yes. How exactly you call them will depend on what language you write your
script in. It probably doesn’t hurt to have the program be in your system
$PATH.Hamish
On Fri, Feb 5, 2010 at 12:58 PM, Gilbert Ferrara
<gilbertferrara1974@gmail.com> wrote:
Good Evening
So for instance if I create an hello world function, in C, can I just call
it from a Bash Script? as long as it is on my $PATH?
(yes) You can call the binary, i.e. creating the "hello world" binary from
the source code by compiling it first. Then you can call it.
Markus