View Single Post
  #1  
Old March 21st, 2006, 11:43 PM
Untitled's Avatar
Untitled Untitled is offline
Untitled
 
Join Date: Apr 2001
Location: Virginia
Posts: 110
Thanks: 0
Thanked 0 Times in 0 Posts
Untitled is on a distinguished road
preventing dynamic linking with malloc lib

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.
__________________
  • Mac mini 1.42Ghz, BT/AP/80GB, BenQ FP931
  • 1100+ xServes
  • iPod 3G(10GB) Dualboots to Linux & iPodOS
  • 80GB external USB/FW HD/DeskJet 3745, Epson Perfection 1200U, Wacom Tablet
Reply With Quote