+ Reply to Thread
Results 1 to 3 of 3

Thread: How to setup DMD

  1. #1
    Join Date
    Oct 2008
    Posts
    4,060
    Blog Entries
    6
    Rep Power
    45

    How to setup DMD

    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!

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest

    Re: How to setup DMD

    How long have you been coding in D and what does the code actually look like?

  4. #3
    Join Date
    Oct 2008
    Posts
    4,060
    Blog Entries
    6
    Rep Power
    45

    Re: How to setup DMD

    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!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. C# IDE formatting setup
    By oggologgo in forum C# Programming
    Replies: 6
    Last Post: 06-11-2010, 07:31 AM
  2. Replies: 0
    Last Post: 05-20-2010, 03:51 PM
  3. Domain Setup
    By freeman in forum Linux Networking
    Replies: 7
    Last Post: 02-19-2010, 11:40 AM
  4. Setup
    By JakeWindu in forum C# Programming
    Replies: 2
    Last Post: 02-02-2010, 08:33 AM
  5. Win-XP Setup
    By arifsandwip in forum Computer Software/OS
    Replies: 7
    Last Post: 04-12-2009, 08:25 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts