Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Compile in Leopard, use in Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compile in Leopard, use in Tiger



Hello

I was trying to compile a program (a library actually) in my new shiny
Leopard, and then try to use it in Tiger.
Everything was OK, apart from the fact that the name of some functions
in the frameworks have changed.

To be more precise, I found that some symbols were missing, and especially
 _close$UNIX2003
 _fputs$UNIX2003
 _fwrite$UNIX2003
 _mktime$UNIX2003
 _open$UNIX2003
 _read$UNIX2003
 _strtod$UNIX2003
 _write$UNIX2003

By searching this archive I found this post by Greg Parker:
http://lists.apple.com/archives/Darwin-dev/2007/Nov/msg00061.html

which is informative but doesn't really state which are these special
parameters, or what should I put in the #include directive, so that
the linker will try to link to "_close"  function instead of
"_close$UNIX2003"

Any help with this?

--
Panayotis
 _______________________________________________
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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.