On Fri, 29 Jan 2016, Tony Whyman wrote:

I'm experimenting with building fpc from source in various combinations and a couple of issues have come up which could be bugs or just me not knowing which environment variables to set.

The build environment is a clean install of Linux Mint 17.2 Cinnamon (64 bit) with fpc 2.6.4 installed from the binary distribution. fpc-build-3.0.0.tar.gz is then expanded into my home directory and I start off by cd-ing into the directory and starting the build with:

make all NOGDB=1

This seems to happily build the compiler and libraries for the default environment. I then do a test install with:

make install NOGDB=1 INSTALL_PREFIX=/tmp/fpc

All seems to be installed fine expect for two things:

1. Missing softlink.
==============

The make install does not add the softlink:

ln -s /tmp/fpc/lib/3.0.0/ppcx86 /tmp/bin/ppcx86

I originally came across this problem when installing over 2.6.4 when everything was OK expect that the old softlink /usr/bin/ppcx86 had been left in place with the result that the new compiler was being ignored when I call "fpc -iV" (i.e. 2.6.4 was still the active compiler).

This is as designed.

The symlink is only installed with the installsymlink make target in the 
compiler directory.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to