Mac OS installer

Jacob Carlborg doob at me.com
Sat Jan 26 03:39:48 PST 2013


On 2013-01-26 03:50, Elias Zamaria wrote:
> I have GCC and I have used it to compile C programs. Anyway, I tried
> typing "dmd" at the terminal and it tells me I have version 2.061. I
> have no idea how that got there or if the whole thing got installed.

Hehe, try a Hello World application:

// main.d

import std.stdio;

void main ()
{
     writeln("Hello World");
}

Compile with:

$ dmd main.d

Run with:

$ ./main

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list