On 08.01.2017 11:20, Bo Berglund wrote:
> On Sat, 7 Jan 2017 12:24:39 +0100 (CET), "Karoly Balogh (Charlie/SGR)"
> <char...@scenergy.dfmk.hu> wrote:
> Then I went looking for the new ppcarm compiler and found it in these
> locations:
> 
> /home/pi/dev/fpc/3.0.2RC1/compiler/ppcarm (in the source tree)
> /home/pi/bin/fpc/3.0.2RC1/lib/fpc/3.0.2/ppcarm (in the install tree)
> 
> I guess that the first location is the result of make all command and
> the second of the install command?

Correct.

> My question now is why the compiler binary was placed into the
> subdirectory lib/fpc/3.0.2/ of the INSTALL_PREFIX path rather than in
> that directory itself?
> And it seems like the other compiled binaries are collected in one
> place, but that is also a subdirectory...
> So all of the other binaries were placed in
> /home/pi/bin/fpc/3.0.2RC1/bin
> 
> Is there a reason for this strange behaviour? Especially why the
> actual new compiler was placed in such a remote place?
> 

The install make target places the main binaries in /bin and the ppcXXX
binaries in /lib/fpc/$VERSION as this follows Posix principles.
INSTALL_PREFIX does exactly what its name says: it adds a prefix to
these paths.

Regards,
Sven

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

Reply via email to