DMD 1.037 and 2.020 releases

Pablo Ripolles in-call at gmx.net
Sat Nov 29 09:56:04 PST 2008


Hello,

did anybody installed DMD 2.021 successfully in GNU/Linux?

I get lots of similar errors such as the following, whenever I try to build a plain "hello world".
/usr/local/lib/phobos/std/c/stdio.d(200): Error: identifier 'va_list' is not defined
/usr/local/lib/phobos/std/c/stdio.d(200): Error: va_list is used as a type
/usr/local/lib/phobos/std/c/stdio.d(200): Error: cannot have parameter of type void

My /etc/dmd.conf has:
DFLAGS=-I/usr/local/lib/druntime/import -I/usr/local/lib/phobos

I installed as root with:
install -p -m 0755 dmd/bin/dmd dmd/bin/obj2asm dmd/bin/dumpobj dmd/bin/rdmd /usr/local/bin/
install -p -m 0644 dmd/lib/libdruntime.a dmd/lib/libphobos2.a /usr/local/lib/
(cd dmd/src/druntime/; find -name '*.d' | xargs tar -c) | (cd /usr/local/lib/druntime/; tar -xv)
(cd dmd/src/druntime/; find -name '*.di' | xargs tar -c) | (cd /usr/local/lib/druntime/; tar -xv)
(cd dmd/src/phobos/; find -name '*.d' | xargs tar -c) | (cd /usr/local/lib/phobos/; tar -xv)

Any idea of what I'm missing?

By the way, I followed the same procedure with DMD 1.037 and it did work.

Thanks a lot!


Walter Bright Wrote:

> 
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.037.zip
> 
> 
> 
> http://www.digitalmars.com/d/2.0/changelog.html
> http://ftp.digitalmars.com/dmd.2.021.zip
> 



More information about the Digitalmars-d-announce mailing list