Mailing Lists: Apple Mailing Lists

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

ANN: (free) FreePascal for Xcode Integration Kit



I updated my web site with an installer package which contains the missing pieces for integration of Free Pascal into Xcode. Besides that, you will find also a little tutorial on how to produce specifications and project templates for Xcode.

   http://InstantWare.bei.t-online.de/Xcode-FreePascal/

New in this update is a Pascal Carbon Application Project template, and the Pascal Tool and Pascal CGI templates were polished up.

The installer will place all templates and specifications to the correct locations and will automatically patch a copy of Apples Universal PInterfaces (which must be downloaded separately from Apple) for use with Free Pascal.

In addition, most GDB problems were sorted out and appropriate .gdbinit files are placed into the templates. However, one GDB issue is left. There is a limitation of fpc caused by its design for case sensitive file systems. Because of this, source level debugging in Xcode is only possible if the Pascal source file names are all lower case.

In order to build Carbon applications you will need the latest FPC 1.9.5 from CVS. The installer package produced with the snapshot of FPC 1.9.5 from 15th August 2004 contains a bug which prevents linking against Apples Carbon Framework. Anyway, you will need this snapshot, at least for bootstrapping newer versions of Free Pascal from CVS:

   http://www.freepascal.org/fpcmac.html

[2004-8-15 snapshot]:
   http://www.elis.ugent.be/~jmaebe/nobackup/fpc/fpc-macosx-1.9.5.dmg


There is much development going on for Free Pascal for Mac OS X. Therefore, it might be a good idea to get FreePascal from CVS anyway.


   http://www.freepascal.org/develop.html#cvs

Once you checked out fpc from CVS and installed the FPC 1.9.5 [2004-8-15 snapshot], bootstrapping of the latest CVS version is simply done with the following commands in Terminal:

   cd fpc
   make all
   sudo make install

CVS updates for Free Pascal can then be obtained by issuing following commands in Terminal:

   cd fpc
   make clean
   cvs -z 3 update -Pd
   make all
   make clean

Enjoy!

Rolf
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.




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.