From 33a87e5cce4b8d1e64a842df8fbb2acc2f89cde8 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 15 Mar 2026 06:24:35 +0100 Subject: [CHORE] Add PThread library. Signed-off-by: Amlal El Mahrouss --- src/libPThread/libPThread.json | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/libPThread/libPThread.json (limited to 'src/libPThread/libPThread.json') diff --git a/src/libPThread/libPThread.json b/src/libPThread/libPThread.json new file mode 100644 index 00000000..e5f5dbf3 --- /dev/null +++ b/src/libPThread/libPThread.json @@ -0,0 +1,25 @@ +{ + "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__", + "_XOPEN_SOURCE", + "_POSIX_SOURCE", + "kPosixVersionHighest=0x0100", + "kPosixVersionLowest=0x0100", + "kPosixVersion=0x0100" + ], + "description": "The NeKernel PThread System." +} +i -- cgit v1.2.3