[fpc-devel] Test changes in e.g. a package
Michael Van Canneyt
michael at freepascal.org
Thu Jul 19 07:59:21 CEST 2018
On Wed, 18 Jul 2018, Bart wrote:
> On Wed, Jul 18, 2018 at 1:39 PM, Michael Van Canneyt
> <michael at freepascal.org> wrote:
>
>> In general: no.
>
> OK
> I pity the compiler devels, especially in the past with slower hardware.
Yes, it can be time-consuming.
>> But:
>> * if the package does not have dependencies, you can just recompile that
>> package.
>> cd packages/fcl-registry
>> make clean allOPT=-gl && sudo make install
>
> That failed with incompatible ppu version (make calls fpc 3.0.4)
If you try this after having done a 'make all' then that is normal,
since the system is set up to use the units in the source tree,
not the installed ones.
And the ones in the source tree were then compiled with the trunk
compiler...
So you should then specify the trunk compiler:
make clean all OPT=-gl PP=/path/to/trunk/compiler
(or install it on the PATH)
Michael.
More information about the fpc-devel
mailing list