mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-29 22:40:34 +02:00
tour.texi compilation fix
* doc/ref/tour.texi (Writing Guile Extensions): Fix compilation example.
This commit is contained in:
parent
4b93693dff
commit
f244cc5154
1 changed files with 2 additions and 1 deletions
|
@ -163,7 +163,8 @@ This C source file needs to be compiled into a shared library. Here is
|
|||
how to do it on GNU/Linux:
|
||||
|
||||
@smallexample
|
||||
gcc -shared -o libguile-bessel.so -fPIC bessel.c
|
||||
gcc `pkg-config --cflags guile-@value{EFFECTIVE-VERSION}` \
|
||||
-shared -o libguile-bessel.so -fPIC bessel.c
|
||||
@end smallexample
|
||||
|
||||
For creating shared libraries portably, we recommend the use of GNU
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue