Forum > Beginners

howto rebuild FPC RTL for lazarus ?

<< < (2/3) > >>

marcov:
Compile everything (using make all on the source/ level), and use INSTALL_PREFIX

PascalDragon:

--- Quote from: marcov on November 23, 2021, 09:48:26 pm ---Compile everything (using make all on the source/ level), and use INSTALL_PREFIX

--- End quote ---

Lazarus does not provide the full sources on Windows only rtl and packages (no other directories or files).

marcov:
Then I'll leave it for a lazarus developer to answer :-)

Bart:
Here's a Lazaus user:
I always download the (full) sources for fpc separately.
I never rebuild a separate fpc package though, I just rebuild fpc entirely.
Hardly ever fails (and if it does, it's 99% chance it's my fault).

Bart

alexraynepe196:

--- Quote from: marcov on November 23, 2021, 09:48:26 pm ---Compile everything (using make all on the source/ level), and use INSTALL_PREFIX

--- End quote ---
`c:\lazarus\fpc\3.2.0\source\rtl>make all FPC=c:\lazarus\fpc\3.2.0\bin\x86_64-win64\fpc.exe INSTALL_PREFIX=c:\lazarus\fpc\3.2.0`
builds well, but it also outputs to source\rtl\unis\$TARGET, instead place it to INSTALL_PREFIX\units\$TARGET\rtl

How to force `make` place builded objects into FPC native units\ dir?

i try make install , and fails:

```
c:\lazarus\fpc\3.2.0\source\rtl>make install FPC=c:\lazarus\fpc\3.2.0\bin\x86_64-win64\fpc.exe INSTALL_PREFIX=c:\lazarus\fpc\3.2.0 COPYTREE=echo
make -C win64 all
make[1]: Entering directory '/cygdrive/c/lazarus/fpc/3.2.0/source/rtl/win64'
make[1]: Leaving directory '/cygdrive/c/lazarus/fpc/3.2.0/source/rtl/win64'
__missing_command_FPCMAKE -p -Tx86_64-win64 Makefile.fpc
make: __missing_command_FPCMAKE: Command not found
make: *** [Makefile:1464: fpc_install] Error 127
```

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version