[fpc-pascal] FPC ARMEL and ARMHF under the same tree
jonas.maebe at elis.ugent.be
Thu Jun 18 17:55:58 CEST 2015
On 17/06/15 20:18, leledumbo wrote:
> I currently have my [cross-]compilers under the same tree, to ease management
> and the ability to use single fpc.cfg. AFAIU FPC ARMEL and ARMHF are two
> distinct targets, thus two distinct compiler binary. However, the compiler
> binary has the same name. So, how can I have both under the same tree? I
> need to target both arm-android (my phone) and arm-linux (Raspberry Pi).
You can rename the compiler binaries to anything you want. A bigger
problem is that all units will also be stored in the same directories.
Florian recently started a branch to add support for sub-architectures
in the unit directory structure
(http://svn.freepascal.org/svn/fpc/branches/target-subdir/ ), but it
still requires changes to fpmkunit/fpmake.
More information about the fpc-pascal