[fpc-pascal] Downloaded cross-compiler from Sourceforge - wiki incorrect?
Sven Barth
pascaldragon at googlemail.com
Fri Mar 24 07:59:25 CET 2023
Bo Berglund via fpc-pascal <fpc-pascal at lists.freepascal.org> schrieb am
Fr., 24. März 2023, 07:38:
> On Thu, 23 Mar 2023 09:47:36 +0100, Martin Frb via fpc-pascal
> <fpc-pascal at lists.freepascal.org> wrote:
>
> >On 23/03/2023 09:25, Bo Berglund via fpc-pascal wrote:
> >>
> >> Then opened Lazarus 2.2.4 with my project and changed project options as
> >> follows:
> >>
> >> Compiler_Options/Config_and_Target/Target OS(-T): Win32
> >>
> >> Everything else left as-is.
> >You need to change the CPU to i386 too
> >
> OK, I thought that the current processor could be used since it can run
> both
> types of programs...
>
That has nothing to do with your current processor. This setting is the
*target* architecture and can just as well be ARM, PowerPC, AVR, etc. as
well and your processor definitely can't run those outside of emulation.
The default setting of this is whatever architecture you installed Lazarus
as: when you install 64-bit Lazarus on Windows you'll get x86_64 as default
and if you install the 32-bit one it will be the i386. And if in the future
you install a ARM64 Lazarus on a ARM64 Windows the default will be aarch64.
So if you need a different target platform than your default you have to
change that.
Regards,
Sven
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20230324/0a20f926/attachment.htm>
More information about the fpc-pascal
mailing list