-
Notifications
You must be signed in to change notification settings - Fork 23
FPC_Debian
Zaher Dirkey edited this page Jan 8, 2024
·
3 revisions
Download it from trunk this file
Download source trunk this source file.
Extract in your home folder /home/user/lab/programs/fpc/3.3/
Extract fpc.zip
source file in your fpc folder /home/user/lab/programs/fpc/3.3/src
Move this files to bin folder /home/user/lab/programs/fpc/3.3/bin/
/home/user/lab/programs/fpc/3.3/lib/libpas2jslib.so
/home/user/lab/programs/fpc/3.3/lib/fpc/3.3.1/ppcx64
Move folders to fpc home folder /home/user/lab/programs/fpc/3.3/
/home/user/lab/programs/fpc/3.3/lib/fpc/3.3.1/fpmkinst
/home/user/lab/programs/fpc/3.3/lib/fpc/3.3.1/msg
/home/user/lab/programs/fpc/3.3/lib/fpc/3.3.1/units
Delete folder /home/user/lab/programs/fpc/3.3/lib/
/home/user/lab/programs/fpc/3.3/lib/fpc/lexyacc
In folder bin
run in terminal, to change mod to execute all files without extension, then create fpc.cfg file.
find -type f -not -name "*.*" -exec chmod +x {} \;
./fpcmkcfg -d "basepath=/home/user/lab/programs/fpc/3.3/bin" -o fpc.cfg
Edit /home/user/.bashrc
file and add bin path to environment PATH.
export PATH="/home/user/lab/programs/fpc/3.3/bin:$PATH"
export PPC_CONFIG_PATH=/home/user/lab/programs/fpc/3.3/bin
To compile Lazarus install dependencies
sudo apt-get install libgtk2.0-dev