There is an initiative to remove the requirement of having a C compiler for certain CGO packages and this seems like a somewhat common thing to do, even the Go race condition detector ships as a pre-built C blob in the Go source tree. Yet I can't find any documentation on how to actually do this.
How should .syso files be built? Where should the C code live (Go complains if C source files exist in the package directory)? How does the Go linker find the correct symbols? Is there any concrete documentation or a tutorial on how to do this? -- 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. For more options, visit https://groups.google.com/d/optout.