Re: Can GDC make DLLs?

2013-02-24 Thread Ben Davis
On 25/02/2013 00:53, Iain Buclaw wrote: I leave monger to Daniel, and don't really affiliate any modifications to gcc-proper any part if gdc. However that's not to say that I don't think his work is invaluable. :) Can't say I know what monger is, but OK :) I think it's horrible that you use

Re: MinGW GDC updates

2013-02-24 Thread Ben Davis
Hi, I'm sure you've seen it anyway, but just in case, I wanted to draw your attention to a 32-bit TLS bug I think I found, which only seems to affect this version. Details are in the "Can GDC make DLLs?" thread: http://forum.dlang.org/thread/kgb15b$2o05$1...@digitalmars.com#post-kgbdu5:24b2p

Re: Can GDC make DLLs?

2013-02-24 Thread Ben Davis
On 24/02/2013 15:13, Ben Davis wrote: I'm hitting more problems getting my DLL to start up, but I'll post about those separately later if necessary. That's weird. Whatever further problem I thought I was hitting, I'm not hitting it any more. I'll put it down to user e

Re: Can GDC make DLLs?

2013-02-24 Thread Ben Davis
On 24/02/2013 09:38, Iain Buclaw wrote: On 23 Feb 2013 22:00, "Ben Davis" mailto:ent...@cantab.net>> wrote: > I've managed to build my DLL with a replacement for dll.d, using GCC-style inline asm for the offending block. Now I've run into another problem. This c

Re: Can GDC make DLLs?

2013-02-23 Thread Ben Davis
On 23/02/2013 18:38, Iain Buclaw wrote: On Feb 23, 2013 6:20 PM, "Ben Davis" mailto:ent...@cantab.net>> wrote: > > Hi, > > Has anyone had any success using GDC to make DLLs to be called from C/C++? > > The reason I ask is, for me, the following snippet in

Can GDC make DLLs?

2013-02-23 Thread Ben Davis
Hi, Has anyone had any success using GDC to make DLLs to be called from C/C++? The reason I ask is, for me, the following snippet inside dll.d / dll_fixTLS() seems to have compiled to a call to abort(): void** peb; asm { mov EAX,FS:[0x30]; mov p