Undefined reference to _d_throw
Jacob Carlborg
doob at me.com
Sat Nov 2 06:53:48 PDT 2013
On 2013-11-02 13:54, Steve Teale wrote:
> Thanks Jacob. My next linking problem is that I have lots of undefined
> externals relating to libpthread. I suspect this may be a CodeBlocks
> configuration error. I've tried every whichway but have not found a way
> round this yet. Most frustrating.
How are you compiling? DMD automatically links with libpthread. You can
pass the -v (verbose) flag to DMD to see what command it uses for
linking. Otherwise you could try and explicitly link with libpthread:
dmd main.d -L-lpthread
--
/Jacob Carlborg
More information about the Digitalmars-d
mailing list