Go Bare Bones: Difference between revisions

m
Fix lint errors
[unchecked revision][unchecked revision]
m (Bot: Replace deprecated source tag with syntaxhighlight)
m (Fix lint errors)
 
(2 intermediate revisions by the same user not shown)
Line 11:
 
== Building a Cross-Compiler ==
:''{{Main article: [[|GCC Cross-Compiler]], [[|Why do I need a Cross Compiler?]]}}
 
The first thing you should do is set up a GCC Cross Compiler that supports Go. To do this read and follow [[GCC Cross-Compiler]] to the letter with one exception. When configuring the build for GCC we need to enable Go to get the i686-elf-gccgo compiler.
Line 114:
 
== Writing the Terminal package in Go ==
:''Please read [[Printing to Screen]] to understand what this code does.''
 
Now we'll create the file terminal.go. It's the package "terminal" our kernel will depend on for printing text to the screen.