July 19, 2011
> dmd.d...?

That's what I was talking about.
it calls dmd @...rsp and rsp contains dmd again.
So it in fact calls dmd dmd ...

We should really get rid of the response file crap and call dmd directly.
This would also clean up rdmd --dry-run
July 19, 2011
On 19.07.2011 17:04, Trass3r wrote:
>> dmd.d...?
>
> That's what I was talking about.
> it calls dmd @...rsp and rsp contains dmd again.
> So it in fact calls dmd dmd ...
>
> We should really get rid of the response file crap and call dmd directly.
> This would also clean up rdmd --dry-run

I removed "compiler" from "todo = compiler ~ ... " (two places) in rebuild() and added the compiler name to the later run() instead. Solves the problem.
Sorry I haven't made a pull request for rdmd; I have never used git before.

The -L-ldl isn't recognized by optlink.
OPTLINK : Warning 9: Unknown Option : LDL
What's the equivalent?

It tries to pick up zlib1.dll from my Intel WiFi program folder, and I cannot find it in the gtk or dmd folders.
July 19, 2011
On 19.07.2011 17:23, simendsjo wrote:
> I removed "compiler" from "todo = compiler ~ ... " (two places) in
> rebuild() and added the compiler name to the later run() instead. Solves
> the problem.
> Sorry I haven't made a pull request for rdmd; I have never used git before.

Seems I could use github direcly: https://github.com/D-Programming-Language/tools/pull/3
July 19, 2011
> The -L-ldl isn't recognized by optlink.
> OPTLINK : Warning 9: Unknown Option : LDL
> What's the equivalent?

I think you don't need it on Windows.
But according to the demo dsss.conf files you might need -lladvapi32
Might also be -L-Ladvapi32.

> It tries to pick up zlib1.dll from my Intel WiFi program folder, and I cannot find it in the gtk or dmd folders.

Yep, it's installed system-wide on Linux.
July 19, 2011
> Seems I could use github direcly: https://github.com/D-Programming-Language/tools/pull/3

Thanks!
But we should really also try to track down why rdmd crashes on Windows.
July 19, 2011
On 19.07.2011 17:30, Trass3r wrote:
>> The -L-ldl isn't recognized by optlink.
>> OPTLINK : Warning 9: Unknown Option : LDL
>> What's the equivalent?
>
> I think you don't need it on Windows.
> But according to the demo dsss.conf files you might need -lladvapi32
> Might also be -L-Ladvapi32.
>
>> It tries to pick up zlib1.dll from my Intel WiFi program folder, and I
>> cannot find it in the gtk or dmd folders.
>
> Yep, it's installed system-wide on Linux.

Downloaded from zlib.net, and the sample works now.
Thanks!

There is something wrong with either dmd or rdmd though..
If I compile rdmd (with my patch, haven't tried the original) without -g, it crashes when trying to compile anything...
July 19, 2011
> There is something wrong with either dmd or rdmd though..
> If I compile rdmd (with my patch, haven't tried the original) without -g, it crashes when trying to compile anything...

Does this also happen if you compile it with -g and then run cv2pdb on it?
July 19, 2011
On 19.07.2011 17:53, Trass3r wrote:
>> There is something wrong with either dmd or rdmd though..
>> If I compile rdmd (with my patch, haven't tried the original) without
>> -g, it crashes when trying to compile anything...
>
> Does this also happen if you compile it with -g and then run cv2pdb on it?

I cannot compile anything without first compiling rdmd with -g.
Compiling rdmd with -g and running cv2pdb on it works.
July 19, 2011
On 07/19/2011 03:21 PM, simendsjo wrote:
> On 19.07.2011 15:12, Trass3r wrote:
>>> atk => DD-atk
>>> DD-atk_static.rf: No such file or directory

dsss should generate this file.

>>> Command c:\d\dsss-0.78-x86-windows\bin\rebuild.exe returned with code
>>> 1, aborting.
>>> Error: Command failed, aborting.
>>
>> Doesn't dsss have some kind of verbose mode?
>> Did you try with another build tool?
>
> No verbose flag. What other build tool?

dsss uses -v for verbose output.

> rdmd still doesn't understand subfolders on windows, and it doesn't give
> good error messages:
>
> c:\d\ext\gtkd\demos\gtk>rdmd -v HelloWorld.d
> Failed: dmd -v -v -o- "HelloWorld.d" -I"." >HelloWorld.d.deps
>
> The dmd command works, so it's rdmd that fails.


-- 
Mike Wey
July 19, 2011
> I cannot compile anything without first compiling rdmd with -g.
> Compiling rdmd with -g and running cv2pdb on it works.

Really strange.
If we just had a stack trace.