summaryrefslogtreecommitdiffhomepage
path: root/src/CommandLine/ld64-osx.json
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-16 22:54:33 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-16 22:54:33 +0100
commit112b49ab7d2af6edea6bad97f2eea98e96ed5428 (patch)
tree80e7590c4851efafa6813f6f6adf483b1d5180de /src/CommandLine/ld64-osx.json
parentd4d91d5ffe7b02478a5ed14adcdad931dec95fd1 (diff)
feat: implement Mach-O linker and massive improvements on Assembler and Linkers.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/CommandLine/ld64-osx.json')
-rw-r--r--src/CommandLine/ld64-osx.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/CommandLine/ld64-osx.json b/src/CommandLine/ld64-osx.json
new file mode 100644
index 0000000..1a78748
--- /dev/null
+++ b/src/CommandLine/ld64-osx.json
@@ -0,0 +1,13 @@
+{
+ "compiler_path": "clang++",
+ "compiler_std": "c++20",
+ "headers_path": ["../../include/CompilerKit", "../../include/", "../../include/CompilerKit/src/Detail"],
+ "sources_path": ["ld64.cc"],
+ "output_name": "ld64",
+ "compiler_flags": ["-L/usr/local/lib", "-lCompilerKit"],
+ "cpp_macros": [
+ "__LD64__=202601",
+ "kDistReleaseBranch=$(git rev-parse --abbrev-ref HEAD)-$(uuidgen)"
+ ]
+}
+