flat assembler
Message board for the users of flat assembler.

Index > MenuetOS > Running Linux X11 binaries.

Author
Thread Post new topic Reply to topic
Ville



Joined: 17 Jun 2003
Posts: 329
Ville 09 Jan 2026, 18:13
These are Linux Mint applications and libraries, which are copied to MenuetOS and run just fine. No re-compiling. Ive tested around 100 libraries that atleast link and init fine. (and thank you for the compliment, macomics)


Description:
Filesize: 89.66 KB
Viewed: 235 Time(s)

lm2.jpg


Post 09 Jan 2026, 18:13
View user's profile Send private message Reply with quote
Mаt Quаsar



Joined: 09 Jan 2026
Posts: 12
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.
Post 11 Jan 2026, 17:31
View user's profile Send private message Reply with quote
Ville



Joined: 17 Jun 2003
Posts: 329
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 Smile The info those provide might be better today.
Post 11 Jan 2026, 20:10
View user's profile Send private message 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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.