Difference between revisions of "Target Darwin"

From Lazarus wiki
Jump to navigationJump to search
(universal interfaces is in packages/extra; snapshot mirrors.)
(Details of usage added)
Line 1: Line 1:
 
Darwin is the target for MacOS X. Programs may also be run on a machine with only Darwin installed.
 
Darwin is the target for MacOS X. Programs may also be run on a machine with only Darwin installed.
  
There are two ways of installation:  
+
 
 +
Installation:  
  
  
Line 9: Line 10:
  
  
In addition, daily snapshots of the development powerpc and i386 versions of fpc 2.1.1 and lazarus are available at:
+
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):
  
 
http://ftp.de.freepascal.org/pub/lazarus/
 
http://ftp.de.freepascal.org/pub/lazarus/
Line 19: Line 20:
 
http://michael-ep3.physik.uni-halle.de/Lazarus/
 
http://michael-ep3.physik.uni-halle.de/Lazarus/
  
(usage at own risk)
 
  
 +
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
 
Recommended: Pascal extensions for XCode: http://www.freepascal.org/xcode.html
  
Mac OS Pascal universal interfaces are now part of the extra packages: packages/extra/univint
+
XCode 2.2.1 needs a newer revision of the integration kit. XCode 2.3 is also ongoing work.
  
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
 +
 
 +
 
 +
More:
  
A description of how to get the DOS-like IDE running is here: [[How to get the fpc ide running under Mac OS X]]
+
* Mac OS Pascal universal interfaces are now part of the extra packages: packages/extra/univint
  
more:
 
 
*  IDE already works, except for some graphic glitches on the user output screen,
 
*  IDE already works, except for some graphic glitches on the user output screen,
 
*  gdb support?
 
*  gdb support?

Revision as of 08:23, 19 June 2006

Darwin is the target for MacOS X. Programs may also be run on a machine with only Darwin installed.


Installation:


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

2) Use fink (http://fink.sourceforge.net) (still at 2.0.0)


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):

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


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.