mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 19:49:38 +02:00
win installer: update readme from Slavko
git-svn-id: trunk@13914 -
This commit is contained in:
parent
999e8b059d
commit
04b648c166
tools/install/win
@ -8,11 +8,7 @@ if [%4]==[] goto USAGE
|
||||
:: Path to the Inno Setup Compiler
|
||||
if [%ISCC%]==[] SET ISCC="C:\Program Files\Inno Setup 5\iscc.exe"
|
||||
|
||||
:: Path to the directory containing the qtinf dll matching the from
|
||||
:: http://users.pandora.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html
|
||||
SET QTINFDIR=c:\lazarus\source\qtinf
|
||||
|
||||
:: Path to build directory.
|
||||
:: Path to build directory.
|
||||
:: In this directory an image of the installation will be built.
|
||||
SET BUILDDIR=c:\temp\lazbuild
|
||||
|
||||
@ -132,4 +128,4 @@ echo RELEASECOMPILER: bootstrapping compiler for building fpc
|
||||
echo IDEWIDGETSET: optional, LCL platform used for compiling the IDE
|
||||
echo PATCHFILE: optional patch file for the fpc sources
|
||||
|
||||
:STOP
|
||||
:STOP
|
||||
|
@ -7,33 +7,40 @@ C. Run create_installer.bat.
|
||||
A Setup the build machine.
|
||||
|
||||
A.1 Inno Setup
|
||||
I used Inno Setup, a free installer for Windows programs. You can download it from http://www.jrsoftware.org/.
|
||||
I used Inno Setup, a free installer for Windows programs. You can download it from http://www.jrsoftware.org/, and you need the QuickStart Pack and during installation choose Inno Setup Preprocessor too.
|
||||
|
||||
A.2 FPC sources
|
||||
The build script assumes you have a svn version of the fpc sources. For information about getting the fpc sources from svn see: http://www.freepascal.org/
|
||||
A.2 Subversion
|
||||
The build script assumes you have the Subversion installed. You can download it from http://subversion.tigris.org/, you can use the package with setup in name.
|
||||
|
||||
A.3 Lazarus sources
|
||||
A.3 FPC sources
|
||||
The build script assumes you have a svn version of the fpcbuild sources. For information about getting the fpc sources from svn see: http://www.freepascal.org/
|
||||
|
||||
A.4 Lazarus sources
|
||||
A Lazarus svn tree, containing the lazarus sources.
|
||||
|
||||
A.4. The latest release of the fpc compiler
|
||||
You need a fpc 2.0.4 compiler (just the ppc386.exe) to bootstrap compilation of the current fpc version.
|
||||
|
||||
A.5 Debugger
|
||||
Download http://prdownloads.sourceforge.net/mingw/gdb-6.0-20031011.exe?download and install it in some directory. Set GDBDIR to this directory.
|
||||
A.5 Lazarus binaries
|
||||
Some binaries from a lazarus/binaries svn tree. These binaries (like gdb and the qt interface dll) are distributed with Lazarus, but are not built from source.
|
||||
|
||||
A.6. The latest release of the fpc compiler
|
||||
Currently the latest release is fpc 2.2.0. You need just the ppcXXX.exe (ppc386.exe for win32 and ppcx64.exe for win64) to bootstrap compilation of the current fpc version.
|
||||
|
||||
B Adjust create_installer.bat to your configuration
|
||||
|
||||
Open the create_installer.bat in a text editor and set the LAZVERSION variable.
|
||||
Check the other variables, to see if they match your configuration:
|
||||
ISCC: Path to the Inno Setup Compiler
|
||||
FPCSVNDIR: Path to the fpc sources checked out of svn
|
||||
LAZSVNDIR: Path to the lazarus sources checked out of svn
|
||||
RELEASE_PPC: Path to fpc 2.0.2 compiler
|
||||
FPCBINDIR: Path to the directory containing some utilities used by fpc
|
||||
GDBDIR: Path to the directory containing the mingw gdb debugger installation
|
||||
BUILDDIR: Path to build directory.
|
||||
Open the create_installer.bat in a text editor and check the variables, to see if they match your configuration:
|
||||
ISCC: Path to the Inno Setup Compiler .exe file.
|
||||
BUILDDIR: Path to build directory.
|
||||
SVN: Path to the Subversion .exe file.
|
||||
|
||||
C Run create_installer.bat
|
||||
|
||||
Just do it. Wait about 40 minutes (on 2.6 GHz P-IV). A log file named installer.log will be written to the current directory.
|
||||
Run the script:
|
||||
|
||||
create_installer.bat FPCSVNDIR LAZSVNDIR LAZSVNBINDIR RELEASE_PPC
|
||||
|
||||
where:
|
||||
FPCSVNDIR: Path to the fpc sources checked out of svn
|
||||
LAZSVNDIR: Path to the lazarus sources checked out of svn
|
||||
LAZSVNBINDIR: Path to the svn lazarus binaries
|
||||
RELEASE_PPC: Path to fpc 2.0.2 compiler
|
||||
|
||||
Just do it. Wait about 40 minutes (on 2.6 GHz P-IV). A log file named installer.log will be written to the current directory and setup file will be in the Output subdirectory of the current directory.
|
||||
|
Loading…
Reference in New Issue
Block a user