diff options
author | Siva Chandra Reddy <sivachandra@google.com> | 2022-12-17 00:04:23 +0000 |
---|---|---|
committer | Siva Chandra Reddy <sivachandra@google.com> | 2022-12-20 00:33:35 +0000 |
commit | 4f9c10eb48a3725ecfd844d44ccf3068fbadbb85 (patch) | |
tree | 390b3d16b65324839ee10a57a32174c6d8acb33a /llvm/lib/CodeGen/CodeGen.cpp | |
parent | ee3d9ee49c2ea08ea40b95d2e6159a027740c1aa (diff) | |
download | llvm-4f9c10eb48a3725ecfd844d44ccf3068fbadbb85.zip llvm-4f9c10eb48a3725ecfd844d44ccf3068fbadbb85.tar.gz llvm-4f9c10eb48a3725ecfd844d44ccf3068fbadbb85.tar.bz2 |
[libc] Add support for standalone cross compilation of libc.
One should be able to do a cross build of the libc now. For example, using
clang on a x86_64 linux host, one can build for an aarch64 linux target by
specifying -DLIBC_TARGET_TRIPLE=aarch64-linux-gnu.
Follow up changes will add a baremetal config and also appropriate
documentation about cross compiling the libc for CPU targets.
Reviewed By: jhuber6
Differential Revision: https://reviews.llvm.org/D140351
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions