Recent

Author Topic: Rebuilding FPC-Units  (Read 2641 times)

chris213

  • Newbie
  • Posts: 1
Rebuilding FPC-Units
« on: November 30, 2014, 04:11:12 am »
Hi,
i just started with Lazarus, but realized that there are newer versions of some fpc units available and i need some of their functions. So i tried to exchange the units and rebuild it with fppkg but i got this error msg: EProcess : Failed to execute fpc.exe -iVTPTO : 2. So my question is how to update the FPC Package.

Thanks

Cyrax

  • Hero Member
  • *****
  • Posts: 836
Re: Rebuilding FPC-Units
« Reply #1 on: November 30, 2014, 04:31:52 am »
There is high probability that you need to update FPC compiler, FPC RTL and FPC binary utilities to their trunk version as well. It may be easier build whole FPC package from SVN trunk.
« Last Edit: November 30, 2014, 04:33:36 am by Cyrax »

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Rebuilding FPC-Units
« Reply #2 on: December 01, 2014, 04:44:05 am »
Quote
So i tried to exchange the units and rebuild it with fppkg
You can't interchange compiled units. You need the source. And if a unit gets recompiled due to certain changes, all other units that depend on it has to be recompiled as well.

 

TinyPortal © 2005-2018