Forum > Windows (32/64)

Compile lazarus from beginning

(1/3) > >>

hamacker:
Hi ALL, I try to compile lazarus from sources.
1. First I download FPC-3.2.2 and install into C:\FPC\3.2.2
2. Add C:\FPC\3.2.2\bin\i386-win32 to enviroment path
3. Run cmd.exe and ...
set path=C:\FPC\3.2.2\bin\i386-win32 // overwrite a Delphi path because 'make.exe' from delphi has priority
mkdir c:\lazarus2
cd c:\l
git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git
cd C:\lazarus
make clean bigide
and after build all then
lazarus.exe
And IDE start and keep searching 'FPC Sources' and not found, and ask where is fpc sources, I try:
C:\lazarus\units\i386-win32\win32[\rtl]
C:\FPC\3.2.2\units\i386-win32[\rtl]
and anyone can pass.

What are missing?

wp:
"FPC Source" is the folder within the FPC installation folder tree which contains the "rtl" and "packages" subfolders. In your case, this should be C:\FPC\3.2.2\source

hamacker:

First, I try from git, but it´s fail then  I donwloaded zip/gz from
I found in: https://www.freepascal.org/down/source/sources.html
And extract to c:\fpc\...
and now everithing is OK.

Thanks a lot!

thierrybo:
I also used to build fpc/lazarus from source with my own build script for years but I stopped as soon as I tried fpcupdeluxe! :)

nummer8:
Would you be willing to share that build script?

Navigation

[0] Message Index

[#] Next page

Go to full version