Difference between revisions of "Target Darwin"

From Lazarus wiki
(update to 2.0.4)
m (update to 2.3.1)
Line 13: Line 13:
  
  
In addition, daily snapshots of the development powerpc and i386 versions of fpc 2.1.1 and lazarus are available at (usage at own risk):
+
In addition, daily snapshots of the development powerpc and i386 versions of fpc 2.3.1 and lazarus are available at (usage at own risk):
  
 
http://ftp.de.freepascal.org/pub/lazarus/
 
http://ftp.de.freepascal.org/pub/lazarus/

Revision as of 15:22, 21 March 2007

Introduction

Darwin is the target for MacOS X, both powerpc and i386. Programs may also be run on a machine with only Darwin installed.


Installation

There are two possibilities:

1) Download the image file at ftp://ftp.freepascal.org/pub/fpc/dist/powerpc-macosx-2.0.4/fpc-2.0.4.powerpc-macosx.dmg.

2) Use fink (http://fink.sourceforge.net)


In addition, daily snapshots of the development powerpc and i386 versions of fpc 2.3.1 and lazarus are available at (usage at own risk):

http://ftp.de.freepascal.org/pub/lazarus/

http://ftp.hu.freepascal.org/pub/lazarus/

http://ftp.ca.freepascal.org/pub/lazarus/

http://michael-ep3.physik.uni-halle.de/Lazarus/

Usage

1) Editor (AlphaX, BBedit, ...) and commandline (fpc your_pascal_program.pas)

2) XCode

Recommended: Pascal extensions for XCode: http://www.freepascal.org/xcode.html

XCode 2.2.1 needs a newer revision of the integration kit. XCode 2.3 is also ongoing work.

3) DOS-like IDE

A description of how to get the IDE running is here: How to get the fpc ide running under Mac OS X

4) Lazarus

Lazarus is a GTK based RAD environment: http://www.lazarus.freepascal.org


More

  • Mac OS Pascal universal interfaces are now part of the extra packages: packages/extra/univint
  • IDE already works, except for some graphic glitches on the user output screen,
  • gdb support?
    • the gdb can be executed from command line and works
  • can mouse events be supported with Terminal.app and X11.app? how?
    • The mouse unit needs to be checked.
  • universal binaries (powerpc and i386)
    • the powerpc and i386 executables have to be created separately and then combined using lipo