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 gc@................, 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/