Re: Compile in Leopard, use in Tiger
Re: Compile in Leopard, use in Tiger
- Subject: Re: Compile in Leopard, use in Tiger
- From: Brian Bergstrand <email@hidden>
- Date: Fri, 23 Nov 2007 16:29:27 +0200
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:
This email sent to email@hidden