• 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
dynamic linker problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dynamic linker problem


  • Subject: dynamic linker problem
  • From: Rob Ballantyne <email@hidden>
  • Date: Sun, 12 Jun 2005 13:13:49 -0700

Hello All,

  The short question is: how do I force the
LC_LOAD_DYLINKER load command into a Mach-O
executable?

  The longer version is as follows.  I am
writing a pure assembly routine (no C main
function, no crt0.o) that I want to call
dynamically linked routines (printf!).

  You may wonder why, of course!!!  I'm just
trying to understand the user land process
startup with dylinker.

  The Mach-O Runtine Architecture document
is clear about the structure of the lazy symbol
stubs required to link to dynamicly loaded code.
The Csu-46 package (if someone could tell me
why it's called that I'd appreciate it!!!, oddest
named thing I've seen) has the standard startup
and runtime stuff for C (start.s, dyld.c, crt.c).  I
think I've got it BUT there is no
LD_LOAD_DYLINKER command in the executable produced
even though I've specified -dynamic everywhere.

  Any advice would be greatly appreciated!!

Rob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: dynamic linker problem
      • From: Matt Watson <email@hidden>
  • Prev by Date: Re: mistake in Tiger's python sysconfig
  • Next by Date: Re: dynamic linker problem
  • Previous by thread: Re: mistake in Tiger's python sysconfig
  • Next by thread: Re: dynamic linker problem
  • Index(es):
    • Date
    • Thread