[llvm-dev] Building an LLVM cross-compiler

John Paul Adrian Glaubitz via llvm-dev llvm-dev at lists.llvm.org
Tue Nov 10 06:27:46 PST 2020


Hello!

On 11/10/20 2:49 PM, Cág via llvm-dev wrote:
> Just a quick update.  Here's what worked for me here*:
> 1. Get the sources.
> 2. Build clang, llvm, lld.
> 3. Install libc headers to a sysroot.

Alternatively, use a Debian-based system which allows co-installation of system
libraries for multiple architectures (Multi-Arch).

Never understood why other distributions aren't picking this mechanism up :-(.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



More information about the llvm-dev mailing list