January 26, 2013 Re: Mac OS installer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | 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 Re: Mac OS installer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Elias Zamaria | 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 Re: Mac OS installer | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | 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. |
Copyright © 1999-2021 by the D Language Foundation