Recent

Author Topic: Lazarus on Surface Pro X. Can it run?  (Read 1902 times)

MrMaxMusterman

  • Guest
Lazarus on Surface Pro X. Can it run?
« on: February 05, 2021, 11:26:39 pm »
So i know that the Surface Pro X has 32-bit Emulation but in some articles and videos, people went over some apps crashing even though emulation of them should be possible. What about Lazarus? Is there someone who uses or at least tried to use Lazarus on Surface Pro X or Windows on ARM? Can and does it run with it and is the performance that worse?

ASBzone

  • Hero Member
  • *****
  • Posts: 614
  • Automation leads to relaxation...
    • Free Console Utilities for Windows (and a few for Linux) from BrainWaveCC
Re: Lazarus on Surface Pro X. Can it run?
« Reply #1 on: March 11, 2021, 05:13:05 pm »
I have not tried this as yet.  I have to get my hands on a Surface Pro X, at least to test.
-ASB: https://www.BrainWaveCC.com/

Lazarus v2.0.13 r64843 / FPC v3.2.1-r49055 (via FpcUpDeluxe) -- Windows 64-bit install w/Win32 and Linux/Arm cross-compiles
Primary System: Windows 10 Pro x64, Version 2009 (Build 19042)
Other Systems: Windows 10 Pro x64, Version 2009 (Build 19042) or greater

Fred vS

  • Hero Member
  • *****
  • Posts: 2313
    • StrumPract is the musicians best friend
Re: Lazarus on Surface Pro X. Can it run?
« Reply #2 on: March 11, 2021, 06:13:26 pm »
Does anybody have already installed Windows 10 on a Rpi 3-B?
And get fpc work on it?

And are the binaries compiled on Windows-Rpi compatible with MS Surface Pro X?

Thanks.

Fre;D


I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs
https://gitlab.com/fredvs

PascalDragon

  • Hero Member
  • *****
  • Posts: 3207
  • Compiler Developer
Re: Lazarus on Surface Pro X. Can it run?
« Reply #3 on: March 12, 2021, 03:50:55 pm »
So i know that the Surface Pro X has 32-bit Emulation but in some articles and videos, people went over some apps crashing even though emulation of them should be possible. What about Lazarus? Is there someone who uses or at least tried to use Lazarus on Surface Pro X or Windows on ARM? Can and does it run with it and is the performance that worse?

i386 Lazarus works without any problems on Windows for ARM64.

Does anybody have already installed Windows 10 on a Rpi 3-B?

Not on a Pi 3B, but on a Pi 4 inside a VM.

And get fpc work on it?

The i386 one, yes (including Lazarus). The aarch64 still has some bugs and is not fully useable yet.

And are the binaries compiled on Windows-Rpi compatible with MS Surface Pro X?

It's simply the i386 compiler. It doesn't generate any different binaries than it would on a i386 system.

Fred vS

  • Hero Member
  • *****
  • Posts: 2313
    • StrumPract is the musicians best friend
Re: Lazarus on Surface Pro X. Can it run?
« Reply #4 on: March 12, 2021, 05:04:15 pm »
Not on a Pi 3B, but on a Pi 4 inside a VM.
It seems that it is possible too to install the true Windows 10 on Rpi4:
https://www.tomshardware.com/how-to/install-windows-10-raspberry-pi

i386 Lazarus works without any problems on Windows for ARM64.
Ha, ok, but this is because Windows for ARM64 can emulate i386 but this is not a "pure Windows ARM64 fpc" app.
(Or I miss something.)

The aarch64 still has some bugs and is not fully useable yet.
Ha, ok, and this will produce a "pure Windows ARM64 fpc" app.
(Or I miss something)

Thanks for the light.

Fre;D
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs
https://gitlab.com/fredvs

PascalDragon

  • Hero Member
  • *****
  • Posts: 3207
  • Compiler Developer
Re: Lazarus on Surface Pro X. Can it run?
« Reply #5 on: March 15, 2021, 01:35:59 pm »
Not on a Pi 3B, but on a Pi 4 inside a VM.
It seems that it is possible too to install the true Windows 10 on Rpi4:
https://www.tomshardware.com/how-to/install-windows-10-raspberry-pi

Yes, but running it using KVM on a Linux allows me to use the onboard ethernet controller for example. There are also some other problems, because Microsoft does not provide a native Windows ARM64 for the Pi. The 32-bit variant is a bit better here cause it can use the drivers provided with Windows IoT Core (but even then ethernet would not work on the Pi4).

i386 Lazarus works without any problems on Windows for ARM64.
Ha, ok, but this is because Windows for ARM64 can emulate i386 but this is not a "pure Windows ARM64 fpc" app.
(Or I miss something.)

Yes and that is all you have for now.

The aarch64 still has some bugs and is not fully useable yet.
Ha, ok, and this will produce a "pure Windows ARM64 fpc" app.
(Or I miss something)

Yes, correct.

Fred vS

  • Hero Member
  • *****
  • Posts: 2313
    • StrumPract is the musicians best friend
Re: Lazarus on Surface Pro X. Can it run?
« Reply #6 on: March 15, 2021, 01:39:28 pm »
@Sven : ok, clear, thanks.

Fre;D
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs
https://gitlab.com/fredvs

 

TinyPortal © 2005-2018