ldc-developers / ldc

The LLVM-based D Compiler.
http://wiki.dlang.org/LDC
Other
1.19k stars 258 forks source link

I want the LDC command to change from ldc2 to ldc #1670

Closed zoujiaqing closed 8 years ago

zoujiaqing commented 8 years ago

I want the LDC command to change from ldc2 to ldc. Remove the later version number. Now LDC 1 has just released. LDC version does not consider the version of the D.

example:

root@debian:/home/zoujiaqing# ldc --version
LDC - the LLVM D compiler (1.0.0):
  based on DMD v2.071.1 and LLVM 3.8.1
  built with LDC - the LLVM D compiler (1.0.0)
  Default target: x86_64-pc-linux-gnu
  Host CPU: haswell
  http://dlang.org - http://wiki.dlang.org/LDC

  Registered Targets:
    aarch64    - AArch64 (little endian)
    aarch64_be - AArch64 (big endian)
    amdgcn     - AMD GCN GPUs
    arm        - ARM
    arm64      - ARM64 (little endian)
    armeb      - ARM (big endian)
    bpf        - BPF (host endian)
    bpfeb      - BPF (big endian)
    bpfel      - BPF (little endian)
    cpp        - C++ backend
    hexagon    - Hexagon
    mips       - Mips
    mips64     - Mips64 [experimental]
    mips64el   - Mips64el [experimental]
    mipsel     - Mipsel
    msp430     - MSP430 [experimental]
    nvptx      - NVIDIA PTX 32-bit
    nvptx64    - NVIDIA PTX 64-bit
    ppc32      - PowerPC 32
    ppc64      - PowerPC 64
    ppc64le    - PowerPC 64 LE
    r600       - AMD GPUs HD2XXX-HD6XXX
    sparc      - Sparc
    sparcel    - Sparc LE
    sparcv9    - Sparc V9
    systemz    - SystemZ
    thumb      - Thumb
    thumbeb    - Thumb (big endian)
    x86        - 32-bit X86: Pentium-Pro and above
    x86-64     - 64-bit X86: EM64T and AMD64
    xcore      - XCore
kinke commented 8 years ago

While I think that people are more and more abusing the issue system for general forum-like questions and requests, I'd actually prefer ldc too. Is LDC for D1 still in use today? Was it usable in the first place?

JohanEngelen commented 8 years ago

This is going to break people's systems so if we change it to ldc (I'm in favor too), we need to keep (a symlink?) ldc2 around for a while I think.

dnadlinger commented 8 years ago

Yeah, the issue tracker is not the place for general discussions like this. Let's figure out what we want to do on the forums or elsewhere, and then create issues for the actual action items.