OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Apr 19, 2024 7:16 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Most important ABIs/libs
PostPosted: Sat Aug 15, 2020 4:09 pm 
Offline
Member
Member

Joined: Fri Nov 22, 2019 5:46 am
Posts: 590
OK, I am talking about future of my project here. But I want a decent plan/roadmap for my OS.

What are the most important APIs/ABIs/libraries that my OS should support if I want to port standard applications?
I am aware that everybody has a different taste for this. But what do you think?

I guess these:
- C standard lib
- POSIX system calls
- Python interpreter
- sh or similar
- OpenGL
- PE32+/ELF64
- GDI
- Registry??
- X/Wayland, Gtk/Qt, Gnome/KDE/XFCE
- PowerShell?

But there are more, I am sure. For example which libraries?

Greetings
Peter


Top
 Profile  
 
 Post subject: Re: Most important ABIs/libs
PostPosted: Sat Aug 15, 2020 5:02 pm 
Offline
Member
Member

Joined: Tue Feb 18, 2020 3:29 pm
Posts: 1071
If you are making a Unix OS, you will need the System V ABI, the POSIX API, ELF, understanding of POSIX architecture, and libc for starters. Once you know these, then worry about X, Wayland, OpenGL and that stuff. If you want Windows apps to work, then you should probably port Wine to your OS. I decided against developing an NT or 9x clone, as that would be very difficult. I am making a custom microkernel OS, and a POSIX OS. Windows compatibility would be beyond hard.

_________________
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg


Top
 Profile  
 
 Post subject: Re: Most important ABIs/libs
PostPosted: Sat Aug 15, 2020 7:05 pm 
Offline
Member
Member

Joined: Fri Nov 22, 2019 5:46 am
Posts: 590
nexos wrote:
If you are making a Unix OS, you will need the System V ABI, the POSIX API, ELF, understanding of POSIX architecture, and libc for starters. Once you know these, then worry about X, Wayland, OpenGL and that stuff. If you want Windows apps to work, then you should probably port Wine to your OS. I decided against developing an NT or 9x clone, as that would be very difficult. I am making a custom microkernel OS, and a POSIX OS. Windows compatibility would be beyond hard.

Thanks.

I am considering writing a small core OS which has its own little environment (including graphics and GUI) and two subsystems: Windows and Linux - or a single MinGW style subsystems instead: Which means partial Windows compatibility and Unix style tools and shell.

And yes, Wine seems the way to go for Windows compatibility. Windows compatibility would be only partial, I have no plan to be 100% compatible like ReactOS tries.


Top
 Profile  
 
 Post subject: Re: Most important ABIs/libs
PostPosted: Mon Aug 17, 2020 6:14 am 
Offline
Member
Member

Joined: Fri Nov 22, 2019 5:46 am
Posts: 590
PeterX wrote:
- or a single MinGW style subsystems instead: Which means partial Windows compatibility and Unix style tools and shell.

I think now, that was a stupid idea. I can have Windows compatibiility (partial) or Linux compatibility. But with a mixed Win/Unix subsystem I have no compatibility at all!

Greetings
Peter


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 62 guests


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group