[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 22:01:55 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
Hello,
Hans Aberg <address@hidden> writes:
> On 20 Jan 2011, at 16:20, Ludovic Courtès wrote:
>
>>> 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.)
>
>
> The file gc.h says that it is only for Java implementations. But as
> noted above, it is called by SCM_NEWSMOB, so until it is taken away, -
> lgc must be used, otherwise the linker will require it. My platform is
> otherwise Mac OS X; objective code format is Mach-O.
Can you post the exact link command line and error message?
Thanks,
Ludo’.
- GIT version: values writing, Hans Aberg, 2011/01/18
- GIT version: values, Hans Aberg, 2011/01/19
- GIT version: segmentation fault, Hans Aberg, 2011/01/19
- GIT version: missing linking flag, Hans Aberg, 2011/01/19
- Re: GIT version: missing linking flag, Ludovic Courtès, 2011/01/20
- Re: GIT version: missing linking flag, Hans Aberg, 2011/01/20
- Re: GIT version: missing linking flag,
Ludovic Courtès <=
- Re: GIT version: missing linking flag, Hans Aberg, 2011/01/20
- Re: GIT version: missing linking flag, Ludovic Courtès, 2011/01/21
- Re: GIT version: missing linking flag, Hans Aberg, 2011/01/21
- Re: GIT version: missing linking flag, Andy Wingo, 2011/01/26
- Re: GIT version: missing linking flag, Hans Aberg, 2011/01/26
- Re: GIT version: missing linking flag, Ludovic Courtès, 2011/01/29
- Re: GIT version: missing linking flag, Hans Aberg, 2011/01/29
- Re: GIT version: missing linking flag, Andy Wingo, 2011/01/26
- Re: GIT version: missing linking flag, Hans Aberg, 2011/01/26
GIT version: values, Hans Åberg, 2011/01/20