C++: Difference between revisions

22 bytes removed ,  14 years ago
m
Killing "PlusPlus" for "C++ Bare Bones" too
[unchecked revision][unchecked revision]
No edit summary
m (Killing "PlusPlus" for "C++ Bare Bones" too)
Line 11:
It's for the very same reason of C. The startup code needed for C is OS-specific, and some times compiler specific. In a freestanding environment, you'll need to implement your own startup code to configure the stack and other language specific features. Then, your boot loader has to know where this startup code begins and jump to that address if it hopes to successfully run your kernel.
 
There is a bit more work to do than in C before calling main. For more information see [[C PlusPlus bare bones|C++ Bare Bones]].
 
===Pure virtual functions===
57

edits