Linking to static gtkd libraries

Ed McCardell edmccard at hotmail.com
Mon Apr 23 16:30:25 PDT 2012


I've built gtkD as a static library using gdc, but whenever I try to 
link libgtkd.a into another program, I get dozens of errors like

/path/to/libgtkd.a(HScrollbar.o)(.data+0x80)undefined reference to `____t.0'

I'm using the latest gdc from github, with the latest gcc snapshot, on 
both 32- and 64-bit linux.

Could this be related to https://bitbucket.org/goshawk/gdc/issue/284/ 
and if so, is there any way around it?

--Ed


More information about the D.gnu mailing list