gtkD doesn't compile on windows

simendsjo simendsjo at gmail.com
Tue Jul 19 08:01:48 PDT 2011


On 19.07.2011 16:19, Trass3r wrote:
>> So your command line is simply "rdmd --build-only --chatty
>> -I\d\ext\gtkd\src -L-ldl t.d"?
>
> Yes, and in theory that would be enough.
> (if it didn't put 'dmd' in the .rsp)
>
>> rdmd calls "dmd -I\d\ext\gtkd\src -L-ldl -v -o- "t.d" -I"."
>> >t.d.deps", and then segfaults (win7x64).
>
> Doesn't segfault on Linux x64. You should compile a debug version of
> rdmd and see if you get a stacktrace.
> github.com/D-Programming-Language/tools

I haven't found the bug, but compiling without optimizing doesn't crash it:

c:\temp>rdmd --chatty -I\d\ext\gtkd\src t.d
dmd -I\d\ext\gtkd\src -v -o- "t.d" -I"." >t.d.deps
dmd 
"@C:\Users\simen\AppData\Local\Temp\.rdmd\rdmd.0B610F9A43C84525CA4F687638D0E
F2B.rsp"
Error: cannot read file dmd.d

dmd.d...?



More information about the Digitalmars-d-learn mailing list