D Bare Bones: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Columbus (talk | contribs)
m Made a number more readable
Reformat, fix build instructions
Line 1: Line 1:
{{Rating|1}}{{Template:Kernel designs}}
{{Rating|1}}{{Template:Kernel designs}}


''In this Tutorial we will write a kernel in the [[D]] language and boot it.''
In this Tutorial we will write a kernel in the [[D]] language and boot it.


<big><b>WAIT! Have you read [[Getting Started]], [[Beginner Mistakes]], and some of the related [[:Category:OS theory|OS theory]]?</b></big>
<big><b>WAIT! Have you read [[Getting Started]], [[Beginner Mistakes]], and some of the related [[:Category:OS theory|OS theory]]?</b></big>
Line 112: Line 112:
You then compile that with:
You then compile that with:


<source lang="bash">gdc -nostdlib -nodefaultlibs -g -c -o kernel.main.o kernel.main.d</source>
<source lang="bash">gdc -c -o kernel.main.o kernel.main.d -g</source>


==linker.ld==
==linker.ld==