[fpc-devel]Building compiler, rtl, host, target... (cross compiling)
Michael Schnell
mschnell at lumino.de
Thu Apr 7 10:55:29 CEST 2011
On 04/06/2011 10:19 PM, Skybuck Flying wrote:
> 1. Why is it not possible for a single free pascal compiler executable
> to support and compile towards multiple targets ? (One target selected
> out of multiple target options)
It does not make much sense to request this. It's no hassel at all to
use different compiler executables and RTL files for different targets.
And a multi-Target compiler would be slower, as at very may lines
case-switches between the different target would need to be handled, and
the much bigger compiler-executable would be less efficient regarding
the CPU's cache use.
-Michael
More information about the fpc-devel
mailing list