On Linux, last beta do not read "/etc/dmd.conf"

----
$ dmd -run hello_world.d 
Error: cannot find source code for runtime library file 'object.d'
       dmd might not be correctly installed. Run 'dmd -man' for installation 
instructions.
Specify path to file 'object.d' with -I switch
----

adding -I switches with the same paths in "/etc/dmd.conf" fix the problem.



BTW, I see that dmd.conf has changed from:

----
[Environment]

DFLAGS=-I%@P%/../../src/phobos -I%@P%/../../src/druntime/import 
-L-L%@P%/../lib32 -L-L%@P%/../lib64 -L--no-warn-search-mismatch 
-L--export-dynamic
----

to

----
[Environment32]
DFLAGS=-I%@P%/../../src/phobos -I%@P%/../../src/druntime/import 
-L-L%@P%/../lib32 -L--export-dynamic

[Environment64]
DFLAGS=-I%@P%/../../src/phobos -I%@P%/../../src/druntime/import 
-L-L%@P%/../lib64 -L--export-dynamic
----

Should I change deb/rpm packages to these two new sections?

-- 
Jordi Sayol
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta

Reply via email to