www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ldc - ldc2 --version: "built with D compiler version"

reply Johan Engelen <j j.nl> writes:
Hi all,
  I just added information about which D compiler was used to 
build LDC to `ldc2 --version`. I think it is important 
information, at least for now when there may be some hidden 
differences/bugs between different D compilers.

It looks like this now:
❯ bin/ldc2 --version
LDC - the LLVM D compiler (febfca):
   based on DMD v2.069.2 and LLVM 3.9.0svn-r263048
   built with DMD64 D Compiler v2.070.2
   Default target: x86_64-apple-darwin15.3.0
   Host CPU: haswell
   http://dlang.org - http://wiki.dlang.org/LDC

cheers,
   Johan
Mar 21 2016
next sibling parent Johan Engelen <j j.nl> writes:
On Monday, 21 March 2016 at 13:17:16 UTC, Johan Engelen wrote:
 It looks like this now:
 ❯ bin/ldc2 --version
 LDC - the LLVM D compiler (febfca):
Btw, the colon at the end of our first stdout line is a little annoying in pretty printing/parsing the output of `ldc2 --version`. In the CMake script, I use a regexp to match to the first outputted line, stopping the match on the first \r, \n, or ":". The colon in the regexp is added for LDC's output. I vote for removing the colon from the --version output.
Mar 21 2016
prev sibling parent kink <noone nowhere.com> writes:
Sounds good. I'd prefer if you did such stuff in regular PRs 
though. This way, we all immediately see that there's something 
new, no forum post required, and it usually also gets reviewed. ;)
Mar 21 2016