[build] Build user programes with libc++ et al

Adding -lc++ -lc++abi -lunwind to user programs. Also, to support this,
start building using the custom toolchain and its new x86_64-jsix-elf
target triplet.
This commit is contained in:
Justin C. Miller
2022-02-12 15:00:50 -08:00
parent d20c77c618
commit 9620f040cb
3 changed files with 13 additions and 5 deletions

View File

@@ -1,8 +1,8 @@
---
variables:
cc: clang
cxx: clang++
ld: ld.lld
cc: "${source_root}/sysroot/bin/clang"
cxx: "${source_root}/sysroot/bin/clang++"
ld: "${source_root}/sysroot/bin/ld.lld"
ar: ar
nasm: nasm
objcopy: objcopy