- Downloaded the latest version for D2 (2.046 at the time of this post) from http://ftp.digitalmars.com/dmd.2.046.zip
- Extracted the directory to ~/Downloads/
- Created directory /opt/dmd2 with permissions 755 and owner root/root
- Created directory /opt/dmd2/bin with permissions 755 and owner root/root
- Copied /home/mike/Downloads/dmd2/linux/bin/dmd.conf to /opt/dmd2/bin
- Copied dmd, dumpobj, obj2asm, and rdmd from /home/mike/Downloads/dmd2/linux/bin/ to /opt/dmd2/bin
- Changed the permissions of dmd, dumpobj, obj2asm, and rdmd in /opt/dmd2/bin to 555
- Made sure dmd, dumpobj, obj2asm, and rdmd in /opt/dmd2/bin had owner root/root
- Created directory /opt/dmd2/lib with permissions 755 and owner root/root
- Copied /home/mike/Downloads/dmd/linux/lib/libphobos2.a to /opt/dmd/lib/
- Copied /home/mike/dmd2/src to /opt/dmd2/src
- Changed the DFLAGS line in /opt/dmd/bin/dmd.conf to:
DFLAGS=-I/opt/dmd2/src/phobos -I/opt/dmd2/src/druntime/import -L-L/opt/dmd2/lib
Update: It looks like DSSS is dead at version 0.78 and no longer compatible with the latest dmd2.
No comments:
Post a Comment