You are not logged in.
Pages: 1
I always use clang. Then I want to remove gcc.
$ sudo pacman -R gcc
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: clang: requires gcc=4.6.2
:: libtool: requires gcc=4.6.2
$
Any ideas?
Offline
The clang from extra repo depends on gcc, you can remove it with
pacman -Rddn
but clang will not work thus it needs gcc linker. I don't know why in the world author of clang package made it completely gcc dependable. It's hell. I'm looking for a way to run clang/llvm without gcc at all. Will post results if I achieve this.
Offline
'clang: requires gcc'
That, is insane!
Offline
The clang from extra repo depends on gcc, you can remove it with
pacman -Rddn
but clang will not work thus it needs gcc linker. I don't know why in the world author of clang package made it completely gcc dependable. It's hell. I'm looking for a way to run clang/llvm without gcc at all. Will post results if I achieve this.
That's weird... clang can (should) use the llvm linker insteand of gcc...
Offline
File a bug report/feature request?
Offline
falcongg wrote:The clang from extra repo depends on gcc, you can remove it with
pacman -Rddn
but clang will not work thus it needs gcc linker. I don't know why in the world author of clang package made it completely gcc dependable. It's hell. I'm looking for a way to run clang/llvm without gcc at all. Will post results if I achieve this.
That's weird... clang can (should) use the llvm linker insteand of gcc...
The words "linker" and "gcc" or "clang" do not go together...
Online
I rebuild clang and llvm using clang/llvm instead of gcc. but the official arch package is compiled using gcc so could this be the cause of the dependency?
Offline
Among other things LLVM/Clang needs GCC's C++ library (libstdc++). However, there's also libc++, alternative C++ library from LLVM team, but it's still under development (to test it, install libcxx-svn and libcxxabi-svn from AUR and compile like "clang++ -stdlib=libc++ -lc++abi test.cpp"). Probably that's why llvm/clang package maintainer decided to use libstdc++ as default C++ library for Clang.
Last edited by phantom (2012-06-23 02:49:28)
Offline
Among other things LLVM/Clang needs GCC's C++ library (libstdc++). However, there's also libc++, alternative C++ library from LLVM team, but it's still under development (to test it, install libcxx-svn and libcxxabi-svn from AUR and compile like "clang++ -stdlib=libc++ -lc++abi test.cpp"). Probably that's why llvm/clang package maintainer decided to use libstdc++ as default C++ library for Clang.
Why libcxx-svn depends on gcc-libs?
Offline
Pages: 1