[llvm-dev] unable to compile llvm with gcc 4.7.4

Antoine Pitrou via llvm-dev llvm-dev at lists.llvm.org
Wed Oct 12 01:28:36 PDT 2016


On Tue, 11 Oct 2016 13:46:35 -0700
Michael Kuperstein via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> To the best of my understanding - because we want to be able to bootstrap
> clang with the system compiler that ships with various linux and BSD
> distributions.
> Windows has no equivalent concept.

To elaborate on this: if you want to produce binaries compatible with
old Linux systems, it is pretty much necessary to build on such an old
Linux system, because otherwise you'll get bitten by glibc ABI issues
(not to mention libstdc++, but at least you can link libstdc++
statically).

Windows has no such problem: you can redistribute a recent MSVCRT DLL
on an old Windows system.

Regards

Antoine.




More information about the llvm-dev mailing list