[fpc-devel] different fpc dir structure on different platforms?
Michael Van Canneyt
michael at freepascal.org
Thu Oct 21 09:49:10 CEST 2021
On Wed, 20 Oct 2021, Jos Wegman via fpc-devel wrote:
> I have two virtual machines
> 1. Debian 11
> 2. Win 10
> In both machines I want to install the fpc compiler from sourcecode.
> I create a base directory and two subdirectories.
> fpc -> fpcsrc
> -> fpcbin
> I clone the sourcecode from gitlab into the fpc\fpcsrc directory
> enter the directory and do a make all.
> after that i do a make install INSTALL_PREFIX= ..\fpcbin
> On both vm's the fpcbin directory contains the newly compiled fpc compiler.
> If I check both fpcbin directories on the vm's the is a different
> directory structure.
> My questions are:
> Why is there a difference?
Because the directory structure adheres to the platform conventions.
On windows, all is below 1 directory, the program install directory.
(this is PREFIX)
On linux/unix, the compiler is in PREFIX/lib/fpc/VERSION and symlinks are made
from PREFIX/bin/ to the actual binaries.
> Where can i find documentation about these differences?
There is no documentation of this.
More information about the fpc-devel