Whole document tree
    

Whole document tree

GIMP-Print: 2.2 Linking with libgimpprint
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

2.2 Linking with libgimpprint

To link a program with libgimpprint, then `-lgimpprint' needs to be passed to the compiler when linking. For example, to compile and link `prog.c' the following commands would be used:

 
gcc -c prog.c
gcc -o prog -lgimpprint prog.o

The compiler and linker flags needed may vary depending on the options GIMP-Print was configured with when it was built. The gimpprint-config script will give the correct parameters for the local installation (see section 3.1 gimpprint-config).



This document was generated by Eric Sharkey on February, 16 2002 using texi2html