I'm trying to use extldflags with golang:
-ldflags '-extld gcc -extldflags="-headerpad 0x500" -w -s' But go link does not recognize it, it prints the help dialog # command-line-arguments usage: link [options] main.o -B note add an ELF NT_GNU_BUILD_ID note when using ELF ... -extld linker use linker when linking in external mode -extldflags flags pass flags to external linker Any ideas? -- 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/32e64cde-72a9-4079-b218-58e13ca72802%40googlegroups.com.