[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

go -buildmode=shared for packages



Hi!

First message here on the list :)

Yesterday I came across go's -buildmode=shared and -linkshared options. As far as I know, there hasn't been any discussion about them here.

In case you don't know what they do (just like myself a few days ago), they can be used to achieve dynamic linking in Go programs. Unlike other languages like C, though, binary compatibility is not guaranteed across compiler releases. -buildmode=shared can be used while building to generate a shared object, while -linkshared tells the toolchain to use such shared objects for linking. More information can be found running `go help buildmode` and at <https://go.dev/s/execmodes>.

Why aren't we using them in Debian? Did we already have this discussion, and I have simply missed it?

Curious to know! Bye :)

Attachment: signature.asc
Description: PGP signature


Reply to: