Groups
Groups
Sign in
Groups
Groups
golang-nuts
Conversations
About
Send feedback
Help
Debug symbol when using gccgo
87 views
Skip to first unread message
Yonatan Gizachew
unread,
Oct 13, 2020, 3:52:55 AM
10/13/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
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?
Ian Lance Taylor
unread,
Oct 13, 2020, 3:15:46 PM
10/13/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Yonatan Gizachew, golang-nuts
It should work to use -gccgoflags=-g.
Ian
Reply all
Reply to author
Forward
0 new messages