<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Adam Pahlevi wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 18px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; ">Is there FPC IDE that can run inside Mac OS X<br><br>is there, how to install and compile or build or any stuff like that, that I may run?<span class="Apple-converted-space"> </span><br></span></blockquote><br></div><div>-----------</div><br><div>You just missed a few posts concerning beginning with FPC on the Mac. :) Check out the most recent archives for information on Carbon, Cocoa, macpas mode, OOP, and MacOSAll and other compiler directives.</div><div><br></div><div>To program FPC on the Mac you have to </div><div><br></div><div>1) Install Apple's X-code developer package.</div><div><br></div><div>2) Download and install FPC for the mac OS ( brand new version FPC v 2.2.4 just released!)</div><div><br></div><div> if you are using an intel mac</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://www.freepascal.org/down/i386/macosx-ftp.freepascal.org.var">Free Pascal - Download Mac OS X</a></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://www.freepascal.org/down/i386/macosx-ftp.freepascal.org.var">http://www.freepascal.org/down/i386/macosx-ftp.freepascal.org.var</a> </div><div><br></div><div> or if you are using a powerpc mac</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://www.freepascal.org/down/powerpc/macosx-ftp.freepascal.org.var">Free Pascal - Download Mac OS X</a></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://www.freepascal.org/down/powerpc/macosx-ftp.freepascal.org.var">http://www.freepascal.org/down/powerpc/macosx-ftp.freepascal.org.var</a></div><div><br></div><div>3) And do one or more of the following: </div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>a) Install and learn and use the <span class="Apple-style-span" style="font-family: 'Trebuchet MS'; color: rgb(17, 17, 17); line-height: 20px; ">Xcode Integration Toolkit</span> which comes with the above downloads</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>b) Download and use Ingemar's LW IDE for the Mac </div><div><span class="Apple-tab-span" style="white-space:pre"> </span><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://www.ragnemalm.se/lightweight/">Lightweight IDE</a></div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>c) Download and use Josef's Pascal Gladiator for the Mac</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://blog.web-scripter.com/pascalgladiator/">http://blog.web-scripter.com/pascalgladiator/</a></div><div><br></div><div><div><span class="Apple-tab-span" style="white-space: pre; "> </span>d) Download, install, learn and use Lazarus for the Mac</div><div><br></div><div>I personally recommend LW IDE, especially if you are just starting out as it is the simplest to use. If you find you need more capabilities, check out the other options.</div><div><br></div><div>I don't think the FPC IDE is available for the Mac? Someone can correct me if I'm wrong.<br></div><div><br></div></div><div>I suggest at least skimming over the FPC language reference guide and other documents so you have an idea of the FPC dialect versus what you may or may not know from previous macintosh (or other platform) pascal implementations.</div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://www.freepascal.org/docs.var">Free Pascal - Online documentation</a></div><div><br></div><div>Also, here is a link to a couple fpc wiki Macintosh pages. Note, they talk about compatibility with older mac pascal dialects. You won't have to worry about this if you are brand new to mac programming and don't have any old mac pascal code you want to port.</div><div><br></div><div><a href="http://www.freepascal.org/fpcmac.var"><span class="Apple-tab-span" style="white-space:pre"> </span>Free Pascal - Free Pascal on the Macintosh</a></div><div><a href="http://wiki.freepascal.org/Mode_MacPas"><span class="Apple-tab-span" style="white-space:pre"> </span>Mode MacPas - Free Pascal wiki</a></div><div><br></div><div>if you want to do any Carbon programming you will need to use the unit MacOSAll in your programs.</div><div><br></div><div>if you want to use Cocoa in your programs, there is some support in Lazarus and also work currently being done to provide a programming interface like there is for Carbon. - ROW</div><div><br></div><div><br></div></body></html>