[fpc-devel] Test changes in e.g. a package

Joost van der Sluis joost at cnoc.nl
Mon Jul 23 14:32:39 CEST 2018



Op 18-07-18 om 13:39 schreef Michael Van Canneyt:
> 
> 
> On Wed, 18 Jul 2018, Bart wrote:
> 
>> Hi,
>>
>> Sorry if this is a RTFM question.
>>
>> Whenever I make some changes to the sourcecode of e.g. a package or an
>> RTL-file, in order to test these changes I do a make clean/make
>> install in the root directory.
>> (e.g. I change one line in packages/fcl-registry/src/regini.inc)
>> This takes several minutes (which especially sucks if I made a typo
>> which leads to a syntax error).
>>
>> Is there a faster way to do this?
> 
> In general: no.

No?

cd packages/fcl-registry
fppkg install

That's it. It will also re-compile and install all packages that depend 
on fcl-registry.

Use 'fppkg install -o -gl' when you need debug-info.

Your fppkg configuration has to be correct, though. Which is the case 
when you used the fpc-installer.

If it does not work, use 'fppkg listsettings' and check the results.

Regards,

Joost.



More information about the fpc-devel mailing list