[fpc-pascal] Trying to use gprof profiler, but linking keeps failing

mailinglists at geldenhuys.co.uk mailinglists at geldenhuys.co.uk
Sun Mar 22 16:40:05 CET 2026


On 2026-03-22 11:06, Marco van de Voort via fpc-pascal wrote:
> 
> Was that a package manager installed version of FPC? That should have 
> run samplecfg to detect it.

I initially had FPC 3.2.2 installed via Ubuntu's package manager, but I 
then had issues switching between FPC 3.2.2 and FPC 3.3.1. So I 
uninstall the packaged version. Cloned the repos and compiled my own. I 
recall using samplecfg to generate the initial fpc.cfg, which I then 
moved to $HOME and tweaked the version string so I can easily switch 
between the two FPC versions, but use the same ~/.fpc.cfg file.

Regards,
   G.


More information about the fpc-pascal mailing list