OSDev.org

The Place to Start for Operating System Developers
It is currently Mon Mar 18, 2024 10:02 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: I want to build an OS on windows
PostPosted: Fri Mar 26, 2021 1:27 am 
Offline
Member
Member

Joined: Mon Feb 02, 2015 7:11 pm
Posts: 898
SiliconOS wrote:
Oh, I want to build for x86_64bit pascal

SiliconOS wrote:
I'm trying use C++ to write the OS

Very confusing. You want to use Pascal, C++ or both?

_________________
https://github.com/kiznit/rainbow-os


Top
 Profile  
 
 Post subject: Re: I want to build an OS on windows
PostPosted: Fri Mar 26, 2021 7:55 pm 
Offline

Joined: Sun Feb 14, 2021 12:41 am
Posts: 17
kzinti wrote:
SiliconOS wrote:
Oh, I want to build for x86_64bit pascal

SiliconOS wrote:
I'm trying use C++ to write the OS

Very confusing. You want to use Pascal, C++ or both?


C++, although Pascal is easy to write, but I think Pascal couldn't call any Pascal's function


Top
 Profile  
 
 Post subject: Re: I want to build an OS on windows
PostPosted: Fri Mar 26, 2021 8:07 pm 
Offline

Joined: Sun Feb 14, 2021 12:41 am
Posts: 17
And a reason......
I don't have any servers.
So, it might be more and more harder build x86_64 elf on Windows


Top
 Profile  
 
 Post subject: Re: I want to build an OS on windows
PostPosted: Fri Mar 26, 2021 8:49 pm 
Offline

Joined: Sun Feb 14, 2021 12:41 am
Posts: 17
My hopes are a CLI, have a shell(hpsh-hyperon shell)


Top
 Profile  
 
 Post subject: Re: I want to build an OS on windows
PostPosted: Sat Mar 27, 2021 7:57 am 
Offline
Member
Member
User avatar

Joined: Thu Oct 13, 2016 4:55 pm
Posts: 1584
SiliconOS wrote:
I'm trying use C++ to write the OS
In that case you can find the C++ example kernel here, mykernel/cpp
SiliconOS wrote:
I don't have any servers.
What kind of servers are you talking about? There are no servers involved in this.
SiliconOS wrote:
So, it might be more and more harder build x86_64 elf on Windows
FreePascal can generate both ELF and PE on both Linux and Windows systems. For C++ you could use LLVM CLang, that can generate both ELF and PE on both Linux and Windows. Otherwise for GNU gcc you'll need a cross-compiler. Try MSYS2, it can install many different compilers for you, gcc cross-compilers included. Or use WSL.
SiliconOS wrote:
My hopes are a CLI, have a shell(hpsh-hyperon shell)
Not so long ago it was a GUI. You can do both, GUI and a CLI, and it doesn't matter in which order you implement those. For a CLI, you probably want to implement a VT100 emulator first, then a shell. For GUI, see GUI first, and then when you have a windowing system, you can emulate VT100 in a window, and run the same shell in that.

Maybe you should start with the basics (that page explains the difference between GUI, CLI and shell), and it would worth reading the beginner mistakes too.

kzinti wrote:
Very confusing.
Agreed. Looks like the OP doesn't know what they want.

Cheers,
bzt


Top
 Profile  
 
 Post subject: Re: I want to build an OS on windows
PostPosted: Tue May 11, 2021 2:38 pm 
Offline
Member
Member

Joined: Tue Mar 25, 2008 12:26 pm
Posts: 52
I have successfully used freebasic + fasm to build my os under windows


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 21 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 5 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