3 ms·
This... is some weirdness in Arch's clang package. It depends on gcc, for some reason, and that depends on binutils? (and I have no idea if anything here uses
by faho 5y ago
This... is some weirdness in Arch's clang package.
It depends on gcc, for some reason, and that depends on binutils?
(and I have no idea if anything here uses libbfd, since it's just a part of the binutils package and not split out)
- thayne 5y agoMaybe it depends on gcc so it can use gcc's assebler for inline assembly?
- marcthe12 5y agono its for linking. basically clang unless configured in the source it does not know what link options to give. Actually even rust uses gcc or clang to do same thing.
- account42 5y agoClang will also use libgcc by default under Linux to allow e.g. stack unwinding to work in mixed Clang + GCC applications.
- dharmab 5y agoClang uses part of the host compiler toolchain; gcc is the default compiler on Arch included in the base package. https://stackoverflow.com/a/38291698/4179075 https://stackoverflow.com/a/38291698/4179075