1. I want to create utilites to use in bare metal.
2. I want to create my own OS.
3. I want to create app that works with Oracle.
Which compiler is best for thoese purposes?
Printable View
1. I want to create utilites to use in bare metal.
2. I want to create my own OS.
3. I want to create app that works with Oracle.
Which compiler is best for thoese purposes?
1 & 2 - it depends upon the processor you are targetting. Note that many compilers produce code that is dependent upon libraries already being present on the system. For a 'bare metal' system, these libraries won't be present. Also, most compilers produce some sort of 'exe' image which is loaded into memory etc by the underlying os. Again, with a bare metal system this underlying os will not be present to perform this function. Also, you will have to directly address the hardware as again there will be no underlying libraries to acept input from the keyboad, display on screen, read/write from disk etc etc.
How many times are you going to ask this question? Have you tried out any of the suggestions you got in your previous thread on the subject?
http://forums.codeguru.com/showthrea...in-creating-OS
In my view it's very naive of someone who can't even select an appropriate C compiler to think he will be able to create his own OS. Having a vision is fine but you have to learn how to walk before you can run. A few questions on a forum won't turn a novice into an expert.
gcc will do what you need.
I suggest you learn about virtualization environments such as qemu. They can greatly simplify the process of experimenting with OS-level functionality without jeopardizing your machine.