Any program fails to compile as below if I import std.stdio. 2.020 worked.
-*- mode: compilation; default-directory: "~/d/" -*-
Compilation started at Fri Nov 28 01:13:37
~/dmd/bin/dmd junk1.d
/home/jlquinn/dmd/bin/../src/phobos/std/stdio.d(27): module memory cannot read file 'core/memory.d'
Compilation exited abnormally with code 1 at Fri Nov 28 01:13:37
Comment #1 by torhu — 2008-11-28T09:55:13Z
Looks like dmd.conf isn't updated to include the import for druntime. Try replacing the default DFLAGS line with this one:
DFLAGS=-I%@P%/../src/phobos -I%@P%/../src/runtime/import -L-L%@P%/../lib
Comment #2 by jlquinn — 2008-12-01T10:04:17Z
(In reply to comment #1)
> Looks like dmd.conf isn't updated to include the import for druntime. Try
> replacing the default DFLAGS line with this one:
>
> DFLAGS=-I%@P%/../src/phobos -I%@P%/../src/runtime/import -L-L%@P%/../lib
>
DFLAGS=-I%@P%/../src/phobos -I%@P%/../src/druntime/import -L-L%@P%/../lib
------------------------------------------^
Thanks for the tip. That fixes it.
Comment #3 by torhu — 2008-12-03T00:34:54Z
I think you want "runtime", not "druntime". druntime is the old version that Walter that got left in there.
Comment #4 by jlquinn — 2008-12-03T06:47:40Z
(In reply to comment #3)
> I think you want "runtime", not "druntime". druntime is the old version that
> Walter that got left in there.
druntime worked. runtime did not.
Comment #5 by torhu — 2008-12-03T13:33:42Z
runtime worked when I tried i on Windows. If it doesn't work, then that's a bug. What errors do you get?
Comment #6 by torhu — 2008-12-03T19:33:55Z
*** Bug 2488 has been marked as a duplicate of this bug. ***
Comment #7 by jlquinn — 2008-12-06T13:05:15Z
(In reply to comment #5)
> runtime worked when I tried i on Windows. If it doesn't work, then that's a
> bug. What errors do you get?
I get the same error as with the unmodified dmd.conf:
-*- mode: compilation; default-directory: "~/d/" -*-
Compilation started at Sat Dec 6 14:04:27
~/dmd/bin/dmd Junk.d
/home/jlquinn/dmd/bin/../src/phobos/std/stdio.d(27): module memory cannot read file 'core/memory.d'
Compilation exited abnormally with code 1 at Sat Dec 6 14:04:27
Comment #8 by braddr — 2009-08-08T12:59:11Z
dmd.conf was fixed to include druntime's path long ago. Marking resolved. Please reopen with a complete description of the current problem if there's anything left to do here.