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. Alternatively, you can change the compiler binary that Lazarus uses in Tools->Options->Environment->Compiler path Jonas_______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
