Is there a way to build/compile an application with Lazarus running in Windows, to another platform like Darwin? Or do I need to install Lazarus in Mac to compile? :?
Regards!
-Marco
Is there a way to build/compile an application with Lazarus running in Windows, to another platform like Darwin? Or do I need to install Lazarus in Mac to compile? :?
Regards!
-Marco
You can cross compile, but you need to libraries from the target platform to perform the linking stage successfuly (I think).
My advice would be to find a nice person with a Mac willing to compile it for you.
<A HREF="http://www.myhpf.co.uk/banner.asp?friend=139328">
<br /><IMG SRC="http://www.myhpf.co.uk/banners/60x468.gif" BORDER="0">
<br /></A>
Thanks technomage!
We have Mac's here at work, but we don't have permission to install Lazarus... indeed I was working with a Mac, and asked for a PC after finding I couldn't install it :x Now I'm happily playing with Delphi and Lazarus
I have another question, are these units ok for crosscompiling?:
SysUtils
Classes
Windows
Messages
ShellAPI
And I found out the Graphics unit is not present, which can I use instead?
ShellApi is part of the win32 api. If you start processes with it you should look into the process unit
Peregrinus, expectavi pedes meos in cymbalis
Nullus norvegicorum sole urinat
It is fairly easy to install Lazarus on a memory stick. Specially under Mac (and certain Linux-automounters), because the stick will always end up in the same spot (/somedir/<volumename> ), contrary to windows where the drive name is different all the time.
Since the new Lazarus/Carbon doesn't need X11, this means that entirely nothing will be needed, except the basic XCode install. (the binutils part mostly)
Cool, I should try some day.Originally Posted by marcov
So the Windows unit can be used for multiplatform? That's very good
Yes, and if you believe that, have some nice property on the moon to sell :-)Originally Posted by cronodragon
Bookmarks