I bought a raspberry pi and try to install lazarus 1.0.14 and fpc 2.6.2 because I have to be able to use raudus on this architecture . I used
sudo apt- get update
sudo apt- get upgrade
sudo apt- get install lazarus
but of course the old version was . Then I performed the following steps:
I went to the following address
http://sourceforge.net/projects/freepascal/files/I chose
Linux
then I chose
2.6.2
and there I was:
http://sourceforge.net/projects/freepascal/files/Linux/2.6.2/I then downloaded
fpc - 2.6.2.arm - linux.tar
decompressed with
tar-xvf ./fpc-2.6.2.arm-linux.tar
cd fpc - 2.6.2.arm -linux /
sudo sh install.sh
then went on
http://sourceforge.net/projects/lazarus/files/Lazarus 20Zip % % 20_ % 20GZip /
I chose the version 1.0.14
http://sourceforge.net/projects/lazarus/files/Lazarus 20Zip % % 20_ % 20GZip/Lazarus % 201.0.14 /
download version . tar.gz
sudo chmod 777 lazarus - 1.0.14 - 0.tar.gz
unzip with
tar-zxvf lazarus - 1.0.14 - 0.tar.gz
cd lazarus
make clean all
.
.
.
assembling lazbuild
Compiling resource .. / units / arm- linux / nogui / lazbuild.or
Linking .. / lazbuild
/ usr / bin / ld : warning: .. / link.res contains output sections ; did you forget- T ?
/ usr/lib/fpc/2.6.2/units/arm-linux/rtl/cprt0.o : In function ` _haltproc_eabi ' :
(. text +0 x88 ) : undefined reference to ` _fini '
/ usr/lib/fpc/2.6.2/units/arm-linux/rtl/cprt0.o : In function ` _haltproc_eabi ' :
(. text +0 x90 ) : undefined reference to ` _init '
lazbuild.lpr ( 1424) Error: Error while linking
lazbuild.lpr ( 1424) Fatal: There were 1 errors compiling module , stopping
Fatal: Compilation aborted
make [ 2] : *** [ lazbuild ] Error 1
make [ 2] : Leaving directory `/ home / pi / Documents / lazarus / ide '
make [ 1] : *** [ lazbuilder ] Error 2
make [ 1] : Leaving directory `/ home / pi / Documents / lazarus / ide '
make: *** [ lazbuild ] Error 2
Google Traduttore per il Business:Translator ToolkitTraduttore di siti webStrumento a supporto dell'export
I tried to follow this solution
http://bugs.freepascal.org/view.php?id=24056but if I type
sudo find / -name cprt0.as
I do not have any results. Does anyone know how to help me?!