Problem with ld --wrap, Help
Problem with ld --wrap, Help
- Subject: Problem with ld --wrap, Help
- From: F L <email@hidden>
- Date: Tue, 23 Oct 2007 20:27:59 +0200
Hi,
I'm trying to wrap mallocs (ld --wrap,malloc). With this option, the linker is informed that some methods like malloc() (or others) must be caught and that user defined methods are called instead (which will eventually call malloc() but adding some user code like printf())
It seems that the XCode version of the linker does not support the --wrap option. It is not even documented in the Apple ld man pages (compared to Linux man pages).
Does anyone has a solution? (I still have to try with the fink ports of gcc/ld)
Cheers,
-- Dr. Franck Legendre ETH Zürich - Swiss Federal Institute of Technology
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden