Results 1 to 6 of 6

Thread: clang-llvm install gcc.

  1. #1

    Default clang-llvm install gcc.

    Why does package llvm-clang has a dependency on gcc? Can I just install llvm/clang without gcc?

    --
    Thanks.

  2. #2
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,765

    Default Re: clang-llvm install gcc.

    yes you do need gcc you can not install without gcc it won't work. There are reason things are dependent on other things. it is not arbitrary.

  3. #3
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: clang-llvm install gcc.

    Am 31.01.2016 um 19:26 schrieb gogalthorp:
    >
    > yes you do need gcc you can not install without gcc it won't work. There
    > are reason things are dependent on other things. it is not arbitrary.
    >
    >

    It is an artificial dependency introduced by compiling clang with gcc
    instead of doing it with clang itself, clang is a completely from gcc
    independent compiler and has also its own gcc independent linker.

    @susylogin: I would consider a bug report, this is ridiculous to make
    both dependent.

    --
    PC: oS 13.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.14 | GTX 760 Yoga 2
    Pro: oS 42.1 | x86_64 | i7-4500U@1.80GHz | 8GB | KDE 5.16 HTPC: oS 42.1
    x86_64 | Celeron@1.8GHz | 2GB | Gnome 3.16 | HD 2500

  4. #4
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: clang-llvm install gcc.

    Am 31.01.2016 um 19:26 schrieb gogalthorp:
    >
    > yes you do need gcc you can not install without gcc it won't work. There
    > are reason things are dependent on other things. it is not arbitrary.
    >
    >

    It is an artificial dependency introduced by compiling clang with gcc
    instead of doing it with clang itself, clang is a completely from gcc
    independent compiler and has also its own gcc independent linker.

    @susylogin: I would consider a bug report, this is ridiculous to make
    both dependent.

    --
    PC: oS 13.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.14 | GTX 760 Yoga 2
    Pro: oS 42.1 | x86_64 | i7-4500U@1.80GHz | 8GB | KDE 5.16 HTPC: oS 42.1
    x86_64 | Celeron@1.8GHz | 2GB | Gnome 3.16 | HD 2500

  5. #5
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: clang-llvm install gcc.

    Am 31.01.2016 um 19:58 schrieb Martin Helm:
    > It is an artificial dependency introduced by compiling clang with gcc
    > instead of doing it with clang itself, clang is a completely from gcc
    > independent compiler and has also its own gcc independent linker.
    >
    > @susylogin: I would consider a bug report, this is ridiculous to make
    > both dependent.
    >

    I investigated a bit, my original suspicion is not correct. The
    dependency comes from a few small object files which are part of the gcc
    package namely the crt*.o files.
    This dependency on a few kbyte pulls in the whole gcc compiler because
    they are not in a separate package.
    A bit of google reveals that rpm based distributions suffer from that,
    while on debian based systems this files are separated into another package.

    --
    PC: oS 13.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.14 | GTX 760 Yoga 2
    Pro: oS 42.1 | x86_64 | i7-4500U@1.80GHz | 8GB | KDE 5.16 HTPC: oS 42.1
    x86_64 | Celeron@1.8GHz | 2GB | Gnome 3.16 | HD 2500

  6. #6
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: clang-llvm install gcc.

    Am 31.01.2016 um 19:58 schrieb Martin Helm:
    > It is an artificial dependency introduced by compiling clang with gcc
    > instead of doing it with clang itself, clang is a completely from gcc
    > independent compiler and has also its own gcc independent linker.
    >
    > @susylogin: I would consider a bug report, this is ridiculous to make
    > both dependent.
    >

    I investigated a bit, my original suspicion is not correct. The
    dependency comes from a few small object files which are part of the gcc
    package namely the crt*.o files.
    This dependency on a few kbyte pulls in the whole gcc compiler because
    they are not in a separate package.
    A bit of google reveals that rpm based distributions suffer from that,
    while on debian based systems this files are separated into another package.

    --
    PC: oS 13.2 x86_64 | i7-2600@3.40GHz | 16GB | KDE 4.14 | GTX 760 Yoga 2
    Pro: oS 42.1 | x86_64 | i7-4500U@1.80GHz | 8GB | KDE 5.16 HTPC: oS 42.1
    x86_64 | Celeron@1.8GHz | 2GB | Gnome 3.16 | HD 2500

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •