summaryrefslogtreecommitdiffhomepage
path: root/src/libPThread/libPThread.json
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-03-15 13:12:19 +0100
committerGitHub <noreply@github.com>2026-03-15 13:12:19 +0100
commitf2da24874369c5a0e8937e848a86d74f2ac564ba (patch)
treecea6ca62870c3db390902a21543a99b31caa4170 /src/libPThread/libPThread.json
parent984e7503e0c7605f60dac3e8d2de40d3fdf36eae (diff)
parentf58844c6bb8e6c979347050782068bdfe58089d3 (diff)
Merge pull request #139 from ne-foss-org/pthread-system
[FEAT] Pthread system
Diffstat (limited to 'src/libPThread/libPThread.json')
-rw-r--r--src/libPThread/libPThread.json22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/libPThread/libPThread.json b/src/libPThread/libPThread.json
new file mode 100644
index 00000000..a5cfba73
--- /dev/null
+++ b/src/libPThread/libPThread.json
@@ -0,0 +1,22 @@
+{
+ "compiler_path": "x86_64-w64-mingw32-gcc",
+ "compiler_std": "c++20",
+ "headers_path": ["../", "./"],
+ "sources_path": ["src/*.cpp"],
+ "output_name": "libPThread.dll",
+ "compiler_flags": [
+ "-ffreestanding",
+ "-shared",
+ "-std=c++20",
+ "-fno-rtti",
+ "-fno-exceptions",
+ "-Wl,--subsystem=17"
+ ],
+ "cpp_macros": [
+ "__NEOSKRNL__",
+ "kPosixVersionHighest=0x0100",
+ "kPosixVersionLowest=0x0100",
+ "kPosixVersion=0x0100"
+ ],
+ "description": "The NeKernel PThread System. Refer to: https://man7.org/linux/man-pages/man7/pthreads.7.html"
+}