On Sat, Jan 30, 2021 at 4:35 PM eafea eaef <efkafeaci...@gmail.com> 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 the official go compiler to produce elf format > object files. > I hope someone can help me... (
I don't understand the goal. If you want a pure Go program that does not import "C", then who cares what the object file format is? The final output of `go build` of your main package will be an ELF executable. Can you explain why you want an ELF object file? Thanks. Ian -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAOyqgcWmH5zfo4jEX2u70gh1bUssCYER3NRqXQp5Hi1w%2BbZE1w%40mail.gmail.com.