-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to run x86 programs? #764
Comments
@Dj-jom2x Which CPU architecture on your device ? Post output of |
Linux localhost 3.18.22+ #1 SMP PREEMPT Wed Dec 20 22:32:29 CST 2017 aarch64 Android I really wanted to execute 32bit on this thing instead of installing on limbo :( |
@Dj-jom2x You need a QEMU to run x86 programs which is available in my repository currently. If your program is not complex (e.g. statically compiled binary), you can use qemu in user-mode:
I have used them to make
If your program is complex - use a qemu-system* packages, Limbo, or you need different device. |
yes its static btw i install it inside termux how to run it ? |
For x86_64: As shown, just prefix it with qemu executable. |
omg your the best man... 10/10 thanks thanks.. you save me a lot of space. |
Are those qemu binaries still available (or newer versions of them)? I can't access them. |
qemu is available in |
@xeffyr Thank you. I knew that, but I wasn't sure if it contained your fixes. I assumed it was "plain vanilla" version :) |
There no "plain vanilla" version for Termux. It just can't be compiled. |
Thanks. I compiled statically a hello world program in C on x86_64 and then run |
strace shows a loop like this:
|
That why qemu is in "unstable packages". It works differently on different devices. Probably I will need to downgrade qemu to 3.1.0 like was done for X11 packages, as v4.0.0 has really strange behaviour. Or try the newer 4.1.0 rc. |
I have following (on ARM Termux installation):
Didn't observed this previously... |
Qemu is not running my 32 bits code |
@xeffyr I'm getting Memory Allocation Error Any Solution? |
I was wondering if i can run x86 on termux...I have 64 bit system. is there 86_64 version of termux?
The text was updated successfully, but these errors were encountered: