The following Windows batch script will checkout the latest Lazarus/FreePascal source code and compile into the path
"\lazarus_svn\"It is assumed you will have:
1) FreePascal 2.6.4 installed at the default path
"\FPC\"2) SVN installed. (I use
http://tortoisesvn.net/)
You can modify the script to use the Lazarus FPC compiler if you so wish. After Lazarus is built,
"startlazarus.exe" will be located in
"\lazarus_svn\lazarus\"When you run
"\lazarus.svn\lazarus\startlazarus.exe", you will be asked to configure Lazarus.
Lazarus =
"\lazarus_svn\lazarus"FPC compiler =
"\lazarus_svn\lazarus\fpc\bin\i386-win32\fpc.exe"FPC Sources =
"\lazarus_svn\fpc"GNU Make =
"\FPC\2.6.4\bin\i386-win32\make.exe"Debugger =
"\FPC\2.6.4\bin\i386-win32\gdb.exe"Use this script at your own risk. I'm working an old P4 Duo E6700 running Windows XP 32bit and it works for me.
set FPC_OLD=\FPC\2.6.4\bin\i386-win32
set ALL_DIR=\lazarus_svn
set LAZ_SRC=%ALL_DIR%\lazarus
set FPC_SRC=%ALL_DIR%\fpc
set FPC_INS=%LAZ_SRC%\fpc
set FPC_NEW=%FPC_INS%\bin\i386-win32
svn checkout http://svn.freepascal.org/svn/fpc/trunk %FPC_SRC%
svn checkout http://svn.freepascal.org/svn/lazarus/trunk %LAZ_SRC%
set PATH=%FPC_OLD%
cd %FPC_SRC%
make build
make install INSTALL_PREFIX=%FPC_INS%
set PATH=%FPC_NEW%;%FPC_OLD%
cd %FPC_NEW%
fpcmkcfg -d basepath=%FPC_INS% -o %FPC_NEW%\fpc.cfg
cd %LAZ_SRC%
make bigide
start startlazarus.exe