TL;DR
- Don’t expect a 32-bit cross-assembled (or for that matter: compiled) ELF to run on a 64-bit Linux system!
The long version
- If you want to test 32-bit applications:
- install a 32-bit Guest OS in a Virtual Machine inside a 64-bit Host OS
- Install a 32-bit OS in dual (triple) boot with another 64-bit Linux (or Windows)
Why? That’s dumb!
- Because some OS from Redmond, WA has backwards 32-bit compatibility on their 64-bit OS through an emulation layer (WoW32, “Windows on Windows”) or a 16-bit compatibility layer on top of that (WoW16), it doesn’t mean ALL OSes have this capability!
That’s even dumber! WHY I ASK YOU!
- Linux is based on open source, so you always have the source and can just compile a 64-bit version to be tested on a 64-bit system. There is no need for any Linux on Linux as that is just plain LoL!
- On Windows you generally do not have the source code so you cannot re-compile so there is a need for WoW32 and WoW16…