How to compile OS ?
-
hi i want to make my own OS. i know thats extremly complicated, so i just want it to be a hello world OS and just display the text "Hello world" i know C++ and i have seen tutorials on hello world Os's but one thing stops me. i can write the code for it to do stuff, but i dont know how to compile it. i know compiling it is not as easy as clicking a button, but idk how i dont know anything about grub or bootloaders or bootstrappers so plz help!
-
Answer:
I know a really good tutorial on making a simple but useable kernel. It's in C, but the concepts should be directly applicable to C++. It has some linker scripts and stuff that will make the kernel at least load right off the bat. Here it is: http://www.jamesmolloy.co.uk/tutorial_html/ I'm also trying to develop a kernel, just so happens. It is pretty tricky, kernel code is about ten times harder to write and debug than normal code just because there is no standard library. It also counts a hundred times more when it doesn't work or goes slowly. Still, it's pretty fun! By the way, that tutorial uses GCC on x86 Linux. There is another one that this one is derived from that has instructions for Windows, and there should be a link from the main page.
Matthew L at Yahoo! Answers Visit the source
Related Q & A:
- How To Install Android Os On Mobile?Best solution by Stack Overflow
- How To Install Linux OS?Best solution by Yahoo! Answers
- How can I auto run ccleaner on Mac OS X?Best solution by forum.piriform.com
- How to compile OpenCV on Windows?Best solution by Stack Overflow
- How do I compile my Python program to a .jar with Jython?Best solution by Stack Overflow
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.