Re: Can GDC make DLLs?

2013-02-24 Thread Iain Buclaw
On Feb 25, 2013 3:00 AM, "Ben Davis" wrote: > > 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

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: Can GDC make DLLs?

2013-02-24 Thread Iain Buclaw
On Feb 24, 2013 3:50 PM, "Ben Davis" wrote: > > 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

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 error on my part. :) Yay!

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 code crashes: > > static boo

Re: Can GDC make DLLs?

2013-02-24 Thread Iain Buclaw
On 23 Feb 2013 22:00, "Ben Davis" wrote: > > On 23/02/2013 18:38, Iain Buclaw wrote: >> >> >> On Feb 23, 2013 6:20 PM, "Ben Davis" > > wrote: >> > >> > Hi, >> > >> > Has anyone had any success using GDC to make DLLs to be called from >> C/C++? >> > >> > The reason I