Difference between revisions of "Pinebook Pro/Freepascal and Lazarus IDE on Manjaro"

Jump to navigation Jump to search
no edit summary
(Install Freepascal FPC3.20 and Lazarus IDE on Manjaro)
 
Line 35: Line 35:
  <nowiki>./helloworld  
  <nowiki>./helloworld  
Hello world</nowiki>
Hello world</nowiki>
== How to compile Lazarus ==
Install necessary Manjaro packages
<nowiki>sudo pacman -Syu make subversion qt5pas</nowiki>
Download Lazarus source
<nowiki>cd ~
mkdir fpc
cd fpc
svn co https://svn.freepascal.org/svn/lazarus/trunk lazarus
cd lazarus
make LCL_PLATFORM=qt5</nowiki>
Download fpc-3.2.0.source.tar.gz from https://www.freepascal.org/down/source/sources.html and unpack the fpc src in some convenient folder (I used ~/fpc/fpc-3.2.0)
Run it
<nowiki>cd ~/fpc/lazarus
./startlazarus</nowiki>
47

edits

Navigation menu