[fpc-other] Re: [fpc-pascal] OT: Buy a Mac to develop for MacOS? Which one?

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Oct 11 18:10:39 CEST 2008


On 11 Oct 2008, at 17:56, Lukas Gradl wrote:

> No - illegally is not an option. Emulating would only be possible if  
> there's a apple-supported way...

Apple currently only allows virtualising Mac OS X Server on top of Mac  
OS X Server, afaik.

> What about FPC? When developing on a 10.5-System, does it need  
> special care to support older 10.x ones?

Either use the Xcode IDE and have it take care of everything (after  
you tell it what the earliest Mac OS X release is that you wish to  
support), or manually use
1) -XR/Developer/SDKs/MacOSX10.4u.sdk (or similar) to specify the SDK  
to link against
2) -k"-macosx_version_min 10.4" (or similar) to tell the linker with  
which earliest major OS release the binaries should be compatible  
(they're then also compatible with later OS releases, but e.g. x86 and  
all 64 bit binaries using some 10.5 features do not run on 10.4)


Jonas


More information about the fpc-other mailing list