On 2013-11-02 13:54, Steve Teale wrote: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:
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.
dmd main.d -L-lpthread