[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] how to use Hans_Boehm garbage collector with GSL?
From: |
Brian Gough |
Subject: |
Re: [Help-gsl] how to use Hans_Boehm garbage collector with GSL? |
Date: |
Mon, 21 Jul 2008 07:48:30 +0100 |
User-agent: |
Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI) |
At Tue, 15 Jul 2008 19:06:33 +0100,
Brian Gough wrote:
>
> At Tue, 08 Jul 2008 15:31:59 -0800,
> Britton Kerin wrote:
> > I think some time back someone told me a way to build the GSL that
> > would cause malloc to be replaced with GC_malloc etc. collector
> > calls, but I don't remember what this was and the email is lost :(
> >
> > Can anyone point me towards the compiler options I need to make this
> > work?
>
> The GNU linker has a --wrap SYMBOL option which can be used to
> substitute other functions for calls to malloc/free etc.
With reference to your posting on address@hidden, you need to
compile the whole library with this option.
--
Brian Gough
(GSL Maintainer)
Network Theory Ltd,
Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/