Bug#592011: Add clang to the "cc" update-alternatives group so it can be used as the system C compiler

v.nix.is debian-bug at v.nix.is
Fri Aug 6 21:32:39 UTC 2010


Package: clang
Version: 2.7-2
Severity: wishlist

With clang installed:

    $ sudo update-alternatives --config cc
    There is only one alternative in link group cc: /usr/bin/gcc
    Nothing to configure.

It would be great to be able to configure clang as the system
/usr/bin/cc. Then I could just type "make" everywhere and use clang
without setting up a cc in my own $PATH.


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (700, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-rc5-Avar-Akbar+ (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages clang depends on:
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  libffi5                       3.0.9-2    Foreign Function Interface library
ii  libgcc1                       1:4.4.4-7  GCC support library
ii  libstdc++6                    4.4.4-7    The GNU Standard C++ Library v3

Versions of packages clang recommends:
ii  llvm-2.7-dev                  2.7-3      Low-Level Virtual Machine (LLVM), 

clang suggests no packages.

-- no debconf information





More information about the Pkg-llvm-team mailing list