[fpc-devel] Re-installing fpc

Jonas Maebe jonas.maebe at elis.ugent.be
Mon Mar 14 13:20:11 CET 2011


On 14 Mar 2011, at 13:15, Michael Schnell wrote:

> On 03/14/2011 11:14 AM, Jonas Maebe wrote:
>> make FPC=`pwd`/compiler/ppc386 install INSTALL_PREFIX=/usr
> This in fact runs seemingly without an error message and creates "fpc" and 32 more files in /usr/bin.
> 
> (Making me wonder why I did not need the parameter FPC=`pwd`/compiler/ppc386 before reinstalling Linux.)

Because you had a ppc386 in the path, which the Makefile found by itself.

> But when doing "fpc" I get
> 
> Error: ppc386 can't be executed, error message: Failed to execute "ppc386", error code: 127
> 
> And in fact "ppc386" is not in /usr/bin
> 
> What did I do wrong ?

"make install" does not create any symbolic links to change the default compiler to the newly installed one (because normally the latest released version should remain the default compiler, since it's the only one with which you can safely compile newer compiler versions). So if you want to overwrite or create it:

cd compiler
make FPC=./ppc386 installsymlink


Jonas


More information about the fpc-devel mailing list