[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
5.2 Linking Programs With Guile
This section covers the mechanics of linking your program with Guile on a typical POSIX system.
The header file <libguile.h>
provides declarations for all of
Guile’s functions and constants. You should #include
it at the
head of any C source file that uses identifiers described in this
manual. Once you’ve compiled your source files, you need to link them
against the Guile object code library, libguile
.
As noted in the previous section, <libguile.h>
is not in the
default search path for headers. The following command lines give
respectively the C compilation and link flags needed to build programs
using Guile 2.0:
pkg-config guile-2.0 --cflags pkg-config guile-2.0 --libs
5.2.1 Guile Initialization Functions | What to call first. | |
5.2.2 A Sample Guile Main Program | Sources and makefiles. |
This document was generated on April 20, 2013 using texi2html 5.0.