[fpc-pascal] getting cross with the cross compiler

Sven Barth pascaldragon at googlemail.com
Sat Oct 7 12:14:51 CEST 2017


Am 07.10.2017 11:11 schrieb "Karoly Balogh (Charlie/SGR)" <
charlie at scenergy.dfmk.hu>:
>
> 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?)

I had asked the same some time ago and the historic reason was that
especially the system unit was considered too different to have both of
them be the same target... I don't agree either, but that's how it is... :/

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20171007/fd84e824/attachment.html>


More information about the fpc-pascal mailing list