flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > dll's in menuetos

Author
Thread Post new topic Reply to topic
profkid13



Joined: 21 Aug 2003
Posts: 111
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?
Post 15 Dec 2004, 20:50
View user's profile Send private message Reply with quote
mike.dld



Joined: 03 Oct 2003
Posts: 235
Location: Belarus, Minsk
mike.dld 15 Dec 2004, 21:17
MenuetOS has no any dynamic link libraries now. If you'll invent some good format for them - it would be great. Sorry, it's just like you can't write 'format Menuet 0.1' Smile
Post 15 Dec 2004, 21:17
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 878
Location: Colombia
pelaillo 15 Dec 2004, 22:01
There is an excellent proposal made by spideros to use OBJ files as MenuetOS dlls.

Code:
format coff    
and should be enough Very Happy
Post 15 Dec 2004, 22:01
View user's profile Send private message Yahoo Messenger Reply with quote
spideros1



Joined: 17 Jan 2004
Posts: 77
Location: Poland
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 Very Happy
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
Post 16 Dec 2004, 22:41
View user's profile Send private message Visit poster's website Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3175
Location: Denmark
f0dder 16 Dec 2004, 23:07
Why have the dynamic loader as a separate app rather than in the kernel?
Post 16 Dec 2004, 23:07
View user's profile Send private message Visit poster's website Reply with quote
spideros1



Joined: 17 Jan 2004
Posts: 77
Location: Poland
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.
Post 17 Dec 2004, 09:15
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.