News:

Download Pelles C here: http://www.pellesc.se

Main Menu

Recent posts

#11
ARM64 discussions / Re: Not frustrated enough? Too...
Last post by John Z - March 31, 2026, 10:46:19 PM
Thanks Vortex!

Nice find - https://www.qemu.org/docs/master/system/target-arm.html

"QEMU can emulate both 32-bit and 64-bit Arm CPUs. Use the qemu-system-aarch64 executable to simulate a 64-bit Arm machine. You can use either qemu-system-arm or qemu-system-aarch64 to simulate a 32-bit Arm machine: in general, command lines that work for qemu-system-arm will behave the same when used with qemu-system-aarch64."

Guess Google AI not so much I  ;D

Not sure how hard to set up, but I'll be reading more.  Won't be windows on ARM but command line capability I'm supposing, unless a ARM Windows ISO can be involved.

John Z
#12
ARM64 discussions / Re: Not frustrated enough? Too...
Last post by Vortex - March 31, 2026, 09:37:36 PM
Qemu for Windows can emulate ARM64, ChatGPT says :

qemu-system-aarch64 \
  -machine virt \
  -cpu cortex-a72 \
  -m 4G \
  -bios QEMU_EFI.fd \
  -drive file=windows_arm.qcow2,if=virtio \
  -device virtio-net-device \
  -netdev user,id=n1

QuoteBut expect trial-and-error with:

Storage drivers
Display (often -device ramfb or virtio-gpu)
#13
Announcements / Re: Release Candidate #2 for v...
Last post by rweidner - March 31, 2026, 08:24:58 PM
I tested PellesC 14 RC2 using:

and a few Windows GDI "projects" I have in my dev folder.  All worked perfectly. 


#14
ARM64 discussions / Re: Not frustrated enough? Too...
Last post by Pelle - March 31, 2026, 05:52:51 PM
Right. Apparently it was the other way around: emulating X86/X64 on ARM. Oh, well...
#15
ARM64 discussions / Re: Not frustrated enough? Too...
Last post by John Z - March 31, 2026, 05:36:11 PM
I'd really like to be able to do that.  However a brief check came up with this -

"AI Overview
No, standard
x64 Windows 11 cannot directly run ARM64 applications or host an ARM64 virtual machine using native hardware virtualization. Hyper-V on x64 hardware does not support running ARM64 operating systems. To run ARM64 apps, you must use a device powered by an Arm-based processor (such as Windows on ARM or Apple Silicon)."

Sadly,

John Z
#16
Announcements / Re: Release Candidate #2 for v...
Last post by Pelle - March 31, 2026, 04:35:06 PM
Quote from: TimoVJL on March 31, 2026, 03:57:36 PMEDIT: A those 7Zip headers are just a total mess.
Hence my personal policy...  ;D
#17
Announcements / Re: Release Candidate #2 for v...
Last post by TimoVJL - March 31, 2026, 03:57:36 PM
Just forget this thing.

https://github.com/lvsti/p7zip/blob/master/C/CpuArch.c
CpuArch.c line 14
#if !defined(USE_ASM) && _MSC_VER >= 1500
#include <intrin.h>
#endif

Perhaps a that file set have problem, have to check those more, why intrin.h is missing from right headers.

EDIT: A those 7Zip headers are just a total mess.
#18
Announcements / Re: Release Candidate #2 for v...
Last post by Pelle - March 31, 2026, 03:01:22 PM
Quote from: TimoVJL on March 31, 2026, 11:02:19 AMSome C-code needs _MSC_VER 1500 just for using intrin.h
A new define won't help.
One test was 7Zip code
Neither <intrin.h> nor files included by <intrin.h> contains any reference to _MSC_VER.
Do you have an example? As a personal policy, I always stay away from 7Zip...
#19
Announcements / Re: Release Candidate #2 for v...
Last post by John Z - March 31, 2026, 11:19:08 AM
Quote from: Pelle on March 31, 2026, 10:06:30 AMSounds like what I stumbled on yesterday, by dumb luck.

Thanks Pelle - sorry you had the same dumb luck as I did, but happy that it was not just something unreasonable( or another word beginning with s ending with d) that I did :)

John Z
#20
Announcements / Re: Release Candidate #2 for v...
Last post by TimoVJL - March 31, 2026, 11:02:19 AM
Some C-code needs _MSC_VER 1500 just for using intrin.h
A new define won't help.
One test was 7Zip code