Hi Alex, which version of Go are you using, and why don't use the actual Go compiler which is written in Go.
On Sunday, August 31, 2025 at 8:15:39 AM UTC Alex wrote: > Been trying to use go with clang21 on windows but compiling any cgo app > results in "cannot parse *.o as ELF, Mach-O, PE or XCOFF" > > Tried with go1.24.* and 1.25, using clang20 works as expected. -- 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 visit https://groups.google.com/d/msgid/golang-nuts/e9c53cf8-46dc-4d8d-85b5-80bc7e4ed232n%40googlegroups.com.