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/


_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to