Visual Studio: Difference between revisions

Jump to navigation Jump to search
no edit summary
[unchecked revision][unchecked revision]
No edit summary
No edit summary
Line 1:
Yes, it is possible to use Microsoft Visual C++ to write OS kernel. One of our guests on [[Topic:7848|the forum]] even provided us a XML configuration file that will suit those needs, as well as 64-bit support code normally provided by the C runtime.
 
However, keep in mind that all Visual C++ is able to output is [[OMF]] and [[PE Binaries|PE]] formats, so you will either have to use [[GRUB]], a custom bootloader, or strip the PE headers or use a separate linker such as [[WLink]] in order to make it work.
 
See also [http://ksrenevasan.blogspot.com/2005/10/writing-multiboot-pe-kernels-using.html Kaushik Srenevasan's blog] to see how you can "[Write] multiboot PE kernels using Visual C++". This is supplemented with [http://ksrenevasan.blogspot.com/2005/10/writing-multiboot-pe-kernels-using_03.html part 2] which explains some of the things not covered in the first part.
Line 175:
to itself and call their entry points.
 
Another option is to use a seperate linker such as [[WLink]] with a linker script such as the one found on the [[Watcom]] page.
 
 
Line 196 ⟶ 197:
 
 
=== See Also ===
[[C++]]
[[Category:IDEs]]
[[Category:Compilers]]
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu