Began porting the mapping system

This commit is contained in:
2026-09-20 14:37:11 -04:00
parent f69fac8f1e
commit 08a8f231d2
46 changed files with 1336 additions and 115 deletions

3
native/clang.ini Normal file
View File

@@ -0,0 +1,3 @@
[binaries]
c = 'clang'
cpp = 'clang++'

5
native/gcc-libcxx.ini Normal file
View File

@@ -0,0 +1,5 @@
# Linux GCC 16+ with libc++ development headers in the standard system location.
# Layer after gcc.ini. Override this include path for a non-system LLVM install.
[built-in options]
cpp_args = ['-nostdinc++', '-isystem', '/usr/include/c++/v1']
cpp_link_args = ['-nostdlib++', '-lc++', '-lc++abi']

3
native/gcc.ini Normal file
View File

@@ -0,0 +1,3 @@
[binaries]
c = 'gcc'
cpp = 'g++'

3
native/ld.ini Normal file
View File

@@ -0,0 +1,3 @@
[binaries]
c_ld = 'bfd'
cpp_ld = 'bfd'

4
native/libcxx.ini Normal file
View File

@@ -0,0 +1,4 @@
# Layer after clang.ini. GCC does not support Clang's -stdlib option.
[built-in options]
cpp_args = ['-stdlib=libc++']
cpp_link_args = ['-stdlib=libc++']

5
native/libstdcxx.ini Normal file
View File

@@ -0,0 +1,5 @@
# Layer after clang.ini to explicitly select libstdc++.
# GCC already uses libstdc++ by default and does not accept -stdlib.
[built-in options]
cpp_args = ['-stdlib=libstdc++']
cpp_link_args = ['-stdlib=libstdc++']

3
native/lld.ini Normal file
View File

@@ -0,0 +1,3 @@
[binaries]
c_ld = 'lld'
cpp_ld = 'lld'