Forum > Beginners

howto rebuild FPC RTL for lazarus ?

(1/3) > >>

alexraynepe196:
hallow!
installed lazarus 2.0.10 with fpc 3.2.0 on win8.
due some changes, i infered into system units, standart fpcpackage paszlib need to rebuild. How to make it right?

simple `make build install` in source/packages/paszlib not enough:
>>Makefile:135: *** Compiler .exe not found.  Stop

marcov:
Rebuild first FPC, and then Lazarus.

Not only packages, but any packages depending on it (like image support) must be recompiled, and the easiest way is to simply recompile all.

alexraynepe196:
Have lazarus any script for such rebuild? or need to do it manual?

marcov:
Afaik mostly manual.

alexraynepe196:
i run build for RTL
`c:\lazarus\fpc\3.2.0\source\rtl>make debug FPC=c:\lazarus\fpc\3.2.0\bin\x86_64-win64\fpc.exe INSTALL_UNITDIR=c:\lazarus\fpc\3.2.0\units`

it build weel, but outpts ppu into `c:\lazarus\fpc\3.2.0\source\rtl\units\$TARGET`

same command for packages:
`c:\lazarus\fpc\3.2.0\source\packages>make debug FPC=c:\lazarus\fpc\3.2.0\bin\x86_64-win64\fpc.exe INSTALL_UNITDIR=c:\lazarus\fpc\3.2.0\units`

builds output into units/$TARGET of each package folder.

how to force make outputs to demanded `c:\lazarus\fpc\3.2.0\units` - that is FPC installation have?

Navigation

[0] Message Index

[#] Next page

Go to full version