Re: Can I disable linking against the system malloc?
Re: Can I disable linking against the system malloc?
- Subject: Re: Can I disable linking against the system malloc?
- From: Jean-Daniel Dupas <email@hidden>
- Date: Tue, 5 Feb 2008 14:07:32 +0100
Le 5 févr. 08 à 13:30, Markus Hitter a écrit :
Am 05.02.2008 um 06:25 schrieb Terry Simons:
This exercise is partly educational... I was just curious if it's
possible to force the system malloc to be ignored in my particular
situation.
There's a gcc switch to turn off any system libraries, "-nostdlib".
This should turn off the malloc lib, but enforces you to include the
other needed libraries (crt0.o etc.) by hand. To find out about the
latter, compile without -nostdlib, but with -v. gcc should make a
list of what it's searching and considering.
Markus
There is no separate malloc lib on OS X. malloc is in libSystem.
_______________________________________________
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