mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 08:00:34 +02:00
updated install.txt
git-svn-id: branches/fixes_1_6@50654 -
This commit is contained in:
parent
d14c224c11
commit
0a4add9726
@ -44,8 +44,8 @@ properly:
|
|||||||
apt-get install lazarus #will pull in required gtk dependencies
|
apt-get install lazarus #will pull in required gtk dependencies
|
||||||
|
|
||||||
Download and install FreePascal. Either the rpm, tgz or the daily snapshot.
|
Download and install FreePascal. Either the rpm, tgz or the daily snapshot.
|
||||||
You need at least FPC 2.6.2 (2.6.2 is the stable version of FPC; uneven
|
You need at least FPC 2.6.4 (3.0.0 is the stable version of FPC; uneven
|
||||||
versions like 2.7.1 are development versions).
|
versions like 3.1.1 are development versions).
|
||||||
|
|
||||||
To compile Lazarus (LCL + IDE) go to your unpacked Lazarus source and do:
|
To compile Lazarus (LCL + IDE) go to your unpacked Lazarus source and do:
|
||||||
[]$ make clean all
|
[]$ make clean all
|
||||||
@ -64,8 +64,8 @@ properly:
|
|||||||
http://developer.apple.com/.
|
http://developer.apple.com/.
|
||||||
|
|
||||||
Download and install FreePascal. Either the dmg or the daily snapshot.
|
Download and install FreePascal. Either the dmg or the daily snapshot.
|
||||||
You need at least FPC 2.6.2 (2.6.2 is the stable version of FPC; uneven
|
You need at least FPC 2.6.4 (2.6.4 is the stable version of FPC; uneven
|
||||||
versions like 2.7.1 are development versions).
|
versions like 3.1.1 are development versions).
|
||||||
|
|
||||||
To compile Lazarus (LCL + IDE) go to your unpacked Lazarus source and do:
|
To compile Lazarus (LCL + IDE) go to your unpacked Lazarus source and do:
|
||||||
[]$ make clean all
|
[]$ make clean all
|
||||||
@ -81,7 +81,7 @@ properly:
|
|||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
2.1 Installing FreePascal under Linux:
|
2.1 Installing FreePascal under Linux:
|
||||||
|
|
||||||
Lazarus requires FPC (Free Pascal) version 2.6.2 (or newer) and it requires
|
Lazarus requires FPC (Free Pascal) version 2.6.4 (or newer) and it requires
|
||||||
both the compiled FPC libs (binaries) and the FPC sources. Most of the Linux
|
both the compiled FPC libs (binaries) and the FPC sources. Most of the Linux
|
||||||
distributions contain packages for FreePascal (look for FPC). Use your package
|
distributions contain packages for FreePascal (look for FPC). Use your package
|
||||||
manager to install them.
|
manager to install them.
|
||||||
@ -97,7 +97,7 @@ properly:
|
|||||||
The FPC sources:
|
The FPC sources:
|
||||||
The easiest way to get the Free Pascal sources is via svn. Of course you can
|
The easiest way to get the Free Pascal sources is via svn. Of course you can
|
||||||
also download it as whole, see http://www.freepascal.org/develop.html
|
also download it as whole, see http://www.freepascal.org/develop.html
|
||||||
for the daily snapshot of the release tree (2.7.x).
|
for the daily snapshot of the release tree (3.1.x).
|
||||||
|
|
||||||
The FPC sources via svn:
|
The FPC sources via svn:
|
||||||
Create a directory where you would like to put the sources. You don't need
|
Create a directory where you would like to put the sources. You don't need
|
||||||
@ -147,8 +147,8 @@ properly:
|
|||||||
(1) e.g. for FPC ftp://ftp.freepascal.org/fpc/dist/Linux/separate/sources.tar
|
(1) e.g. for FPC ftp://ftp.freepascal.org/fpc/dist/Linux/separate/sources.tar
|
||||||
preferably an export (no SVN/ dirs). The above file misses this
|
preferably an export (no SVN/ dirs). The above file misses this
|
||||||
(2) Lazarus source snapshot.
|
(2) Lazarus source snapshot.
|
||||||
- _any_ starting compiler from the 2.6.2 branch) You can do a check by parsing
|
- _any_ starting compiler from the 2.6.4 branch) You can do a check by parsing
|
||||||
the output of 'fpc -v' if it is 2.6.2, it is ok.
|
the output of 'fpc -v' if it is 2.6.4, it is ok.
|
||||||
- dependant packages. (for FreeBSD that is gtk2, and
|
- dependant packages. (for FreeBSD that is gtk2, and
|
||||||
GNU make, iconv and gettext)
|
GNU make, iconv and gettext)
|
||||||
|
|
||||||
@ -171,11 +171,11 @@ properly:
|
|||||||
for ports)
|
for ports)
|
||||||
|
|
||||||
Create a symlink
|
Create a symlink
|
||||||
ln -s $THEPREFIX/lib/fpc/2.4.2/ppc386 $THEPREFIX/bin/ppc386
|
ln -s $THEPREFIX/lib/fpc/2.6.4/ppc386 $THEPREFIX/bin/ppc386
|
||||||
|
|
||||||
install sourceinstall PREFIX=$THEPREFIX
|
install sourceinstall PREFIX=$THEPREFIX
|
||||||
|
|
||||||
(5) (configure) run compiler/utils/samplecfg $THEPREFIX/lib/fpc/2.4.2 $ETCDIR
|
(5) (configure) run compiler/utils/samplecfg $THEPREFIX/lib/fpc/2.6.4 $ETCDIR
|
||||||
(6) (optional, test), see if ppc386 -i gives output, else give a warning
|
(6) (optional, test), see if ppc386 -i gives output, else give a warning
|
||||||
that user need to add $PREFIX/bin to his current path.
|
that user need to add $PREFIX/bin to his current path.
|
||||||
Try to compiler a program with -viwn, and see if that gives errors.
|
Try to compiler a program with -viwn, and see if that gives errors.
|
||||||
@ -311,7 +311,7 @@ properly:
|
|||||||
ftp://ftp.freepascal.org/pub/fpc/source/lazarus.zip
|
ftp://ftp.freepascal.org/pub/fpc/source/lazarus.zip
|
||||||
|
|
||||||
Then unzip it to c:\lazarus for example.
|
Then unzip it to c:\lazarus for example.
|
||||||
You have to install at least FPC 2.6.2, e.g. in
|
You have to install at least FPC 2.6.4, e.g. in
|
||||||
c:\pp\bin\win32.
|
c:\pp\bin\win32.
|
||||||
In this directory you can find a lot of exes (make, grep, ppc386, and so on).
|
In this directory you can find a lot of exes (make, grep, ppc386, and so on).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user