January 26, 2013
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.
January 26, 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
January 26, 2013
I have been able to compile and run D programs for quite some time. I just thought I was using the 2.060 version of the compiler you gave me, until I checked what version I was actually using. My guess is that the 2.061 installer may have installed the new DMD, despite the error message.
1 2 3 4
Next ›   Last »