Re: [go-nuts] About build Go Archive

2019-09-06 Thread Ian Lance Taylor
On Fri, Sep 6, 2019 at 2:05 AM Jack Wang wrote: > > But I can use -buildmod=plugin to generate a "ELF 64-bit LSB shared object, > x86-64, version 1 (SYSV), dynamically linked", and it can be used. I want to > konw if it's the only way to generate a binary package and the > builmode=archive/shar

Re: [go-nuts] About build Go Archive

2019-09-06 Thread Jack Wang
But I can use -buildmod=plugin to generate a "ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked", and it can be used. I want to konw if it's the only way to generate a binary package and the builmode=archive/shared not work anymore. 在 2019年8月28日星期三 UTC+8下午10:36:31,Ian L

Re: [go-nuts] About build Go Archive

2019-08-28 Thread Ian Lance Taylor
On Wed, Aug 28, 2019 at 5:53 AM wrote: > > As we know, Go 1.13 will drop support for binary-only packages. it seems we > have to use buildmode=plugin/archive if we want to build go archive to > provide to others. > > when I try go buildmode=archive or buildmode=shared(go 1.12, go module > proje

[go-nuts] About build Go Archive

2019-08-28 Thread w1252675615
As we know, Go 1.13 will drop support for binary-only packages. it seems we have to use buildmode=plugin/archive if we want to build go archive to provide to others. when I try go buildmode=archive or buildmode=shared(go 1.12, go module project), it throw error like cannot use packages ... from