Of course, no one will care about this since I doubt anyone uses D here but anyway,
this will show how to setup the offical D programming language compiler, DMD.
1. Go to: DMD Compiler for Windows - D Programming Language 2.0 - Digital Mars
2. Download the 2 packages;
"Download D Compiler"
and
"dmc.zip (linker and utilities)"
3. Unzip the D compiler into C:\D
4. Unzip dmc.zip into the same location, but not the whole thing you only want to
unzip the dm folder thats in there and let it overwrite anything that it wants to.
It contains extra files for the already created dm folder, so it is important that
you follow this step properly.
So you should have only 2 folders in C:\D - dmd and dm.
5. So that you can simply use the dmd command at a command prompt rather then using the
whole path name, right click My Computer on your desktop, and click Advanced.
6. Go to Enviroment Variables
7. Under Systems Variables, click on Path and the click Edit.
8. At the start of it put: C:\D\dmd\bin;
9. Press ok
10. Press ok again and then again.
You will now be able to compile .d files into executables with dmd.
My next tutorial will show you how to do a simple Hello World in D.
Interested in participating in community events?
Want to harness your programming skill and turn it into absolute prowess?
Come join our programming events!
How long have you been coding in D and what does the code actually look like?
You will see in my coming tutorials my friend![]()
Interested in participating in community events?
Want to harness your programming skill and turn it into absolute prowess?
Come join our programming events!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks