[fpc-pascal] getting cross with the cross compiler

Karoly Balogh (Charlie/SGR) charlie at scenergy.dfmk.hu
Sat Oct 7 11:10:47 CEST 2017


Hi,

On Sat, 7 Oct 2017, Sven Barth via fpc-pascal wrote:

> > So where is my cross compiler ??
> >
> > Thanks for any help and suggestions.
>
> A single compiler binary can always compile for all supported targets of
> that processor. So as long as all the units are available you simply
> need to pass "-Twin64" as additional parameter to compile for
> x86_64-win64.

Sigh. :) Any reason why Windows is different? No other OS has different
target arguments for different CPUs, because the CPU type already
specifies if its for 32 or 64bit... (fix me?)

Charlie



More information about the fpc-pascal mailing list