Recent

Author Topic: Lazarus on Windows 11 ARM  (Read 7875 times)

hansotten

  • Jr. Member
  • **
  • Posts: 88
Lazarus on Windows 11 ARM
« on: July 02, 2021, 11:24:58 am »
To see what is all the fuzz about I installed Windows 11 ARM, Insider, on my Raspberry Pi400 (see Tom's Hardware for a guide. warning: it takes several hours).
I used a 120 GB SSD as mass storage.

And am pleased to see it running. A bit slow, Raspberry Pi OS is also not a performer, usable. It is not the definite version, so it may become better.

Lots is missing yet: Raspberry Pi specific drivers for HDMI Audio, Wifi, graphic accelerator
And in general USB COM port drivers and such are not there yet, it is not production ready, manufacturers have some work to do. Will take some time.

Windows 11 looks good, much better IMHO than Raspberry PI OS, and so familiar for a Windows user. It takes its place nicely in my Windows network like any Windows PC.

So how about my Pascal programs?
- Lazarus/FPC for ARM on Windows is not there yet.
- My (compiled on Windows 10 Intel box) Lazarus programs run fine. Copy. install and run! X86 emulation is well done it seems.
- the 32 bit version of Lazarus installs and runs and compiles.

So far so good, a pleasant experience!


PascalDragon

  • Hero Member
  • *****
  • Posts: 5446
  • Compiler Developer
Re: Lazarus on Windows 11 ARM
« Reply #1 on: July 02, 2021, 03:11:49 pm »
Lots is missing yet: Raspberry Pi specific drivers for HDMI Audio, Wifi, graphic accelerator
And in general USB COM port drivers and such are not there yet, it is not production ready, manufacturers have some work to do. Will take some time.

The driver support for the RPi 4 is driven by the community. So people who are familiar with Windows driver development are needed. Even better if those people also worked on the Pi itself and know its hardware.

Threadwalker

  • Newbie
  • Posts: 4
Re: Lazarus on Windows 11 ARM
« Reply #2 on: July 02, 2021, 03:48:02 pm »
Quote
Windows 11 looks good, much better IMHO than Raspberry PI OS

What stops you from installing Plasma 5 or something? Windows 11 interface looks similar to KDE5 by default.
I mean, if looks is your main concern. Though Gnome3 also can be made to look similar.

Have you tried to compile fpc for Windows ARM64 native architecture? Are there any compilation errors?

hansotten

  • Jr. Member
  • **
  • Posts: 88
Re: Lazarus on Windows 11 ARM
« Reply #3 on: July 06, 2021, 11:24:54 am »
Quote
Windows 11 looks good, much better IMHO than Raspberry PI OS

What stops you from installing Plasma 5 or something? Windows 11 interface looks similar to KDE5 by default.
I mean, if looks is your main concern. Though Gnome3 also can be made to look similar.
Looks is not what I am after. Windows is for me a very familiar environment, and Windows 11 on ARM enters my Windows network here so easy.

I know I can make Linux GUI's like Windows, but that is just cosmetics.
I know how to work and program on Linux, I did Unix in the 80ties already (and CP/M and VAX/VMS and RSX11M). Never liked Linux, but for the Pi Raspberry Pi OS  still the way.
Windows 11 on the Pi is not mature without drivers.

Have you tried to compile fpc for Windows ARM64 native architecture? Are there any compilation errors?
No, I doubt Lazarus will produce can Windows 11 ARM  excecutable yet. 

PascalDragon

  • Hero Member
  • *****
  • Posts: 5446
  • Compiler Developer
Re: Lazarus on Windows 11 ARM
« Reply #4 on: July 06, 2021, 03:15:09 pm »
Have you tried to compile fpc for Windows ARM64 native architecture? Are there any compilation errors?
No, I doubt Lazarus will produce can Windows 11 ARM  excecutable yet.

FPC 3.3.1 can create a cross compiler for aarch64-win64 since last May and simple programs do work. There are just a few bugs left that hinder the compiler itself to run.

 

TinyPortal © 2005-2018