03 February 2013

How to build FPC and Lazarus from SVN for cross-compiling

This procedure is implemented in Ubuntu 12.10 64bit.

1. You need to install subversion via apt-get in Terminal window :

  • sudo apt-get install subversion

2. Than you can download your first trunk of fpc and lazarus :

  • cd /home/svn
  • cd fpc
  • svn checkout http://svn.freepascal.org/svn/fpc/trunk
  • cd lazarus
  • svn checkout http://svn.freepascal.org/svn/lazarus/trunk

3. For later update from svn sources :

  • cd /home/svn
  • svn update fpc 
  • svn update lazarus

4. To build fpc and lazarus

  • make clean all


No comments: