GDC with D frontend 2.081.2

Eugene Wissner belka at caraus.de
Tue Aug 28 06:36:15 UTC 2018


On Tuesday, 28 August 2018 at 06:18:28 UTC, Daniel Kozak wrote:
> On Mon, Aug 27, 2018 at 7:55 PM Eugene Wissner via 
> Digitalmars-d-announce < digitalmars-d-announce at puremagic.com> 
> wrote:
>
>> On Monday, 27 August 2018 at 17:23:04 UTC, Arun Chandrasekaran 
>> wrote:
>> > 1. It would be good to print the DMD frontend version with 
>> > `gdc --version`. It is helpful in reporting bugs. LDC does 
>> > this.
>> >
>> Unfortunately it doesn't seem to be possible. GCC doesn't 
>> allow to change --version output: 
>> https://bugzilla.gdcproject.org/show_bug.cgi?id=89
>>
>>
> This is not true, right now on archlinux if you type gdc 
> --version it will display d frontend version 
> https://bugzilla.gdcproject.org/show_bug.cgi?id=89#c1

Is it set with --with-pkgversion? The same information will be 
displayed for gcc and g++ then. It is not always desirable if you 
ship the compiler as a whole (with libtool etc).


More information about the Digitalmars-d-announce mailing list