Re: [go-nuts] How to create an object file in elf format from go

2021-01-30 Thread Ian Lance Taylor
On Sat, Jan 30, 2021 at 4:35 PM eafea eaef wrote: > > I'm trying to build my own Fort Rango. > One of the requirements for this project is to not import "C". > If I use the official go compiler with "go tool compile", it will output an > object file in its own format! > I'm wondering if I can use

[go-nuts] How to create an object file in elf format from go

2021-01-30 Thread eafea eaef
I'm trying to build my own Fort Rango. One of the requirements for this project is to not import "C". If I use the official go compiler with "go tool compile", it will output an object file in its own format! I'm wondering if I can use the official go compiler to produce elf format object files.