jart / cosmopolitan

build-once run-anywhere c library
ISC License
18.12k stars 620 forks source link

rusage.com on Windows 11 does not work? #935

Open ddevienne opened 11 months ago

ddevienne commented 11 months ago

I used rusage.com on Linux (Red-Hat 7) and it worked fine. Thanks for that.

Then I copied it to a Windows system (worked around the download from Windows not passing the anti-virus gatekeeper), but when I try using it, two things happened:

  1. I get a popup that says Unsupported 16-bit Application;
  2. Once I dismiss that popup, I get a message in the (DOS cmd.exe) console I tried using it from.

The popup's text:

The program or feature "\??\C:\Apps\rusage.com" cannot start or run due to incompatibility with 64-bit versions of Windows. Please contact the software vendor to ask if a 64-bit Windows compatible version is available.

The message from 2. above:

This version of C:\Apps\rusage.com is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.

It could be user error of course. Or I'm using an unsupported platform?

Below is the detailed information about my Windows workstation (redacted a little):

D:\pdgm\trunk\psc4>systeminfo

Host Name:                 ...
OS Name:                   Microsoft Windows 11 Enterprise
OS Version:                10.0.22621 N/A Build 22621
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Member Workstation
OS Build Type:             Multiprocessor Free
Registered Owner:          ...
Registered Organization:
Product ID:                ...
Original Install Date:     4/17/2023, 2:37:42 PM
System Boot Time:          10/25/2023, 9:27:21 AM
System Manufacturer:       Dell Inc.
System Model:              Precision 7920 Tower
System Type:               x64-based PC
Processor(s):              2 Processor(s) Installed.
                           [01]: Intel64 Family 6 Model 85 Stepping 4 GenuineIntel ~2195 Mhz
                           [02]: Intel64 Family 6 Model 85 Stepping 4 GenuineIntel ~2195 Mhz
BIOS Version:              Dell Inc. 2.6.3, 5/4/2020
Windows Directory:         C:\WINDOWS
System Directory:          C:\WINDOWS\system32
Boot Device:               \Device\HarddiskVolume3
System Locale:             en-us;English (United States)
Input Locale:              en-us;English (United States)
Time Zone:                 (UTC+01:00) Brussels, Copenhagen, Madrid, Paris
Total Physical Memory:     130,720 MB
Available Physical Memory: 113,946 MB
Virtual Memory: Max Size:  150,176 MB
Virtual Memory: Available: 129,305 MB
Virtual Memory: In Use:    20,871 MB
Page File Location(s):     C:\pagefile.sys
Domain:                    ...
Logon Server:              ...
Hotfix(s):                 4 Hotfix(s) Installed.
                           [01]: KB5030651
                           [02]: KB5012170
                           [03]: KB5031354
                           [04]: KB5031592
Network Card(s):           2 NIC(s) Installed.
                           [01]: Intel(R) Ethernet Connection (3) I219-LM
                                 Connection Name: Ethernet 2
                                 Status:          Media disconnected
                           [02]: Intel(R) I210 Gigabit Network Connection
                                 Connection Name: Ethernet
                                 DHCP Enabled:    Yes
                                 DHCP Server:     ...
                                 IP address(es)
                                 [01]: ...
Hyper-V Requirements:      VM Monitor Mode Extensions: Yes
                           Virtualization Enabled In Firmware: Yes
                           Second Level Address Translation: Yes
                           Data Execution Prevention Available: Yes
ddevienne commented 10 months ago

Anyone? Are APE binaries really compatible with Windows (10 or 11) 64-bit? That's not my experience so far, but it could be user error somehow, thus my asking here.