> I found out empirically that the C library symbols in question were
> satisfied by adding the System framework. This was a bit of a surprise to
[quoted text clipped - 4 lines]
> http://developer.apple.com/documentation/MacOSX/Conceptual/OSX_Technology_Ov
> erview/SystemFrameworks/chapter_9_section_1.html
There shouldn't be any point to adding the System framework because it
should be implicitly linked in for you. Then again, maybe CodeWarrior
doesn't implicitly link it in. Xcode and gcc certainly do.
> However there is a helpful off-hand code comment in CallMachOFramework.c
> which explains 'In this example I'm using "System.framework", which is the
[quoted text clipped - 6 lines]
> rather than usiing libSystem, which as a post here a couple months ago by
> Eric Albert informs me, is what the System framework actually symlinks to?
There's no difference between the two. The "System framework" is just a
bit weird because it isn't a framework at all -- it's really just a
symlink. I'm not sure why it exists.
-Eric

Signature
Eric Albert ejalbert@cs.stanford.edu
http://outofcheese.org/
Alwyn - 31 Oct 2005 15:34 GMT
> The "System framework" is just a
> bit weird because it isn't a framework at all -- it's really just a
> symlink. I'm not sure why it exists.
Maybe Apple put it there for the convenience of CodeWarrior users?
Alwyn