G
G
Gray Gloomy2015-05-11 21:05:29
assembler
Gray Gloomy, 2015-05-11 21:05:29

Is it possible to compile OS kernel under Windows?

Good day to all.
The question arose: is it possible to compile the simplest (taken from any example, let's say) OS kernel under Windows? And with the help of Visual Studio. Without MinGW.
I’m very interested in the correct and clear answer to the question. I didn’t find any information on this, as I actually didn’t find any information and on what architectures are supported for compilation by the Studio (I have 2013 Ultimate).
Please explain to me stupidly whether it is possible or not. And if possible, then examples or links to any articles with examples of such kernels.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
GavriKos, 2015-05-11
@greygloomy

What OS core? linux? If using exactly the compiler from Microsoft (namely, it comes with VisualStudio), then most likely not - different understandings of the c / c ++ standard, so you will most likely pick up errors. If you push a gcc thread into VS (this is possible), then if you have all the libs and source codes, yes, you can.
PS - VisualStudio doesn't compile anything. This is an advanced notepad. Compiles the compiler.

S
Spetros, 2015-05-11
@Spetros

Yes. You will not believe it, but Microsoft programmers compile the kernel for their OS under Windows.
And it is with the help of Visual Studio.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question