[fpc-pascal] Installing on mac

Darius Blaszyk dhkblaszyk at zeelandnet.nl
Thu Jan 12 22:37:24 CET 2012


On Jan 12, 2012, at 9:48 PM, Jonas Maebe wrote:

> 
> On 12 Jan 2012, at 21:40, Darius Blaszyk wrote:
> 
>> I have done a sudo make clean all. The compiler and units are built correctly and installed in /usr/local/lib/fpc/2.7.1. The tools seems to be placed under /usr/local/bin.
>> 
>> However ./fpc from command-line gives me the old 2.4.4, therefore I changed my ./profile file. So now I have 2.7.1. However Lazarus still compiles with 2.4.4, even if I compile it from commandline. This has to mean that I shouldn't have modified the .profile, but create a symlink???
> 
> "make install" never changed the default installed version on Unix-like platforms. To change that one, you indeed have to change the ppc386/ppcppc/ppcx64/... symlinks in /usr/local/bin to point to the version that you want to become default.

Thanks Jonas, I missed the ppc symlink there for some reason. Now that it's updated everything works fine.

Regards, Darius




More information about the fpc-pascal mailing list