Hello, fellow hackers,

I have written my own little memory management system optimized for the
needs of a multi-threaded server written in C++.    I have defined my own

inline void* operator new(size_t size)

and

inline void operator delete(void *ptr)

but gcc (g++) doesn't seem to want to link them in, and uses its own
__builtin_new and __builtin_delete instead.

I'm using FreeBSD RELENG_4, and compile everything -pthread -static.
Incidentally, the same application compiles and works correctly on NT/Win2K.
:(

John Wilson





_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to