[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GIT version: missing linking flag

From: Ludovic Courtès
Subject: Re: GIT version: missing linking flag
Date: Thu, 20 Jan 2011 16:20:38 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)


Hans Aberg <address@hidden> writes:

> In 'guile-config link', the flag '-lgc' is missing; it is needed when
> linking smobs. The function SCM_NEWSMOB calls
> GC_register_finalizer_no_order() in header gc.h

It shouldn’t be needed when libguile is a shared library, at least not
on ELF platforms where the shared library contains ‘NEEDED’ headers.

It is needed when libguile is static, but in that case you should use
‘pkg-config guile-2.0 --libs --static’ (‘guile-config’ is deprecated.)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]