On Fri, Mar 25, 2011 at 05:50:58PM +0100, Hans Aberg wrote: > The example in the Guile 2.0.0 manual, "Writing Guile > Extensions", sec. 2.4, uses deprecated code, and does not > indicate correct compiling options. > > Below is a modified code, which I compiled (Mac OS X > 10.6.6) using > gcc `guile-config compile` `guile-config link` \ > -dynamiclib -o libguile-bessel.so bessel.c > > Here, the guile-config part is necessary, as the headers > are now in a subdirectory. If excluded one will use the > header from 1.8. >
Andy Wingo reported that he had fixed the deprecated code in this message (after Guile 2.0 was released): http://lists.gnu.org/archive/html/bug-guile/2011-02/msg00114.html Also, there has been some discussion of using "guile-config" versus "pkg-config". Bruno Haible asked the question "guile-config deprecated or not?", starting here: http://lists.gnu.org/archive/html/bug-guile/2011-02/msg00117.html ---
