Any plans for a native Windows 10 ARM64 build?

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
gtopala
Junior Member
Junior Member
Posts: 4
Joined: 2019-11-14, 19:23 UTC
Location: Canada
Contact:

Any plans for a native Windows 10 ARM64 build?

Post by *gtopala »

Any plans for a native Windows 10 ARM64 build?
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Windows 10 ARM

Post by *DrShark »

2gtopala
You can read following forum discussions about TC for ARM build of Windows 10 with answers from Christian Ghisler:
viewtopic.php?t=38464
viewtopic.php?p=339381#p339381
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
gtopala
Junior Member
Junior Member
Posts: 4
Joined: 2019-11-14, 19:23 UTC
Location: Canada
Contact:

Re: Windows 10 ARM

Post by *gtopala »

A Windows 10 ARM64 application doesn't need to be UWP or in the Windows Store.
It can be a desktop application compiled for ARM64.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Any plans for a native Windows 10 ARM64 build?

Post by *ghisler(Author) »

I can only repeat what I wrote there:
Unfortunately the used compilers (Delphi/Lazarus) do not support Windows RT/ ARM processors. Therefore it's unfortunately not possible.
Author of Total Commander
https://www.ghisler.com
ssg
New Member
New Member
Posts: 1
Joined: 2022-12-02, 19:08 UTC

Re: Any plans for a native Windows 10 ARM64 build?

Post by *ssg »

I'd like to refresh this thread as FreePascal supports Windows ARM64 now: https://wiki.freepascal.org/Platform_list#Supported_targets_for_AArch64

Lazarus doesn't seem to have a native build for ARM64 yet though.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Any plans for a native Windows 10 ARM64 build?

Post by *ghisler(Author) »

I have tried TC on Windows ARM64 (Raspberry PI 4) and it runs surprisingly well even as x86 or x64 version. Creating a native version would cause another problem: All plugins would stop working, because they are just x86/x64 dlls.
Author of Total Commander
https://www.ghisler.com
SES
New Member
New Member
Posts: 1
Joined: 2022-12-13, 18:12 UTC

Re: Any plans for a native Windows 10 ARM64 build?

Post by *SES »

It works in emulation, but it costs additional battery life and performance. I hope to see the arm64 version soon. I will buy a new licence to support development when available. I believe plugin developers will start to deliver the arm64 version when the TC is available.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Any plans for a native Windows 10 ARM64 build?

Post by *ghisler(Author) »

Most functions in Total Commander are not very CPU intensive, so it's not a problem. If you need to create a lot of archives, you may want to use an external, native packer for that.
Author of Total Commander
https://www.ghisler.com
necesse
New Member
New Member
Posts: 1
Joined: 2022-12-21, 19:12 UTC

Re: Any plans for a native Windows 10 ARM64 build?

Post by *necesse »

How do you emulate x86 to ARM?
I would also buy a new license for a native ARM version :)
drac
Junior Member
Junior Member
Posts: 37
Joined: 2006-04-04, 19:50 UTC

Re: Any plans for a native Windows 10 ARM64 build?

Post by *drac »

I would also buy a license for a native arm64 version. I don't use any external plugins that would require a compilation.

Running under a x64 emulation affects how programs are started from Total Commander, they are not started as arm64 but under a x64 emulation, which can have side effects.

You can get a cheap " Samsung Galaxy Book Go 5G" from ebay.com, which has a rather poor LCD picked by Samsung, but that can be replaced. I documented my experience at https://cristianadam.eu/20221126/windows-arm64-samsung-galaxy-book-go-5g/
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Any plans for a native Windows 10 ARM64 build?

Post by *ghisler(Author) »

Running under a x64 emulation affects how programs are started from Total Commander
How? When you run a native ARM program from Total Commander, how would that be run by the x64 emulator?
Author of Total Commander
https://www.ghisler.com
drac
Junior Member
Junior Member
Posts: 37
Joined: 2006-04-04, 19:50 UTC

Re: Any plans for a native Windows 10 ARM64 build?

Post by *drac »

At https://bugreports.qt.io/browse/QTCREATORBUG-26934 I have found out that running

Code: Select all

c:\Windows\System32\msiexec.exe /i "c:\Program Files (x86)\Windows Kits\10\Debuggers\Redist\X64 Debuggers And Tools-x64_en-us.msi"
behaved differently from Total Commander than running from Windows Explorer.

In the case above it worked actually better, but it's an example how executables started from the x64 emulation behave differently than the ones started from arm64.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Any plans for a native Windows 10 ARM64 build?

Post by *ghisler(Author) »

That's probably because x64 programs see a different system32 folder than native programs - it must be the one containing the x64 dlls. Try running msiexec.exe from the native ARM sysmtem32 folder.
Author of Total Commander
https://www.ghisler.com
drac
Junior Member
Junior Member
Posts: 37
Joined: 2006-04-04, 19:50 UTC

Re: Any plans for a native Windows 10 ARM64 build?

Post by *drac »

Please note that Windows 11 Arm64 comes with the following:

Code: Select all

C:\Windows\SysArm32
$ dumpbin /headers cmd.exe | findstr /i machine
             1C4 machine (ARM)
                   32 bit word machine

c:\Windows\SysWOW64
$ dumpbin /headers cmd.exe | findstr /i machine
             14C machine (x86)
                   32 bit word machine
                   
C:\Windows\System32
$ dumpbin /headers cmd.exe | findstr /i machine
            AA64 machine (ARM64) (ARM64X)                   
 
It has specific binaries for 32 bit arm and x86, but for 64 bit it has two architectures into one.

Microsoft did some magic regarding Arm64 and it's not as simple as it used to be.
drac
Junior Member
Junior Member
Posts: 37
Joined: 2006-04-04, 19:50 UTC

Re: Any plans for a native Windows 10 ARM64 build?

Post by *drac »

As it turns out with Windows 11 22H2 cmd.exe got a new feature:

Code: Select all

start /machine x86|amd64|arm|arm64
Which means that Total Commander could be used to start arm64 applications like:

Code: Select all

%comspec% /q /c start /machine arm64 c:\Windows\System32\msiexec.exe /i "c:\Program Files (x86)\Windows Kits\10\Debuggers\Redist\X64 Debuggers And Tools-x64_en-us.msi"
I would still like to have a native arm64 application though :D Maybe I would have more luck with the competition...
Post Reply