version?

rikki cattermole via D.gnu d.gnu at puremagic.com
Mon Feb 20 07:39:37 PST 2017


On 21/02/2017 4:36 AM, Ellery Newcomer wrote:
> Quick dumb question:
>
> I just installed gdc on ubuntu from apt. Which version of the dmd front
> end does it use?
>
> gdc --version
>
> gives me
>
> gdc (Ubuntu 4.8.5-2ubuntu1~14.04.1) 4.8.5
> Copyright (C) 2015 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

For the lazy:

pragma(msg, __VERSION__);

void main() {}

That'll tell you.


More information about the D.gnu mailing list