Results 1 to 5 of 5

Thread: Building Lazarus from source in windows 7

  1. #1

    Building Lazarus from source in windows 7

    Hey everyone,

    I'm trying to do this, but I'm stuck. I've checked out the sources with SVN:

    By using TortoiseSVN. Then I downloaded the GNU Make tool from:

    http://gnuwin32.sourceforge.net/packages/make.htm

    And now I CD'ed to the root of my SVN working directory and tried "make".

    But it seems to be using the Borland Make tool (It gives about 2000 errors). How to I force it to use GNU Make?

    I allready tried with the full path:

    G:\laz\laz>C:\Program Files\GnuWin32\bin\make.exe
    'C:\Program' is not recognized as an internal or external command,
    operable program or batch file.
    Also I'm a bit clueless about what to next. Can I make lazarus use the old FPC version I installed from binaries (at C:/Lazarus/FPC/)? Or should I download the latest FPC version?

    Can somebody help me?

    thanks
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  2. #2
    I would recommend to use the newest of both. First build a trunk version of fpc, and then lazarus

    When I had Delphi I simply renamed the GNU make to gmake, and made sure it was in path. You might be able to call it the way you do, but you need to put it in quotes("C:\Program Files\GnuWin32\bin\make.exe" bigide)
    Peregrinus, expectavi pedes meos in cymbalis
    Nullus norvegicorum sole urinat

  3. #3
    Ok, after some messing about, phibermon suggested that I should just grab the latest snapshot and install that.

    Seems like I was lagging behind with my 0.9.28.2 beta install. Now I do have 0.9.29 with FPC 2.4.3

    It might be beneficial to have a setup that allows me to compile everything from source. Is it worthwhile to set that up, just to be able to get the last version quickly?
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

  4. #4
    I haven't really updated Lazarus more than once every 2 months or so from the daily snapshot with latest compiler. It doesn't get big changes often.

  5. #5
    As far as I know, make.exe is shipped with the fpc binary package, so you don't need to download it from elsewhere. Usually I do something like:

    Code:
    set path=c:\fpc\bin\i386-win32;%PATH%
    
    cd c:\lazarus
    
    make clean all
    That's all
    Get your fpc4gba copy now!
    Get your fpc4nds copy now!

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
  •  
Comodo SSL