preventing dynamic linking with malloc lib

Untitled

Untitled
I am attempting to run efence on os x using gcc4.0.1. I have compiled it and can link to it dynamically successfuly with the following issue:

I do not know the gcc flag to set to prevent malloc from being dynamically linked to my binary and as a result, while efence appears to run, the original malloc lib functions are used instead so all I get from efence is the copyright tag

Code:
  Electric Fence 2.1 Copyright (C) 1987-1998 Bruce Perens.
 
Back
Top