Re: libsystem compatability from os 10.2 to 10.4
Re: libsystem compatability from os 10.2 to 10.4
- Subject: Re: libsystem compatability from os 10.2 to 10.4
- From: Greg Guerin <email@hidden>
- Date: Mon, 26 Feb 2007 20:20:30 -0700
Dave Dyer wrote:
>The exact message from os 10.2.8 is
>
>/Applications/Adobe InDesign
>CS2/Plug-Ins/Jostens/placerid.bundle/Contents/MacOS/placerid undefined
>reference to _fprintf$LDBL128 expected to be defined in
>/usr/lib/libSystem.B.dylib
The symbol _fprintf$LDBL128 doesn't exist prior to 10.4.
It sounds very much like you're compiling your plugin targeted for 10.4,
but running it under 10.2.8.
This won't work. For a host of reasons.
For your plugin to run under 10.2.8, you must do at least the following:
1. Use the 10.2.8 SDK.
2. Use the GCC compiler appropriate for 10.2.8 (gcc 3.3, IIRC).
3. Set your target OS version to 10.2.
If you do these things, then your code should run on 10.2.8, and should
also run on 10.4. (I say "should" because I'm composing this in email, and
not referring to a known-good Xcode project that targets 10.2.8, so I may
have left something out.)
If you neglect any of these, then your code will not work on 10.2.8.
It won't work because it will be compiled or linked against the 10.4 API,
but is expected to run on 10.2.8. This can't possibly work because the
10.4 API (including the structure of libraries) didn't exist at the time
10.2.8 was current.
Code compiled for 10.2.8 is often compatible with 10.4, but the reverse is
definitely not.
You can read about compiling and linking for older OS versions using Xcode
Help, and doing a full text search for SDK. A top hit will be an item with
"Cross-Development" in its title. You should also read the
Cross-Development Programing Guide referenced from that article.
If you are already compiling against the 10.2.8 SDK, and using the right
compiler, then you may have to provide additional details of how your
project or target is configured. For example, post all the Customized
Settings.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden