Results 1 to 7 of 7

Thread: Compiling from Windows to Darwing in Lazarus

  1. #1

    Compiling from Windows to Darwing in Lazarus

    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

  2. #2

    Compiling from Windows to Darwing in Lazarus

    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>

  3. #3

    Compiling from Windows to Darwing in Lazarus

    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?

  4. #4

    Compiling from Windows to Darwing in Lazarus

    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

  5. #5

    Compiling from Windows to Darwing in Lazarus

    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)

  6. #6

    Compiling from Windows to Darwing in Lazarus

    Quote Originally Posted by marcov
    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.

    So the Windows unit can be used for multiplatform? That's very good

  7. #7

    Compiling from Windows to Darwing in Lazarus

    Quote Originally Posted by cronodragon

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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •