| gclib 1.35.5 Communications API for Galil controllers and PLCs |

Linux

# Copy examples to a temporary directory

Create temporary directory:

mkdir ~/temp

Copy examples to ~/temp

cp /usr/share/doc/gclib/src/gclib_example_projects.tar.gz ~/temp

Navigate to ~/temp

cd ~/temp

Extract the examples with command:

tar -xzf gclib_example_projects.tar.gz

# Run Make

To build all examples:

make

To build a single example:

make commands.o

To run an example:

./commands_example.out