Answer the question
In order to leave comments, you need to log in
How to run Windows program on Raspberry pi 2/3?
Hello,
tell me, can anyone come across.
There is a specific Windows program that controls the CNC machine via USB-to-LPT. It works on Win7+ under x86.
You need to run it on Raspberry pi 2 or 3 (not really important, but 3 is better).
How can this be done?
The Win10 that is available for the Pi is disappointing to say the least. Compared to full-fledged Linux, it does not allow you to do almost anything (well, or I don’t understand anything). I would like to control completely without a conventional PC.
While we are considering the option with QEMU, but somehow it is too crutch.
Answer the question
In order to leave comments, you need to log in
There is no way you can run an x86 program on an ARM machine without an emulator.
If you have the sources, even under Windows, you can build it with the headers from the wine.
Only so-called universal appx applications are launched. This is a new development by Microsoft.
Heh. Do you want to run without an emulator? Okay, let's say you somehow managed to run the code. Here it is loaded into the processor. A byte from a program that is about to be executed, let's say "1E". For the x86 processor, this is the "PUSH DS" instruction, i.e. pushing the contents of the DS processor register onto the stack.
And what will the processor do with this ARMv7 opcode? And for him, this (if I'm not mistaken) will be a conditional jump command when compared with zero.
Do you understand that different families of processors have different instruction sets, registers, and capabilities in general? How are you going to cope with this without one of two things:
1) rewriting the program for a different processor, or
2) emulating instructions from one processor with instructions from another processor?
Look towards Intel Gallileo, they have a Pentium III instruction set
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question