mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 01:57:57 +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
|
||||
|
||||
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
|
||||
versions like 2.7.1 are development versions).
|
||||
You need at least FPC 2.6.4 (3.0.0 is the stable version of FPC; uneven
|
||||
versions like 3.1.1 are development versions).
|
||||
|
||||
To compile Lazarus (LCL + IDE) go to your unpacked Lazarus source and do:
|
||||
[]$ make clean all
|
||||
@ -64,8 +64,8 @@ properly:
|
||||
http://developer.apple.com/.
|
||||
|
||||
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
|
||||
versions like 2.7.1 are development versions).
|
||||
You need at least FPC 2.6.4 (2.6.4 is the stable version of FPC; uneven
|
||||
versions like 3.1.1 are development versions).
|
||||
|
||||
To compile Lazarus (LCL + IDE) go to your unpacked Lazarus source and do:
|
||||
[]$ make clean all
|
||||
@ -81,7 +81,7 @@ properly:
|
||||
--------------------------------------------------------------------------------
|
||||
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
|
||||
distributions contain packages for FreePascal (look for FPC). Use your package
|
||||
manager to install them.
|
||||
@ -97,7 +97,7 @@ properly:
|
||||
The FPC sources:
|
||||
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
|
||||
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:
|
||||
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
|
||||
preferably an export (no SVN/ dirs). The above file misses this
|
||||
(2) Lazarus source snapshot.
|
||||
- _any_ starting compiler from the 2.6.2 branch) You can do a check by parsing
|
||||
the output of 'fpc -v' if it is 2.6.2, it is ok.
|
||||
- _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.4, it is ok.
|
||||
- dependant packages. (for FreeBSD that is gtk2, and
|
||||
GNU make, iconv and gettext)
|
||||
|
||||
@ -171,11 +171,11 @@ properly:
|
||||
for ports)
|
||||
|
||||
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
|
||||
|
||||
(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
|
||||
that user need to add $PREFIX/bin to his current path.
|
||||
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
|
||||
|
||||
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.
|
||||
In this directory you can find a lot of exes (make, grep, ppc386, and so on).
|
||||
|
||||
@ -322,4 +322,4 @@ properly:
|
||||
set path=c:\pp\bin\win32;c:\lazarus
|
||||
make
|
||||
|
||||
If you are lucky then you can type: lazarus.exe
|
||||
If you are lucky then you can type: lazarus.exe
|
||||
|
Loading…
Reference in New Issue
Block a user