Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compile in Leopard, use in Tiger



Try passing -mmacosx-version-min=10.4 to the compiler. By default, that setting is the version you are building on.

On Nov 23, 2007, at 3:59 PM, Panayotis Katsaloulis wrote:

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?


Brian Bergstrand <http://www.bergstrand.org/brian/> PGP Key ID: 0xB6C7B6A2

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Compile in Leopard, use in Tiger (From: "Panayotis Katsaloulis" <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.