[fpc-pascal] How can I implement "thrice" in Free Pascal?

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Oct 31 11:09:00 CET 2011


On 31 Oct 2011, at 08:36, Andrew Pennebaker wrote:

> I forcibly sudo cp ppc386 /usr/local/bin/fpc, mitigating the issue. Yeah,
> something in the makefile installation process is definitely moving over an
> older version.

Create a symlink from /usr/local/bin/ppc386 to /usr/local/lib/fpc/2.7.1/ppc386 (or ppcx64 in case you're on x86-64). "fpc" searches for a compiler binary in the same directory as where its own binary is located. "make install" does not create/overwrite ppcXXX, because that changes the default compiler (which is a separate step from installing a new version in parallel with another version).


Jonas




More information about the fpc-pascal mailing list