flat assembler
Message board for the users of flat assembler.
Index
> MenuetOS > Running Linux X11 binaries. |
| Author |
|
|
Mаt Quаsar 11 Jan 2026, 17:31
I have many questions that can only be answered if I experiment it myself.
I am curious to know though, is syscall number the same across Linux and MenuetOS? I haven't investigate MenuetOS binary file format, but how does MenuetOS support ELF64 binary file format? I am not familiar with library linking, perhaps someone more knowledgeable can ask? I think the most important technology already solved in MenuetOS to support Linux GUI apps is X window. Great job. Where do you get all technical details of X11 from for implementation? The above are rather my comments, not questions. To answer or not answer is optional, since I haven't investigate myself. |
|||
|
|
Ville 11 Jan 2026, 20:10
Menuet includes a linker and resolver, which loads the application binary, reads the list of needed libraries and loads the libraries in to memory. It also calculates values for the relocatable addresses and links those to the address space of other libraries, whether data or functions. And before jumping to the main function of the main executable, it runs the init functions of the libraries. So it works like a standard linker. (I wrote it).
The coding part is ok, but the most difficult part was finding information about all of the above. I used all possible sources, webpages, youtube videos, many AI-bots etc. And while the AI bots gave information out confidently, sometimes the data those provided was far from correct. For example the structure of Thread Local Storage propably changed daily and very much depended on the bot |
|||
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.