i watched a video of gopher-os and looked through it's github repository
for ways to extract the object files needed and tried his command as
follows, but i'm getting these errors which i can't resolve:
GOARCH=386 GOOS=linux go build -n 2>&1 | sed -e "1s|^|set -e\n|" -e
"1s|^|export GOOS=linux\
I would like to +1 Amnon here,
Although, If you're looking forward to implementing a Kernel in Go, there
is a project called GopherOS (https://github.com/gopher-os/gopher-os/) that
can be of help to you.
In order to generate the .o file, you can refer to the make file here:
https://github.com/gop
Go is not the best language to write a kernel on. But some people have done
it as an intellectual exercise.
Look at https://github.com/ycoroneos/G.E.R.T
Or https://github.com/f-secure-foundry/tamago
Or read
https://speakerdeck.com/achilleasa/bare-metal-gophers-can-you-write-an-os-kernel-in-go
It