Closed pierrec closed 2 weeks ago
Can you include the error you are seeing? Thanks
/usr/local/Cellar/make/4.4.1/bin/gmake -C kernel
gmake[1]: Entering directory '/Users/pierre/sandbox/src/github.com/TotallyGamerJet/limine-barebones-golang/kernel'
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 GOAMD64=v1 go build -gcflags=github.com/totallygamerjet/limine-barebones-golang/kernel=-std -ldflags=" -linkmode external -extld '/usr/local/Cellar/x86_64-elf-binutils/2.42/bin/x86_64-elf-ld' -extldflags '-nostdlib -static -m elf_x86_64 -z max-page-size=0x1000 -T linker.ld -no-pie' " -o kernel.elf
-linkmode requires external (cgo) linking, but cgo is not enabled
gmake[1]: *** [GNUmakefile:62: kernel.elf] Error 1
It looks like the only way would be able to figure out how to get the internal linker to create the correct binary
This is due to this commit. Not sure there is a workaround for it. Sticking to go1.21 for the time being.