Trying to generate gdc for mingw-w64(x86 and x64) using msys2

Johannes Pfau via D.gnu d.gnu at puremagic.com
Tue Nov 10 00:07:13 PST 2015


Am Tue, 10 Nov 2015 08:03:02 +0000
schrieb Vincent R <lol at dlang.org>:

> On Monday, 9 November 2015 at 16:47:20 UTC, Johannes Pfau wrote:
> > Am Mon, 09 Nov 2015 00:22:52 +0000
> > schrieb Vincent R <lol at dlang.org>:
> >  
> >> I tried a last time before and I managed to make it work not 
> >> completely but at least I can see a hello world application on 
> >> the console:
> >> 
> >> 
> >> $ gdc -o main.exe main.d
> >> $ ./main.exe
> >> Hello D-World!
> >> 
> >> It's late now but I have some questions and feedback about it.
> >>   
> >
> > Feel free to ask any open questions but please not that GDC on 
> > windows is unmaintained, unsupported and any many ways broken. 
> > If you want to work on D projects on Windows you're better off 
> > with DMD and LDC for now.  
> 
> When you say "in many ways" what are exactly the problems I might 
> encounter ?

Nobody ever ran unit tests or the test suite for GDC windows so it's
hard to say. But all more advanced code could cause linker errors,
Fibers are likely broken, Threads could be broken, std.stdio/std.file
might have problems. Basically everything which has got a OS-specific
implementation. Portable stuff like std.uuid/std.digest OTOH should
work fine.


More information about the D.gnu mailing list