flat assembler
Message board for the users of flat assembler.
Index
> Unix > running linux fasm in OpenBSD |
Author |
|
Tomasz Grysztar 19 Jan 2005, 15:01
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. |
|||
19 Jan 2005, 15:01 |
|
maslan 31 Aug 2005, 23:07
That's Great this can also be done in freebsd with brandelf
but fasm can't ouput bsd elf so the executable should also be passed to brandelf. why can't u add a format for bsd for e.g. format elf_freebsd executable Really fasm proves that portablility is not a C thing _________________ Maslan I'm searching for perfection so, even if u need portability u 've to use Assembly --- http://www.maslanlab.org --- http://libosdk.berlios.de http://maslanedit.sf.net http://maslancms.sf.net |
|||
31 Aug 2005, 23:07 |
|
Tomasz Grysztar 01 Sep 2005, 09:03
See the new Unix/libc package in Download section.
|
|||
01 Sep 2005, 09:03 |
|
maslan 01 Sep 2005, 13:44
i know i just found it
but u mean that fasm/libc version will output elf object that can be linked with the libc ? _________________ Maslan I'm searching for perfection so, even if u need portability u 've to use Assembly --- http://www.maslanlab.org --- http://libosdk.berlios.de http://maslanedit.sf.net http://maslancms.sf.net |
|||
01 Sep 2005, 13:44 |
|
RedGhost 10 Nov 2005, 09:20
_________________ redghost.ca |
|||
10 Nov 2005, 09:20 |
|
weiss 10 Jan 2006, 09:59
I have installed OpenBSD 3.6 recently for AMD64..will try this later.
|
|||
10 Jan 2006, 09:59 |
|
Tomasz Grysztar 10 Jan 2006, 16:45
As fasm itself is 32-bit code, so it needs to be linked with 32-bit variant of libc - this may be the problem on 64-bit systems. I don't have one, so I had no chance to try it yet.
|
|||
10 Jan 2006, 16:45 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.