On Tue, Oct 13, 2020 at 12:52 AM Yonatan Gizachew <emeg...@gmail.com> wrote: > > I am building a C-shared library from go code like below: > > go build -o awesome.so -buildmode=c-shared myprog.go > > How can I build the C_shared library in debug mode?
It should work to use -gccgoflags=-g. Ian -- 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/CAOyqgcWDPTjGXwFUGip72zrAUY4TtdWX_d412yRUksiEDVuq0w%40mail.gmail.com.