Lazarus and Mac osx 10.5 ? Also, Delphi5 to Pascal ? lazarus / 15-macOS - Mac OS X ---------------------------------------------------------------------- vmars · 2008-12-09 20:37 Is Lazarus available on mac osx 10.5 ? I have freePascal and Lazarus on my PC xp (and Delphi5). What  would I need to install on my macBookPro  to use Pascal (hopefully object pascal) ? Also, is there a conversion pgm to go from Delphi5 to Pascal ? Thanks! ---------------------------------------------------------------------- Phil · 2008-12-10 03:18 Quote from: "vmars"Is Lazarus available on mac osx 10.5 ? I have freePascal and Lazarus on my PC xp (and Delphi5). What  would I need to install on my macBookPro  to use Pascal (hopefully object pascal) ? Also, is there a conversion pgm to go from Delphi5 to Pascal ? Thanks! Click on Download Lazarus at the left and download the 3 .dmg installers for version 0.9.26 that you need - either for PowerPC or Intel. For making Delphi source cross-platform, you may find this helpful: http://wiki.lazarus.freepascal.org/XDev_Toolkit Thanks. -Phil ---------------------------------------------------------------------- vmars · 2008-12-11 00:11 Thanks! Docs @ [  https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus- ccr/components/xdev_toolkit/  ] say to :   makepasx myprogram.dpr   makepasx myform.pas But I can't compile  pgm "makepasx.pas " Same for pgm "dfmtolfm.pas" . Please, how can I get an executable for these pgms? Thanks! ---------------------------------------------------------------------- Phil · 2008-12-11 03:07 Quote from: "vmars"But I can't compile  pgm "makepasx.pas " Same for pgm "dfmtolfm.pas" . Please, how can I get an executable for these pgms? Um, maybe by following the instructions? http://web.fastermac.net/~MacPgmr/XDev/XDevStatus.html ---------------------------------------------------------------------- Leledumbo · 2008-12-11 06:01 Quote But I can't compile pgm "makepasx.pas " Same for pgm "dfmtolfm.pas" Error messages please ... ---------------------------------------------------------------------- bee · 2008-12-11 07:58 > Is Lazarus available on mac osx 10.5 ? Yes. I've been using it for the last year. > What would I need to install on my macBookPro > to use Pascal (hopefully object pascal) ? Current stable official release requires you to install gtk and x11 on your mbp. I suggest you to use latest snapshot if you want to use it as native carbon app. HTH. ---------------------------------------------------------------------- duncanparsons · 2008-12-11 09:48 hmm.. well 0.9.26 is distributed as native carbon, so X11/gtk combo isn't required tho' might be desirable I recently installed 0.9.26 on a mac box without either and it appears to be running OK.. DSP ---------------------------------------------------------------------- bee · 2008-12-11 12:07 @duncanparsons: Yes, you are correct. I no longer use binary installer since Laz 0.9.22. I always use the SVN and compile Lazarus from there (it's very simple by the way). So, I apologize for the incorrect information of mine. Thank you. ---------------------------------------------------------------------- vmars · 2008-12-13 04:18 THanks all ! Well, I have made some progress   with 'DfmToLfm.exe' ,  'MakePasX.exe' , and  'lazres.exe'. I haven't run from 'Command Prompt' for years.  Also, I am rewriting the 'how to info' @ https://lazarus- ccr.svn.sourceforge.net/svnroot/lazarus- ccr/components/xdev_toolkit/XDevStatus.html Its a bit confusing to me. Maybe I'll Post it when I am finished. But I don't know what to do with dfmtolfm.ini . Where does it fit in? Thanks! ---------------------------------------------------------------------- Phil · 2008-12-13 14:49 Quote from: "vmars"THanks all ! Well, I have made some progress   with 'DfmToLfm.exe' ,  'MakePasX.exe' , and  'lazres.exe'. I haven't run from 'Command Prompt' for years.  Also, I am rewriting the 'how to info' @ https://lazarus- ccr.svn.sourceforge.net/svnroot/lazarus- ccr/components/xdev_toolkit/XDevStatus.html Its a bit confusing to me. Maybe I'll Post it when I am finished. But I don't know what to do with dfmtolfm.ini . Where does it fit in? Thanks! If you're working on OS X, the executable file names are dfmtolfm, makepasx and lazres. The ".exe" extension only makes sense on Windows. If there's something confusing, let me know and I'll fix it. Again, as indicated in step 6 of the instructions and in the dfmtolfm command line help, dfmtolfm.ini is a configuration file that you can add to if necessary (.ini should have given that away). Thanks. -Phil ---------------------------------------------------------------------- vmars · 2008-12-13 18:40 Yes, THanks Phil; I know it is a configuration file. How will I know if I need to add to it? And then what would I add to it (example)? Yes, I am using Windows XP. My Plan is to convert some of my Delphi5 pgms to FPC/Lazarus. Then take them over to my brand new macBookPro. And see what runs. Or where I need to reprogram stuff. I am a newbie to MaxBookPro. Hindsight: I probably should started this Thread on the Win Forum and then continued it over here on Mac OSX. Thanks again ! ---------------------------------------------------------------------- Phil · 2008-12-13 18:51 Quote from: "vmars"How will I know if I need to add to it? And then what would I add to it (example)? Again, from step 6: "Tip: If you run your Lazarus-compiled app and get an error message about an unknown property, that probably means you need to add this property to the [DeleteProps] section of dfmtolfm.ini file and rerun DfmToLfm on the .dfm file. Not all VCL components have been tested with DfmToLfm." Open dfmtolfm.ini with a text editor. It's full of examples. Thanks. -Phil