Thanks Dewey, I will figure out how to implement this in my program.

Jim

On 12/5/2016 9:55 AM, Dewey Garrett wrote:
>> I think this system library is located at /usr/share/linuxcnc/hallib
> This is accurate for current deb installs but is different for
> Run-In-Place (RIP) users.
>
> The scripts/linuxcnc.in file (creates the linuxcnc
> script at make time) expands:
>    HALLIB_DIR=@HALLIB_DIR@; export HALLIB_DIR
>
> The value in use can be found with the linuxcnc_var
> script.
> ----------------------------------------------------------------
> deb install Example:
> $ which linuxcnc_var
> /usr/bin/linuxcnc_var
>
> $ linuxcnc_var
> Retrieve Linuxcnc Variables
> Usage:
>        linuxcnc_var [ varname | all ]
> Varnames supported:
>           LINUXCNCVERSION
>           REALTIME
>           RTS
>           HALLIB_DIR
> Option 'all' returns varname=value for all supported varnames
>
> $ linuxcnc_var HALLIB_DIR
> /usr/share/linuxcnc/hallib
> ----------------------------------------------------------------
> RIP Example:
> $ cd /home/git/linuxcnc-dev # my RIP root dir
> $ source scripts/rip-environment
> $ which linuxcnc_var
> /home/git/linuxcnc-dev/scripts/linuxcnc_var
> $ linuxcnc_var HALLIB_DIR
> /home/git/linuxcnc-dev/lib/hallib
>


------------------------------------------------------------------------------
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to