With the changes I've made to the latest interface versions I have managed to run the Linux version of fasm in OpenBSD. Here are the steps you have to do (assuming you have downloaded and unpacked the fasm for Linux).
1) Enable linux emulation. This will work only if your kernel supports this, but since the generic OpenBSD kernel includes this option, executing this command should be enough:
Code: |
|
sysctl kern.emul.linux=1
|
|
For more details look
here.
2) Mark the executable as Linux one, in OpenBSD you do it with this command:
Code: |
|
elf2olf -o linux fasm
|
|
And that's all - you should be able to run the fasm executable now.