Re: [go-nuts] Using go to write plugins for a C host application

2016-11-20 Thread ebw
Hi! Thanks for your answer! Am Sonntag, 13. November 2016 21:42:20 UTC+1 schrieb Justin Israel: > > > > I had been down a similar path where I was trying to port a go library to > C++ via building a c-shared library and then delegating to it from a thin > C++ API. > Turned out I hit problems

Re: [go-nuts] Using go to write plugins for a C host application

2016-11-13 Thread Justin Israel
On Mon, Nov 14, 2016, 9:28 AM ebw wrote: > Hi! > > I tried to come up with a way to write plugins in go for a C host > application using -buildmode=c-shared. > > My first try failed, because > > go build -buildmode=c-shared > > > insisted to resolve all symbols. I thought I

[go-nuts] Using go to write plugins for a C host application

2016-11-13 Thread ebw
Hi! I tried to come up with a way to write plugins in go for a C host application using -buildmode=c-shared. My first try failed, because go build -buildmode=c-shared insisted to resolve all symbols. I thought I could leave some symbols unresolved, so they can be later resolved, when the