[fpc-pascal] Xcode

Jonas Maebe jonas.maebe at elis.ugent.be
Thu Aug 16 11:24:04 CEST 2012

Franz wrote on Wed, 15 Aug 2012:

> Since version 4.3.3 Xcode is installed only as application in folder  
> applications. Some folders are apparent in content of application  
> but distinguishing in substance with folder developer.
> Will or until when will free pascal developed for earlier version of Xcode?

FPC will probably keep working with Xcode 3.x for quite some time,  
because it does not need anything that is only supported by newer  
Xcode versions.

> Should Xcode 3.2.6 kept for working with free pascal 2.6?

There are two separate aspects:
a) the Xcode project templates. These allow you to develop FPC  
programs inside the Xcode IDE. The templates shipped with FPC 2.6.0  
only work with Xcode 3.x, not with Xcode 4.x. So if you want to use  
those, you indeed have to keep Xcode 3.2.6. Someone else has however  
created project templates that work with Xcode 4.x, which you can  
download from http://dl.dropbox.com/u/28343282/ObjP/index.html (they  
are mainly geared at development using Objective-Pascal though)
b) the Xcode command line utilities (in particular the assembler "as"  
and the linker "ld"). These are required to be able to compile  
anything with FPC. FPC works with the assembler and linker of Xcode  
2.x up to and including the latest Xcode 4.x, but with Xcode 4.3 and  
later you have to install them separately (see the section "Xcode 4.3  
compatibility" at  
http://www.freepascal.org/down/i386/macosx-netherlands.var for  

> What about folder Developer Xcode 4.1 (7,44 GB) and application  
> Xcode 4.4.1 (3.3 GB)? Will be needed both?

No, one of them is enough. Just make sure you install the  
assembler/linker (part of the "Command line utilities") as described  


More information about the fpc-pascal mailing list