Skip to content
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

Unable to compile 32 bit packages on 64 bit architecture. #134

Closed
heller390 opened this issue May 26, 2020 · 5 comments
Closed

Unable to compile 32 bit packages on 64 bit architecture. #134

heller390 opened this issue May 26, 2020 · 5 comments

Comments

@heller390
Copy link

A simple c program when compiled gcc -m32 is not getting executed. Gives binary format error . Installed multilib-devel packages already. Having this issue on WSL arch only.

https://del.dog/apunofidim.txt

@yuk7
Copy link
Owner

yuk7 commented May 26, 2020

WSL doesn't have 32bit support.
I think it works with WSL2.

@heller390
Copy link
Author

heller390 commented May 26, 2020

WSL doesn't have 32bit support.
I think it works with WSL2.

Is it a limitation or can be added in future update?

@yuk7
Copy link
Owner

yuk7 commented May 26, 2020

That is technically limitation.
It cannot be fixed by anyone other than Microsoft.

https://docs.microsoft.com/en-us/windows/wsl/faq#what-processors-does-wsl-support

@heller390
Copy link
Author

That is technically limitation.
It cannot be fixed by anyone other than Microsoft.

https://docs.microsoft.com/en-us/windows/wsl/faq#what-processors-does-wsl-support

microsoft/WSL#2468 (comment)
Is this still plausible in arch?

@yuk7
Copy link
Owner

yuk7 commented May 26, 2020

You can also use qemu for emulation.
but Arch Linux uses systemd for manage binfmt,there isn't update-binfmts command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants