• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can I disable linking against the system malloc?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Can I disable linking against the system malloc? (From: Terry Simons <email@hidden>)
 >Re: Can I disable linking against the system malloc? (From: "Sean McBride" <email@hidden>)
 >Re: Can I disable linking against the system malloc? (From: Terry Simons <email@hidden>)
 >Re: Can I disable linking against the system malloc? (From: Markus Hitter <email@hidden>)

  • Prev by Date: Re: Can I disable linking against the system malloc?
  • Next by Date: Re: Simple Cocoa/Web-Services Application
  • Previous by thread: Re: Can I disable linking against the system malloc?
  • Next by thread: Xcode eats 100% CPU and more while typing
  • Index(es):
    • Date
    • Thread