C++ Bare Bones: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
No edit summary
Creature (talk | contribs)
Added a note relating potentially-required underscores before linker variables.
Line 5:
 
==linker.ld==
Using C++ adds two more sections of interest to your kernel binaries: The constructors and destructors of static objects. You have to modify the linker script to include them. Note that it might be required to add (an) underscore(s) before the variables when used in C/C++ because of linkage.
 
<pre>