[fpc-pascal] FPC 3.0 and FPC 2.6 on Ubuntu. How to change default version?

Marco van de Voort marcov at stack.nl
Fri Aug 5 10:33:27 CEST 2016


In our previous episode, Krzysztof said:
> Thanks Jonas for quick answer!
> 
> In /user/bin I have two symlinks:
> - ppcx64 which point to /etc/alternatives/ppcx64

That is something debian/buntu specific. What does this point to. This
should point to the version you want to use by default.
/usr/.../lib/fpc/<version>/ppcx64

> - ppcx64-3.0.0 which point to ../lib/fpc/3.0.0/ppcx64

The other version (not default) should be symlinked with version number like
this.

Then you can compile the non default with fpc -V<versionnumber>




More information about the fpc-pascal mailing list