NASM Forum > Using NASM

How do I run a posix exe?

(1/1)

ben321:
I compiled a very simple exe file, and used alink to link it. I set the linker to link it as a posix exe file. I assumed when I double clicked on the exe file, it would then cause windows to start the posix (aka linux) subsystem, and then proceed to use that posix subsystem to execute the exe file. But that didn't happen. Instead, it just gave me the error that it couldn't be run from Windows in 32bit mode (what it typically does for 16bit EXE files). This is a 32bit EXE file though. Only difference is it is a linux EXE file, it should be running from within the posix subsystem.

Please help me here. Thanks in advance.

Navigation

[0] Message Index

Go to full version