flat assembler
Message board for the users of flat assembler.
Index
> MenuetOS > dll's in menuetos |
Author |
|
profkid13 15 Dec 2004, 20:50
how can i create dlls for menuetos using Fasm?
is this the same as in windows (with the format "PE GUI 4.0 DLL" header) ? Any tutorials or something? |
|||
15 Dec 2004, 20:50 |
|
pelaillo 15 Dec 2004, 22:01
There is an excellent proposal made by spideros to use OBJ files as MenuetOS dlls.
Code: format coff |
|||
15 Dec 2004, 22:01 |
|
spideros1 16 Dec 2004, 22:41
Yeah, I use COFF format for DLLs in C library. I just call dlopen("some.dll",RTLD_NOW); and have DLL linked into app at runtime
Converting C library to DLL is on my TODO list. I want to make dynamic loader separate app which is called by kernel and it loads app+needed libraries. DLLs will probably contain some tiny meta info: - dll name - dll version - required DLLs |
|||
16 Dec 2004, 22:41 |
|
f0dder 16 Dec 2004, 23:07
Why have the dynamic loader as a separate app rather than in the kernel?
|
|||
16 Dec 2004, 23:07 |
|
spideros1 17 Dec 2004, 09:15
Because it's written in C. For example linux uses ld-linux.so for dynamic loading. Linux kernel itself only loads files and ELF interpreter to memory. If someone wants to port libmcoff (which is part of C library now) to MenuetOS kernel, he's welcome.
|
|||
17 Dec 2004, 09:15 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.