[fpc-pascal] alternative name fpc cross

Sven Barth pascaldragon at googlemail.com
Tue Oct 10 17:36:25 CEST 2017

Am 10.10.2017 15:21 schrieb "turro75" <valerio.turrini at gmail.com>:
> Well,
> I think my problem is easier....
> when I compile fpc for arm-android target I get ppccrossarm and units
> arm-android (with binutils arm-linux-android-*)
> when I compile fpc for arm-embedded target I get ppccrossarm and units
> arm-embedded (with binutils arm-none-eabi-*)
> both are able to create binary as I need.
> So the last crosschain created overwrites the previous (the ppcrossarm
> executable).
> Is there a way to instruct  fpc.cfg to use an alternative name (i.e.
> ppcrossarmdroid or ppcrossarmembed) when fpc invokes the right compiler?

You can use the same binary for both as long as both compile for the same
ABI (EABI vs. HardFloat vs. OABI).

Alternatively you can supply the -V option for the fpc binary. Used as
"-Vxyz" the compiler driver will call <binary>-xyz.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20171010/eb476961/attachment.html>

More information about the fpc-pascal mailing list