• 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: Markus Hitter <email@hidden>
  • Date: Tue, 5 Feb 2008 13:30:05 +0100


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

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/




_______________________________________________ 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
  • Follow-Ups:
    • Re: Can I disable linking against the system malloc?
      • From: Jean-Daniel Dupas <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>)

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