[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: |
Tue, 15 Jul 2008 19:06:33 +0100 |
User-agent: |
Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI) |
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.
--
Brian Gough
GNU Scientific Library -
http://www.gnu.org/software/gsl/