From 5dfffaa811c2056b67ffc50f4f313475391460ba Mon Sep 17 00:00:00 2001 From: antifallobst Date: Mon, 29 May 2023 17:40:48 +0200 Subject: [PATCH] refactor (libnx): refactored the whole codebase --- CMakeLists.txt | 25 - inc/nox/memory.h | 12 - inc/nox/status.h | 13 - inc/nox/stdio.h | 24 - inc/syscall.h | 45 - .gitignore => libnx/.gitignore | 2 +- libnx/CMakeLists.txt | 25 + LICENSE => libnx/LICENSE | 0 README.md => libnx/README.md | 0 build.sh => libnx/build.sh | 0 libnx/build/cmake/CMakeCache.txt | 407 ++++++++ .../3.25.3/CMakeASM_NASMCompiler.cmake | 20 + .../CMakeFiles/3.25.3/CMakeCCompiler.cmake | 72 ++ .../CMakeFiles/3.25.3/CMakeCXXCompiler.cmake | 83 ++ .../3.25.3/CMakeDetermineCompilerABI_C.bin | Bin 0 -> 15424 bytes .../3.25.3/CMakeDetermineCompilerABI_CXX.bin | Bin 0 -> 15440 bytes .../cmake/CMakeFiles/3.25.3/CMakeSystem.cmake | 15 + .../3.25.3/CompilerIdC/CMakeCCompilerId.c | 868 ++++++++++++++++++ .../cmake/CMakeFiles/3.25.3/CompilerIdC/a.out | Bin 0 -> 15536 bytes .../CompilerIdCXX/CMakeCXXCompilerId.cpp | 857 +++++++++++++++++ .../CMakeFiles/3.25.3/CompilerIdCXX/a.out | Bin 0 -> 15552 bytes .../CMakeDirectoryInformation.cmake | 16 + libnx/build/cmake/CMakeFiles/CMakeError.log | 188 ++++ libnx/build/cmake/CMakeFiles/CMakeOutput.log | 409 +++++++++ libnx/build/cmake/CMakeFiles/Makefile.cmake | 51 + libnx/build/cmake/CMakeFiles/Makefile2 | 140 +++ .../cmake/CMakeFiles/TargetDirectories.txt | 4 + .../build/cmake/CMakeFiles/cmake.check_cache | 1 + .../CMakeFiles/libnx.dir/DependInfo.cmake | 23 + .../cmake/CMakeFiles/libnx.dir/build.make | 177 ++++ .../CMakeFiles/libnx.dir/cmake_clean.cmake | 19 + .../libnx.dir/cmake_clean_target.cmake | 3 + .../libnx.dir/compiler_depend.internal | 31 + .../CMakeFiles/libnx.dir/compiler_depend.make | 50 + .../CMakeFiles/libnx.dir/compiler_depend.ts | 2 + .../cmake/CMakeFiles/libnx.dir/depend.make | 2 + .../cmake/CMakeFiles/libnx.dir/flags.make | 17 + .../build/cmake/CMakeFiles/libnx.dir/link.txt | 2 + .../cmake/CMakeFiles/libnx.dir/progress.make | 7 + .../cmake/CMakeFiles/libnx.dir/src/libc.c.o | Bin 0 -> 1368 bytes .../cmake/CMakeFiles/libnx.dir/src/libc.c.o.d | 2 + .../cmake/CMakeFiles/libnx.dir/src/math.c.o | Bin 0 -> 3496 bytes .../cmake/CMakeFiles/libnx.dir/src/math.c.o.d | 4 + .../cmake/CMakeFiles/libnx.dir/src/memory.c.o | Bin 0 -> 5488 bytes .../CMakeFiles/libnx.dir/src/memory.c.o.d | 4 + .../cmake/CMakeFiles/libnx.dir/src/stdio.c.o | Bin 0 -> 6512 bytes .../CMakeFiles/libnx.dir/src/stdio.c.o.d | 9 + .../cmake/CMakeFiles/libnx.dir/src/string.c.o | Bin 0 -> 3512 bytes .../CMakeFiles/libnx.dir/src/string.c.o.d | 4 + .../CMakeFiles/libnx_asm.dir/DependInfo.cmake | 19 + .../cmake/CMakeFiles/libnx_asm.dir/build.make | 93 ++ .../libnx_asm.dir/cmake_clean.cmake | 9 + .../libnx_asm.dir/compiler_depend.internal | 6 + .../libnx_asm.dir/compiler_depend.make | 7 + .../libnx_asm.dir/compiler_depend.ts | 2 + .../CMakeFiles/libnx_asm.dir/depend.make | 2 + .../cmake/CMakeFiles/libnx_asm.dir/flags.make | 10 + .../CMakeFiles/libnx_asm.dir/progress.make | 2 + .../libnx_asm.dir/src/asm/syscall.asm.o | Bin 0 -> 656 bytes .../libnx_asm.dir/src/asm/syscall.asm.o.d | 3 + libnx/build/cmake/CMakeFiles/progress.marks | 1 + libnx/build/cmake/Makefile | 312 +++++++ libnx/build/cmake/cmake_install.cmake | 54 ++ libnx/build/cmake/libnx.so | Bin 0 -> 21606 bytes {inc => libnx/inc/public}/nox/math.h | 0 libnx/inc/public/nox/memory.h | 14 + libnx/inc/public/nox/stdio.h | 6 + {inc => libnx/inc/public}/nox/stdtypes.h | 6 +- {inc => libnx/inc/public}/nox/string.h | 8 +- libnx/inc/public/nox/syscall.h | 30 + {src => libnx/src}/asm/syscall.asm | 0 {src => libnx/src}/math.c | 8 +- libnx/src/memory.c | 72 ++ src/libc.c => libnx/src/stdio.c | 2 + {src => libnx/src}/string.c | 4 +- libnx/src/syscall.c | 28 + src/memory.c | 64 -- src/stdio.c | 32 - 78 files changed, 4198 insertions(+), 229 deletions(-) delete mode 100644 CMakeLists.txt delete mode 100644 inc/nox/memory.h delete mode 100644 inc/nox/status.h delete mode 100644 inc/nox/stdio.h delete mode 100644 inc/syscall.h rename .gitignore => libnx/.gitignore (62%) create mode 100644 libnx/CMakeLists.txt rename LICENSE => libnx/LICENSE (100%) rename README.md => libnx/README.md (100%) rename build.sh => libnx/build.sh (100%) create mode 100644 libnx/build/cmake/CMakeCache.txt create mode 100644 libnx/build/cmake/CMakeFiles/3.25.3/CMakeASM_NASMCompiler.cmake create mode 100644 libnx/build/cmake/CMakeFiles/3.25.3/CMakeCCompiler.cmake create mode 100644 libnx/build/cmake/CMakeFiles/3.25.3/CMakeCXXCompiler.cmake create mode 100755 libnx/build/cmake/CMakeFiles/3.25.3/CMakeDetermineCompilerABI_C.bin create mode 100755 libnx/build/cmake/CMakeFiles/3.25.3/CMakeDetermineCompilerABI_CXX.bin create mode 100644 libnx/build/cmake/CMakeFiles/3.25.3/CMakeSystem.cmake create mode 100644 libnx/build/cmake/CMakeFiles/3.25.3/CompilerIdC/CMakeCCompilerId.c create mode 100755 libnx/build/cmake/CMakeFiles/3.25.3/CompilerIdC/a.out create mode 100644 libnx/build/cmake/CMakeFiles/3.25.3/CompilerIdCXX/CMakeCXXCompilerId.cpp create mode 100755 libnx/build/cmake/CMakeFiles/3.25.3/CompilerIdCXX/a.out create mode 100644 libnx/build/cmake/CMakeFiles/CMakeDirectoryInformation.cmake create mode 100644 libnx/build/cmake/CMakeFiles/CMakeError.log create mode 100644 libnx/build/cmake/CMakeFiles/CMakeOutput.log create mode 100644 libnx/build/cmake/CMakeFiles/Makefile.cmake create mode 100644 libnx/build/cmake/CMakeFiles/Makefile2 create mode 100644 libnx/build/cmake/CMakeFiles/TargetDirectories.txt create mode 100644 libnx/build/cmake/CMakeFiles/cmake.check_cache create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/DependInfo.cmake create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/build.make create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/cmake_clean.cmake create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/cmake_clean_target.cmake create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/compiler_depend.internal create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/compiler_depend.make create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/compiler_depend.ts create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/depend.make create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/flags.make create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/link.txt create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/progress.make create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/src/libc.c.o create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/src/libc.c.o.d create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/src/math.c.o create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/src/math.c.o.d create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/src/memory.c.o create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/src/memory.c.o.d create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/src/stdio.c.o create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/src/stdio.c.o.d create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/src/string.c.o create mode 100644 libnx/build/cmake/CMakeFiles/libnx.dir/src/string.c.o.d create mode 100644 libnx/build/cmake/CMakeFiles/libnx_asm.dir/DependInfo.cmake create mode 100644 libnx/build/cmake/CMakeFiles/libnx_asm.dir/build.make create mode 100644 libnx/build/cmake/CMakeFiles/libnx_asm.dir/cmake_clean.cmake create mode 100644 libnx/build/cmake/CMakeFiles/libnx_asm.dir/compiler_depend.internal create mode 100644 libnx/build/cmake/CMakeFiles/libnx_asm.dir/compiler_depend.make create mode 100644 libnx/build/cmake/CMakeFiles/libnx_asm.dir/compiler_depend.ts create mode 100644 libnx/build/cmake/CMakeFiles/libnx_asm.dir/depend.make create mode 100644 libnx/build/cmake/CMakeFiles/libnx_asm.dir/flags.make create mode 100644 libnx/build/cmake/CMakeFiles/libnx_asm.dir/progress.make create mode 100644 libnx/build/cmake/CMakeFiles/libnx_asm.dir/src/asm/syscall.asm.o create mode 100644 libnx/build/cmake/CMakeFiles/libnx_asm.dir/src/asm/syscall.asm.o.d create mode 100644 libnx/build/cmake/CMakeFiles/progress.marks create mode 100644 libnx/build/cmake/Makefile create mode 100644 libnx/build/cmake/cmake_install.cmake create mode 100644 libnx/build/cmake/libnx.so rename {inc => libnx/inc/public}/nox/math.h (100%) create mode 100644 libnx/inc/public/nox/memory.h create mode 100644 libnx/inc/public/nox/stdio.h rename {inc => libnx/inc/public}/nox/stdtypes.h (83%) rename {inc => libnx/inc/public}/nox/string.h (57%) create mode 100644 libnx/inc/public/nox/syscall.h rename {src => libnx/src}/asm/syscall.asm (100%) rename {src => libnx/src}/math.c (54%) create mode 100644 libnx/src/memory.c rename src/libc.c => libnx/src/stdio.c (71%) rename {src => libnx/src}/string.c (71%) create mode 100644 libnx/src/syscall.c delete mode 100644 src/memory.c delete mode 100644 src/stdio.c diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index 3957ce3..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,25 +0,0 @@ -cmake_minimum_required(VERSION 3.00) -project(libnx) -set(C 99) - -set(CMAKE_NASM_COMPILE_OBJECT "nasm -o ") - - -add_library(libnx) -add_library(libnx_asm OBJECT) -target_include_directories(libnx PRIVATE inc) -file(GLOB_RECURSE libnx_src_c "src/**.c") -file(GLOB_RECURSE libnx_inc "inc/**.h") -file(GLOB_RECURSE libnx_src_asm "src/**.asm") - - -target_compile_options(libnx PRIVATE -g -fno-stack-protector -fno-stack-check -ffreestanding -m64 -march=x86-64 -mabi=sysv) -target_link_options(libnx PRIVATE -Bsymbolic -nostdlib -shared -fno-stack-protector) - -enable_language(ASM_NASM) -set(CAN_USE_ASSEMBLER TRUE) -set_target_properties(libnx PROPERTIES PREFIX "") -set_target_properties(libnx PROPERTIES SUFFIX ".so") - -target_sources(libnx_asm PRIVATE ${libnx_src_asm}) -target_sources(libnx PRIVATE ${libnx_src_c} ${libnx_inc} $) \ No newline at end of file diff --git a/inc/nox/memory.h b/inc/nox/memory.h deleted file mode 100644 index dbf6360..0000000 --- a/inc/nox/memory.h +++ /dev/null @@ -1,12 +0,0 @@ -// This file is part of noxos and licensed under the MIT open source license - -#ifndef LIBNX_MEMORY_H -#define LIBNX_MEMORY_H - -#include "nox/stdtypes.h" - -void memcpy (void* source, void* destination, uint32_t num); -void memset (void* destination, uint8_t data, uint32_t num); -bool memcmp (void* a, void* b, uint32_t num); - -#endif //LIBNX_MEMORY_H diff --git a/inc/nox/status.h b/inc/nox/status.h deleted file mode 100644 index 4ddec42..0000000 --- a/inc/nox/status.h +++ /dev/null @@ -1,13 +0,0 @@ -// This file is part of noxos and licensed under the MIT open source license - -#ifndef NOX_LIBC_STATUS_H -#define NOX_LIBC_STATUS_H - -typedef enum { - STATUS_SUCCESS, - - STATUS_PERMISSION_DENIED, - STATUS_RESOURCE_NOT_AVAILABLE -} status_E; - -#endif //NOX_LIBC_STATUS_H diff --git a/inc/nox/stdio.h b/inc/nox/stdio.h deleted file mode 100644 index 11993ef..0000000 --- a/inc/nox/stdio.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef NOX_LIBC_SYSCALL_H -#define NOX_LIBC_SYSCALL_H - -#include "stdtypes.h" -#include "string.h" - -typedef uint32_t file_t; - -enum { - FD_INVALID, - STDOUT, - STDIN, - STDERR -}; - -file_t fopen (string_t path); -void fclose (file_t file); -uint64_t fread (file_t file, uint32_t offset, void* buffer, uint32_t num); -uint64_t fwrite (file_t file, uint32_t offset, void* buffer, uint32_t num); - -void printf (string_t format); -char getc (); - -#endif //NOX_LIBC_SYSCALL_H \ No newline at end of file diff --git a/inc/syscall.h b/inc/syscall.h deleted file mode 100644 index babd326..0000000 --- a/inc/syscall.h +++ /dev/null @@ -1,45 +0,0 @@ -// This file is part of noxos and licensed under the MIT open source license - -#ifndef LIBC_SYSCALL_H -#define LIBC_SYSCALL_H - -#include "nox/status.h" -#include "nox/stdtypes.h" - -typedef enum { - SYSCALL_FILES_OPEN = 0x0101, - SYSCALL_FILES_CLOSE = 0x0102, - SYSCALL_FILES_READ = 0x0103, - SYSCALL_FILES_WRITE = 0x0104, - SYSCALL_FILES_DELETE = 0x0105, - SYSCALL_FILES_LIST = 0x0106, - SYSCALL_FILES_INFO = 0x0107, - - SYSCALL_MEMORY_MAP = 0x0201, - SYSCALL_MEMORY_UNMAP = 0x0202, - SYSCALL_MEMORY_LABEL = 0x0203, - SYSCALL_MEMORY_RANGE = 0x0204, - SYSCALL_MEMORY_ACCESS = 0x0205, - - SYSCALL_PROCESS_CREATE = 0x0301, - SYSCALL_PROCESS_ENVFILE = 0x0302, - SYSCALL_PROCESS_START = 0x0303, - SYSCALL_PROCESS_SIGNAL = 0x0304, - - SYSCALL_RUNTIME_LINKER_OPEN = 0x0401, - SYSCALL_RUNTIME_LINKER_CLOSE = 0x0402, - SYSCALL_RUNTIME_LINKER_LOAD_SYMBOL = 0x0403, - SYSCALL_RUNTIME_LINKER_STATUS = 0x0404, - SYSCALL_RUNTIME_LINKER_STANDARD_MOD = 0x0405, - - SYSCALL_COMPATABILITY_ABI_TYPE = 0x0501, - SYSCALL_COMPATABILITY_ABI_VERSION = 0x0502, - SYSCALL_COMPATABILITY_ACTION = 0x0503, - - SYSCALL_KERNEL_SCHEDULER_START = 0xFF00, - SYSCALL_KERNEL_PANIC = 0xFF01 -} syscall_E; - -extern uint64_t syscall_perform(uint64_t id, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4); - -#endif //LIBC_SYSCALL_H diff --git a/.gitignore b/libnx/.gitignore similarity index 62% rename from .gitignore rename to libnx/.gitignore index 8ccba53..046867b 100644 --- a/.gitignore +++ b/libnx/.gitignore @@ -1,2 +1,2 @@ cmake-build-debug -build \ No newline at end of file +libnx/build \ No newline at end of file diff --git a/libnx/CMakeLists.txt b/libnx/CMakeLists.txt new file mode 100644 index 0000000..8cff756 --- /dev/null +++ b/libnx/CMakeLists.txt @@ -0,0 +1,25 @@ +cmake_minimum_required(VERSION 3.00) +project(.) +set(C 99) + +set(CMAKE_NASM_COMPILE_OBJECT "nasm -o ") + + +add_library(.) +add_library(libnx_asm OBJECT) +target_include_directories(. PRIVATE inc) +file(GLOB_RECURSE libnx_src_c "src/**.c") +file(GLOB_RECURSE libnx_inc "libnx/inc/**.h") +file(GLOB_RECURSE libnx_src_asm "src/**.asm") + + +target_compile_options(. PRIVATE -g -fno-stack-protector -fno-stack-check -ffreestanding -m64 -march=x86-64 -mabi=sysv) +target_link_options(. PRIVATE -Bsymbolic -nostdlib -shared -fno-stack-protector) + +enable_language(ASM_NASM) +set(CAN_USE_ASSEMBLER TRUE) +set_target_properties(. PROPERTIES PREFIX "") +set_target_properties(. PROPERTIES SUFFIX ".so") + +target_sources(libnx_asm PRIVATE ${libnx_src_asm}) +target_sources(. PRIVATE ${libnx_src_c} ${libnx_inc} $) \ No newline at end of file diff --git a/LICENSE b/libnx/LICENSE similarity index 100% rename from LICENSE rename to libnx/LICENSE diff --git a/README.md b/libnx/README.md similarity index 100% rename from README.md rename to libnx/README.md diff --git a/build.sh b/libnx/build.sh similarity index 100% rename from build.sh rename to libnx/build.sh diff --git a/libnx/build/cmake/CMakeCache.txt b/libnx/build/cmake/CMakeCache.txt new file mode 100644 index 0000000..690b007 --- /dev/null +++ b/libnx/build/cmake/CMakeCache.txt @@ -0,0 +1,407 @@ +# This is the CMakeCache file. +# For build in directory: /home/antifallobst/code/projects/noxos/libnx/build/cmake +# It was generated by CMake: /usr/bin/cmake +# You can edit this file to change values found and used by cmake. +# If you do not want to change any of the values, simply exit the editor. +# If you do want to change a value, simply edit, save, and exit the editor. +# The syntax for the file is as follows: +# KEY:TYPE=VALUE +# KEY is the name of a variable in the cache. +# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!. +# VALUE is the current value for the KEY. + +######################## +# EXTERNAL cache entries +######################## + +//Path to a program. +CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line + +//Path to a program. +CMAKE_AR:FILEPATH=/usr/bin/ar + +//NASM compiler +CMAKE_ASM_NASM_COMPILER:FILEPATH=/usr/bin/nasm + +//Flags used by the ASM_NASM compiler during all build types. +CMAKE_ASM_NASM_FLAGS:STRING= + +//Flags used by the ASM_NASM compiler during DEBUG builds. +CMAKE_ASM_NASM_FLAGS_DEBUG:STRING= + +//Flags used by the ASM_NASM compiler during MINSIZEREL builds. +CMAKE_ASM_NASM_FLAGS_MINSIZEREL:STRING= + +//Flags used by the ASM_NASM compiler during RELEASE builds. +CMAKE_ASM_NASM_FLAGS_RELEASE:STRING= + +//Flags used by the ASM_NASM compiler during RELWITHDEBINFO builds. +CMAKE_ASM_NASM_FLAGS_RELWITHDEBINFO:STRING= + +//Choose the type of build, options are: None Debug Release RelWithDebInfo +// MinSizeRel ... +CMAKE_BUILD_TYPE:STRING= + +//Enable/Disable color output during build. +CMAKE_COLOR_MAKEFILE:BOOL=ON + +//CXX compiler +CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++ + +//A wrapper around 'ar' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar + +//A wrapper around 'ranlib' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib + +//Flags used by the CXX compiler during all build types. +CMAKE_CXX_FLAGS:STRING= + +//Flags used by the CXX compiler during DEBUG builds. +CMAKE_CXX_FLAGS_DEBUG:STRING=-g + +//Flags used by the CXX compiler during MINSIZEREL builds. +CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG + +//Flags used by the CXX compiler during RELEASE builds. +CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG + +//Flags used by the CXX compiler during RELWITHDEBINFO builds. +CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG + +//C compiler +CMAKE_C_COMPILER:FILEPATH=/usr/bin/cc + +//A wrapper around 'ar' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar + +//A wrapper around 'ranlib' adding the appropriate '--plugin' option +// for the GCC compiler +CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib + +//Flags used by the C compiler during all build types. +CMAKE_C_FLAGS:STRING= + +//Flags used by the C compiler during DEBUG builds. +CMAKE_C_FLAGS_DEBUG:STRING=-g + +//Flags used by the C compiler during MINSIZEREL builds. +CMAKE_C_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG + +//Flags used by the C compiler during RELEASE builds. +CMAKE_C_FLAGS_RELEASE:STRING=-O3 -DNDEBUG + +//Flags used by the C compiler during RELWITHDEBINFO builds. +CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG + +//Path to a program. +CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND + +//Flags used by the linker during all build types. +CMAKE_EXE_LINKER_FLAGS:STRING= + +//Flags used by the linker during DEBUG builds. +CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during MINSIZEREL builds. +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during RELEASE builds. +CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during RELWITHDEBINFO builds. +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Enable/Disable output of compile commands during generation. +CMAKE_EXPORT_COMPILE_COMMANDS:BOOL= + +//Value Computed by CMake. +CMAKE_FIND_PACKAGE_REDIRECTS_DIR:STATIC=/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles/pkgRedirects + +//Install path prefix, prepended onto install directories. +CMAKE_INSTALL_PREFIX:PATH=/usr/local + +//Path to a program. +CMAKE_LINKER:FILEPATH=/usr/bin/ld + +//Path to a program. +CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/make + +//Flags used by the linker during the creation of modules during +// all build types. +CMAKE_MODULE_LINKER_FLAGS:STRING= + +//Flags used by the linker during the creation of modules during +// DEBUG builds. +CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during the creation of modules during +// MINSIZEREL builds. +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during the creation of modules during +// RELEASE builds. +CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during the creation of modules during +// RELWITHDEBINFO builds. +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_NM:FILEPATH=/usr/bin/nm + +//Path to a program. +CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy + +//Path to a program. +CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump + +//Value Computed by CMake +CMAKE_PROJECT_DESCRIPTION:STATIC= + +//Value Computed by CMake +CMAKE_PROJECT_HOMEPAGE_URL:STATIC= + +//Value Computed by CMake +CMAKE_PROJECT_NAME:STATIC=libnx + +//Path to a program. +CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib + +//Path to a program. +CMAKE_READELF:FILEPATH=/usr/bin/readelf + +//Flags used by the linker during the creation of shared libraries +// during all build types. +CMAKE_SHARED_LINKER_FLAGS:STRING= + +//Flags used by the linker during the creation of shared libraries +// during DEBUG builds. +CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during the creation of shared libraries +// during MINSIZEREL builds. +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during the creation of shared libraries +// during RELEASE builds. +CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during the creation of shared libraries +// during RELWITHDEBINFO builds. +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//If set, runtime paths are not added when installing shared libraries, +// but are added when building. +CMAKE_SKIP_INSTALL_RPATH:BOOL=NO + +//If set, runtime paths are not added when using shared libraries. +CMAKE_SKIP_RPATH:BOOL=NO + +//Flags used by the linker during the creation of static libraries +// during all build types. +CMAKE_STATIC_LINKER_FLAGS:STRING= + +//Flags used by the linker during the creation of static libraries +// during DEBUG builds. +CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING= + +//Flags used by the linker during the creation of static libraries +// during MINSIZEREL builds. +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING= + +//Flags used by the linker during the creation of static libraries +// during RELEASE builds. +CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING= + +//Flags used by the linker during the creation of static libraries +// during RELWITHDEBINFO builds. +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING= + +//Path to a program. +CMAKE_STRIP:FILEPATH=/usr/bin/strip + +//If this value is on, makefiles will be generated without the +// .SILENT directive, and all commands will be echoed to the console +// during the make. This is useful for debugging only. With Visual +// Studio IDE projects all commands are done without /nologo. +CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE + +//Value Computed by CMake +libnx_BINARY_DIR:STATIC=/home/antifallobst/code/projects/noxos/libnx/build/cmake + +//Value Computed by CMake +libnx_IS_TOP_LEVEL:STATIC=ON + +//Value Computed by CMake +libnx_SOURCE_DIR:STATIC=/home/antifallobst/code/projects/noxos/libnx + + +######################## +# INTERNAL cache entries +######################## + +//ADVANCED property for variable: CMAKE_ADDR2LINE +CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_AR +CMAKE_AR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_ASM_NASM_COMPILER +CMAKE_ASM_NASM_COMPILER-ADVANCED:INTERNAL=1 +CMAKE_ASM_NASM_COMPILER_WORKS:INTERNAL=1 +//ADVANCED property for variable: CMAKE_ASM_NASM_FLAGS +CMAKE_ASM_NASM_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_ASM_NASM_FLAGS_DEBUG +CMAKE_ASM_NASM_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_ASM_NASM_FLAGS_MINSIZEREL +CMAKE_ASM_NASM_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_ASM_NASM_FLAGS_RELEASE +CMAKE_ASM_NASM_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_ASM_NASM_FLAGS_RELWITHDEBINFO +CMAKE_ASM_NASM_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//This is the directory where this CMakeCache.txt was created +CMAKE_CACHEFILE_DIR:INTERNAL=/home/antifallobst/code/projects/noxos/libnx/build/cmake +//Major version of cmake used to create the current loaded cache +CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3 +//Minor version of cmake used to create the current loaded cache +CMAKE_CACHE_MINOR_VERSION:INTERNAL=25 +//Patch version of cmake used to create the current loaded cache +CMAKE_CACHE_PATCH_VERSION:INTERNAL=3 +//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE +CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1 +//Path to CMake executable. +CMAKE_COMMAND:INTERNAL=/usr/bin/cmake +//Path to cpack program executable. +CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack +//Path to ctest program executable. +CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest +//ADVANCED property for variable: CMAKE_CXX_COMPILER +CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR +CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB +CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS +CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG +CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL +CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE +CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO +CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_COMPILER +CMAKE_C_COMPILER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_COMPILER_AR +CMAKE_C_COMPILER_AR-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_COMPILER_RANLIB +CMAKE_C_COMPILER_RANLIB-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS +CMAKE_C_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG +CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL +CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE +CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO +CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_DLLTOOL +CMAKE_DLLTOOL-ADVANCED:INTERNAL=1 +//Path to cache edit program executable. +CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake +//Executable file format +CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS +CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG +CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL +CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE +CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS +CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1 +//Name of external makefile project generator. +CMAKE_EXTRA_GENERATOR:INTERNAL= +//Name of generator. +CMAKE_GENERATOR:INTERNAL=Unix Makefiles +//Generator instance identifier. +CMAKE_GENERATOR_INSTANCE:INTERNAL= +//Name of generator platform. +CMAKE_GENERATOR_PLATFORM:INTERNAL= +//Name of generator toolset. +CMAKE_GENERATOR_TOOLSET:INTERNAL= +//Source directory with the top level CMakeLists.txt file for this +// project +CMAKE_HOME_DIRECTORY:INTERNAL=/home/antifallobst/code/projects/noxos/libnx +//Install .so files without execute permission. +CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0 +//ADVANCED property for variable: CMAKE_LINKER +CMAKE_LINKER-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MAKE_PROGRAM +CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS +CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG +CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL +CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE +CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_NM +CMAKE_NM-ADVANCED:INTERNAL=1 +//number of local generators +CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 +//ADVANCED property for variable: CMAKE_OBJCOPY +CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_OBJDUMP +CMAKE_OBJDUMP-ADVANCED:INTERNAL=1 +//Platform information initialized +CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_RANLIB +CMAKE_RANLIB-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_READELF +CMAKE_READELF-ADVANCED:INTERNAL=1 +//Path to CMake installation. +CMAKE_ROOT:INTERNAL=/usr/share/cmake +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS +CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG +CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL +CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE +CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH +CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_SKIP_RPATH +CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS +CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG +CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL +CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE +CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO +CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1 +//ADVANCED property for variable: CMAKE_STRIP +CMAKE_STRIP-ADVANCED:INTERNAL=1 +//uname command +CMAKE_UNAME:INTERNAL=/usr/bin/uname +//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE +CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1 +//linker supports push/pop state +_CMAKE_LINKER_PUSHPOP_STATE_SUPPORTED:INTERNAL=TRUE + diff --git a/libnx/build/cmake/CMakeFiles/3.25.3/CMakeASM_NASMCompiler.cmake b/libnx/build/cmake/CMakeFiles/3.25.3/CMakeASM_NASMCompiler.cmake new file mode 100644 index 0000000..01b2282 --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/3.25.3/CMakeASM_NASMCompiler.cmake @@ -0,0 +1,20 @@ +set(CMAKE_ASM_NASM_COMPILER "/usr/bin/nasm") +set(CMAKE_ASM_NASM_COMPILER_ARG1 "") +set(CMAKE_AR "/usr/bin/ar") +set(CMAKE_ASM_NASM_COMPILER_AR "") +set(CMAKE_RANLIB "/usr/bin/ranlib") +set(CMAKE_ASM_NASM_COMPILER_RANLIB "") +set(CMAKE_LINKER "/usr/bin/ld") +set(CMAKE_MT "") +set(CMAKE_ASM_NASM_COMPILER_LOADED 1) +set(CMAKE_ASM_NASM_COMPILER_ID "NASM") +set(CMAKE_ASM_NASM_COMPILER_VERSION "") +set(CMAKE_ASM_NASM_COMPILER_ENV_VAR "ASM_NASM") +set(CMAKE_ASM_NASM_COMPILER_ID_VENDOR_MATCH [==[NASM version]==]) + + + +set(CMAKE_ASM_NASM_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) +set(CMAKE_ASM_NASM_LINKER_PREFERENCE 0) + + diff --git a/libnx/build/cmake/CMakeFiles/3.25.3/CMakeCCompiler.cmake b/libnx/build/cmake/CMakeFiles/3.25.3/CMakeCCompiler.cmake new file mode 100644 index 0000000..b448456 --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/3.25.3/CMakeCCompiler.cmake @@ -0,0 +1,72 @@ +set(CMAKE_C_COMPILER "/usr/bin/cc") +set(CMAKE_C_COMPILER_ARG1 "") +set(CMAKE_C_COMPILER_ID "GNU") +set(CMAKE_C_COMPILER_VERSION "12.2.1") +set(CMAKE_C_COMPILER_VERSION_INTERNAL "") +set(CMAKE_C_COMPILER_WRAPPER "") +set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "17") +set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON") +set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_std_99;c_restrict;c_variadic_macros;c_std_11;c_static_assert;c_std_17;c_std_23") +set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes") +set(CMAKE_C99_COMPILE_FEATURES "c_std_99;c_restrict;c_variadic_macros") +set(CMAKE_C11_COMPILE_FEATURES "c_std_11;c_static_assert") +set(CMAKE_C17_COMPILE_FEATURES "c_std_17") +set(CMAKE_C23_COMPILE_FEATURES "c_std_23") + +set(CMAKE_C_PLATFORM_ID "Linux") +set(CMAKE_C_SIMULATE_ID "") +set(CMAKE_C_COMPILER_FRONTEND_VARIANT "") +set(CMAKE_C_SIMULATE_VERSION "") + + + + +set(CMAKE_AR "/usr/bin/ar") +set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar") +set(CMAKE_RANLIB "/usr/bin/ranlib") +set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib") +set(CMAKE_LINKER "/usr/bin/ld") +set(CMAKE_MT "") +set(CMAKE_COMPILER_IS_GNUCC 1) +set(CMAKE_C_COMPILER_LOADED 1) +set(CMAKE_C_COMPILER_WORKS TRUE) +set(CMAKE_C_ABI_COMPILED TRUE) + +set(CMAKE_C_COMPILER_ENV_VAR "CC") + +set(CMAKE_C_COMPILER_ID_RUN 1) +set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m) +set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC) +set(CMAKE_C_LINKER_PREFERENCE 10) + +# Save compiler ABI information. +set(CMAKE_C_SIZEOF_DATA_PTR "8") +set(CMAKE_C_COMPILER_ABI "ELF") +set(CMAKE_C_BYTE_ORDER "LITTLE_ENDIAN") +set(CMAKE_C_LIBRARY_ARCHITECTURE "") + +if(CMAKE_C_SIZEOF_DATA_PTR) + set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}") +endif() + +if(CMAKE_C_COMPILER_ABI) + set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}") +endif() + +if(CMAKE_C_LIBRARY_ARCHITECTURE) + set(CMAKE_LIBRARY_ARCHITECTURE "") +endif() + +set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "") +if(CMAKE_C_CL_SHOWINCLUDES_PREFIX) + set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}") +endif() + + + + + +set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed;/usr/include") +set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s") +set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1;/usr/lib;/lib") +set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/libnx/build/cmake/CMakeFiles/3.25.3/CMakeCXXCompiler.cmake b/libnx/build/cmake/CMakeFiles/3.25.3/CMakeCXXCompiler.cmake new file mode 100644 index 0000000..848910c --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/3.25.3/CMakeCXXCompiler.cmake @@ -0,0 +1,83 @@ +set(CMAKE_CXX_COMPILER "/usr/bin/c++") +set(CMAKE_CXX_COMPILER_ARG1 "") +set(CMAKE_CXX_COMPILER_ID "GNU") +set(CMAKE_CXX_COMPILER_VERSION "12.2.1") +set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") +set(CMAKE_CXX_COMPILER_WRAPPER "") +set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "17") +set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON") +set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters;cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates;cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates;cxx_std_17;cxx_std_20;cxx_std_23") +set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;cxx_template_template_parameters") +set(CMAKE_CXX11_COMPILE_FEATURES "cxx_std_11;cxx_alias_templates;cxx_alignas;cxx_alignof;cxx_attributes;cxx_auto_type;cxx_constexpr;cxx_decltype;cxx_decltype_incomplete_return_types;cxx_default_function_template_args;cxx_defaulted_functions;cxx_defaulted_move_initializers;cxx_delegating_constructors;cxx_deleted_functions;cxx_enum_forward_declarations;cxx_explicit_conversions;cxx_extended_friend_declarations;cxx_extern_templates;cxx_final;cxx_func_identifier;cxx_generalized_initializers;cxx_inheriting_constructors;cxx_inline_namespaces;cxx_lambdas;cxx_local_type_template_args;cxx_long_long_type;cxx_noexcept;cxx_nonstatic_member_init;cxx_nullptr;cxx_override;cxx_range_for;cxx_raw_string_literals;cxx_reference_qualified_functions;cxx_right_angle_brackets;cxx_rvalue_references;cxx_sizeof_member;cxx_static_assert;cxx_strong_enums;cxx_thread_local;cxx_trailing_return_types;cxx_unicode_literals;cxx_uniform_initialization;cxx_unrestricted_unions;cxx_user_literals;cxx_variadic_macros;cxx_variadic_templates") +set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14;cxx_aggregate_default_initializers;cxx_attribute_deprecated;cxx_binary_literals;cxx_contextual_conversions;cxx_decltype_auto;cxx_digit_separators;cxx_generic_lambdas;cxx_lambda_init_captures;cxx_relaxed_constexpr;cxx_return_type_deduction;cxx_variable_templates") +set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17") +set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20") +set(CMAKE_CXX23_COMPILE_FEATURES "cxx_std_23") + +set(CMAKE_CXX_PLATFORM_ID "Linux") +set(CMAKE_CXX_SIMULATE_ID "") +set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "") +set(CMAKE_CXX_SIMULATE_VERSION "") + + + + +set(CMAKE_AR "/usr/bin/ar") +set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar") +set(CMAKE_RANLIB "/usr/bin/ranlib") +set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib") +set(CMAKE_LINKER "/usr/bin/ld") +set(CMAKE_MT "") +set(CMAKE_COMPILER_IS_GNUCXX 1) +set(CMAKE_CXX_COMPILER_LOADED 1) +set(CMAKE_CXX_COMPILER_WORKS TRUE) +set(CMAKE_CXX_ABI_COMPILED TRUE) + +set(CMAKE_CXX_COMPILER_ENV_VAR "CXX") + +set(CMAKE_CXX_COMPILER_ID_RUN 1) +set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm) +set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC) + +foreach (lang C OBJC OBJCXX) + if (CMAKE_${lang}_COMPILER_ID_RUN) + foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS) + list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension}) + endforeach() + endif() +endforeach() + +set(CMAKE_CXX_LINKER_PREFERENCE 30) +set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1) + +# Save compiler ABI information. +set(CMAKE_CXX_SIZEOF_DATA_PTR "8") +set(CMAKE_CXX_COMPILER_ABI "ELF") +set(CMAKE_CXX_BYTE_ORDER "LITTLE_ENDIAN") +set(CMAKE_CXX_LIBRARY_ARCHITECTURE "") + +if(CMAKE_CXX_SIZEOF_DATA_PTR) + set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}") +endif() + +if(CMAKE_CXX_COMPILER_ABI) + set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}") +endif() + +if(CMAKE_CXX_LIBRARY_ARCHITECTURE) + set(CMAKE_LIBRARY_ARCHITECTURE "") +endif() + +set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "") +if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX) + set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}") +endif() + + + + + +set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include/c++/12.2.1;/usr/include/c++/12.2.1/x86_64-pc-linux-gnu;/usr/include/c++/12.2.1/backward;/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed;/usr/include") +set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;gcc_s;gcc;c;gcc_s;gcc") +set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1;/usr/lib;/lib") +set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/libnx/build/cmake/CMakeFiles/3.25.3/CMakeDetermineCompilerABI_C.bin b/libnx/build/cmake/CMakeFiles/3.25.3/CMakeDetermineCompilerABI_C.bin new file mode 100755 index 0000000000000000000000000000000000000000..1f18694a0e8fe7a07da645cfffaac6efab727561 GIT binary patch literal 15424 zcmeHOYit}>6~4Q+8>h9q+cu_d9W|p8mA1m;M-t0Tm2~a(+Ow)(bvJ?#rIT6j*q(MD z?(7)s5@e{cUy}E>S+2lPJ3KR<>_&Bi;iy%m1f!f!D3)`bVRCV%zv+oz7U?0xc@@8A1&r8oQA z_s>53+3gQK`qa@E+nZhhv$}+Fudk!|G+;^{ys!!W^d|TXfZtjt&OyN9;u9jCs8t>z z+&hs;eL~_liuMEn#InE@h!eCw3ix%H9mO@|oX&uFy=d|7f48}6u>w3UZoFbVm|wKN z={nc&3uLbW$M}lk0&Ro~U57JkS}!|>?dS!=DgrXSXy`Lm(a2kmm;%*!p7jYmof*?} zrftqzWyiELW66A}Xl9IT-V|1Grlgm_zBHrf<{ew;X3lU72!_lJ55jDrRHVLih&KW4 zoK@5p%4QBcim=hMQ$hXSCx#YhIPZMt#rw>E$;c(3XF%9e?N2WG2;9>3Kstx$ie% zP;L7nc>Q%ojqUiVv~Ki*0ddf$l=wE@vhEnv|~FG0^_|m3$_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|2+uzx_T%IDN5Ig8{rS6_N*7uSal6aBE&DUS z2pYdXucywFKVPRDfc==`y2tM?5@gx!avmq4-uPKwhX%&t@$-5mPX62v+fzDN6b%3% zM&=&Q{=w^q{r%iKcRg>2M*$xvCH~)p*8-1+^Rg8%9=p$7ywK}P3)~SY10t;T>ic)% OOEVx`C;BNMihlund%On# literal 0 HcmV?d00001 diff --git a/libnx/build/cmake/CMakeFiles/3.25.3/CMakeDetermineCompilerABI_CXX.bin b/libnx/build/cmake/CMakeFiles/3.25.3/CMakeDetermineCompilerABI_CXX.bin new file mode 100755 index 0000000000000000000000000000000000000000..0439952ad4c6772fecc56188de2311668b98790c GIT binary patch literal 15440 zcmeHOZ)_Y_5r21f8k;&jH^ek)LbGa7lqh&(UlPkrF+KZy_MY&+CXO&fVcEM|+gr|e z?%ulCRUsAz6e~?-`hivzRaI5}fT&PG6$Mp-t6T~Zd`LgE1Q3!TRB|hq7|}w2$j8jv zne}>ej!==1Ks(m$y!p-i-g`Uy&in3m?o6t$CmM+emKyO%ftJ$fA_;N~9i;}SglHGr z;J8QZ7B_)iD>2ufa20r6xfI=~>jtQYEJdn2q zU1SIKQ#1f;_Iu+gNCr{l(bKiWW9{c*ZkC$e_@$1Gx`p!6PMUdWB5##=tHfh{k;Y@q z`NW*ytDW*0)CusRB;-+uAa9y@LETO9tZ@vK6K^@W4>H~m@fH->jRGrnfwj*k(sK(_Ka9%C&!Zp=9 za8g8PMHw;XM?_?U9VHt=q+sk0cwyR+|LU{5o`0tP$wI>~KH7Emz0tq@^ttWx7=!15 zePRp>V)$Y~KIR2uP@la|i7006er(sn3#BXd#>)Nm$v0oV{Mf?{#~#1=`A=Og-+$)G zhvS*wzWeJ3MmW`OaNsxs_MHI?%^rAduY%)zl`1&SuNwaGP4FiGZxkO9jR|P@Bcdx*dGcRpLd$6+A(ZeXbH^ z(2e4@>*gtReQcsw&`XYCJGw6P^l-nPGi`IsDmkV-+@H)B3+Awq$(ydPx<`j)n59l8 z466X$W~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2zBZxYK?KMJOlH{n>V&iPqaFOgczF;OtMv}#e zNh@#Kon2`)J2@%z&-S&pS%uM}?)%mX(YTAQe;1`^tTC*0whSn%2LIiX<@4t)$H|+% zkaigX-&R3+G`vOhl&1F_@9a`Ac5%|Qof#jLnX=$_7FLcR zxRT9|F(zdAxKSDxYHp?gL%7X_4xQ04Vd?V`-D zYL4rpwlQJq<2hike;VMw!abAc&-(z@-NdKc>vi)tz>j+X=JP&*^$;Zt&k>t^ z{(Qf;0K+LWpZ6WCFN4o7!Tdh}PTUhPpZ5W*`TFtvIga(0fscC(wt1hyx`hT0&Y$OW z9vYZa=JP&>b(sQr{NVXN4t_i*_Ivj|x*zatoiyeAvpd|0{j<< z&w7}Nq&fc#Uw{VgZRl;|{Vs-ozZQ&VoAn#OjrsVz&t9hA6LK7cNMW1x?*YYY&*Ss{ zhJTO9zdOYBhr&F*j_&}5`C~r+9;b{OK9K#c@{Y`BeFZ#zKJS;7iO=s-?tpo$uLk%c zL6P*v;duu6Y_CBB`{McY{-u%lJPya>T>Vl50AdvGxtJe(|1jULy|wGHp+D;IEIILW r6s{AV59g&GFrK@QE`Atytw(quat2J;TUO_H<3ltM+&B6qV2XbMVf@>24 & 0x00FF) +# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF) +# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) + +#elif defined(__BORLANDC__) +# define COMPILER_ID "Borland" + /* __BORLANDC__ = 0xVRR */ +# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) +# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) + +#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 +# define COMPILER_ID "Watcom" + /* __WATCOMC__ = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__WATCOMC__) +# define COMPILER_ID "OpenWatcom" + /* __WATCOMC__ = VVRP + 1100 */ +# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__SUNPRO_C) +# define COMPILER_ID "SunPro" +# if __SUNPRO_C >= 0x5100 + /* __SUNPRO_C = 0xVRRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) +# else + /* __SUNPRO_CC = 0xVRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF) +# endif + +#elif defined(__HP_cc) +# define COMPILER_ID "HP" + /* __HP_cc = VVRRPP */ +# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000) +# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100) +# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100) + +#elif defined(__DECC) +# define COMPILER_ID "Compaq" + /* __DECC_VER = VVRRTPPPP */ +# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000) +# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100) +# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000) + +#elif defined(__IBMC__) && defined(__COMPILER_VER__) +# define COMPILER_ID "zOS" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__open_xl__) && defined(__clang__) +# define COMPILER_ID "IBMClang" +# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) +# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) +# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) +# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) + + +#elif defined(__ibmxl__) && defined(__clang__) +# define COMPILER_ID "XLClang" +# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) +# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) +# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) +# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) + + +#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800 +# define COMPILER_ID "XL" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800 +# define COMPILER_ID "VisualAge" + /* __IBMC__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10) + +#elif defined(__NVCOMPILER) +# define COMPILER_ID "NVHPC" +# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) +# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) +# if defined(__NVCOMPILER_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) +# endif + +#elif defined(__PGI) +# define COMPILER_ID "PGI" +# define COMPILER_VERSION_MAJOR DEC(__PGIC__) +# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) +# if defined(__PGIC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) +# endif + +#elif defined(_CRAYC) +# define COMPILER_ID "Cray" +# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) +# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) + +#elif defined(__TI_COMPILER_VERSION__) +# define COMPILER_ID "TI" + /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ +# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) +# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) +# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) + +#elif defined(__CLANG_FUJITSU) +# define COMPILER_ID "FujitsuClang" +# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) +# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) +# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) +# define COMPILER_VERSION_INTERNAL_STR __clang_version__ + + +#elif defined(__FUJITSU) +# define COMPILER_ID "Fujitsu" +# if defined(__FCC_version__) +# define COMPILER_VERSION __FCC_version__ +# elif defined(__FCC_major__) +# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) +# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) +# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) +# endif +# if defined(__fcc_version) +# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) +# elif defined(__FCC_VERSION) +# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) +# endif + + +#elif defined(__ghs__) +# define COMPILER_ID "GHS" +/* __GHS_VERSION_NUMBER = VVVVRP */ +# ifdef __GHS_VERSION_NUMBER +# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) +# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) +# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) +# endif + +#elif defined(__TASKING__) +# define COMPILER_ID "Tasking" + # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) + # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) +# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) + +#elif defined(__TINYC__) +# define COMPILER_ID "TinyCC" + +#elif defined(__BCC__) +# define COMPILER_ID "Bruce" + +#elif defined(__SCO_VERSION__) +# define COMPILER_ID "SCO" + +#elif defined(__ARMCC_VERSION) && !defined(__clang__) +# define COMPILER_ID "ARMCC" +#if __ARMCC_VERSION >= 1000000 + /* __ARMCC_VERSION = VRRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#else + /* __ARMCC_VERSION = VRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#endif + + +#elif defined(__clang__) && defined(__apple_build_version__) +# define COMPILER_ID "AppleClang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) + +#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) +# define COMPILER_ID "ARMClang" + # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000) +# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) + +#elif defined(__clang__) +# define COMPILER_ID "Clang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif + +#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) +# define COMPILER_ID "LCC" +# define COMPILER_VERSION_MAJOR DEC(1) +# if defined(__LCC__) +# define COMPILER_VERSION_MINOR DEC(__LCC__- 100) +# endif +# if defined(__LCC_MINOR__) +# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) +# endif +# if defined(__GNUC__) && defined(__GNUC_MINOR__) +# define SIMULATE_ID "GNU" +# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) +# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) +# if defined(__GNUC_PATCHLEVEL__) +# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif +# endif + +#elif defined(__GNUC__) +# define COMPILER_ID "GNU" +# define COMPILER_VERSION_MAJOR DEC(__GNUC__) +# if defined(__GNUC_MINOR__) +# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif defined(_MSC_VER) +# define COMPILER_ID "MSVC" + /* _MSC_VER = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) +# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) +# if defined(_MSC_FULL_VER) +# if _MSC_VER >= 1400 + /* _MSC_FULL_VER = VVRRPPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) +# else + /* _MSC_FULL_VER = VVRRPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) +# endif +# endif +# if defined(_MSC_BUILD) +# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) +# endif + +#elif defined(_ADI_COMPILER) +# define COMPILER_ID "ADSP" +#if defined(__VERSIONNUM__) + /* __VERSIONNUM__ = 0xVVRRPPTT */ +# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) +# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) +# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) +# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) +#endif + +#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) +# define COMPILER_ID "IAR" +# if defined(__VER__) && defined(__ICCARM__) +# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) +# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) +# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) +# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) +# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) +# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) +# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) +# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) +# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) +# endif + +#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC) +# define COMPILER_ID "SDCC" +# if defined(__SDCC_VERSION_MAJOR) +# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR) +# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR) +# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH) +# else + /* SDCC = VRP */ +# define COMPILER_VERSION_MAJOR DEC(SDCC/100) +# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10) +# define COMPILER_VERSION_PATCH DEC(SDCC % 10) +# endif + + +/* These compilers are either not known or too old to define an + identification macro. Try to identify the platform and guess that + it is the native compiler. */ +#elif defined(__hpux) || defined(__hpua) +# define COMPILER_ID "HP" + +#else /* unknown compiler */ +# define COMPILER_ID "" +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; +#ifdef SIMULATE_ID +char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; +#endif + +#ifdef __QNXNTO__ +char const* qnxnto = "INFO" ":" "qnxnto[]"; +#endif + +#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) +char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; +#endif + +#define STRINGIFY_HELPER(X) #X +#define STRINGIFY(X) STRINGIFY_HELPER(X) + +/* Identify known platforms by name. */ +#if defined(__linux) || defined(__linux__) || defined(linux) +# define PLATFORM_ID "Linux" + +#elif defined(__MSYS__) +# define PLATFORM_ID "MSYS" + +#elif defined(__CYGWIN__) +# define PLATFORM_ID "Cygwin" + +#elif defined(__MINGW32__) +# define PLATFORM_ID "MinGW" + +#elif defined(__APPLE__) +# define PLATFORM_ID "Darwin" + +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) +# define PLATFORM_ID "Windows" + +#elif defined(__FreeBSD__) || defined(__FreeBSD) +# define PLATFORM_ID "FreeBSD" + +#elif defined(__NetBSD__) || defined(__NetBSD) +# define PLATFORM_ID "NetBSD" + +#elif defined(__OpenBSD__) || defined(__OPENBSD) +# define PLATFORM_ID "OpenBSD" + +#elif defined(__sun) || defined(sun) +# define PLATFORM_ID "SunOS" + +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) +# define PLATFORM_ID "AIX" + +#elif defined(__hpux) || defined(__hpux__) +# define PLATFORM_ID "HP-UX" + +#elif defined(__HAIKU__) +# define PLATFORM_ID "Haiku" + +#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) +# define PLATFORM_ID "BeOS" + +#elif defined(__QNX__) || defined(__QNXNTO__) +# define PLATFORM_ID "QNX" + +#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) +# define PLATFORM_ID "Tru64" + +#elif defined(__riscos) || defined(__riscos__) +# define PLATFORM_ID "RISCos" + +#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) +# define PLATFORM_ID "SINIX" + +#elif defined(__UNIX_SV__) +# define PLATFORM_ID "UNIX_SV" + +#elif defined(__bsdos__) +# define PLATFORM_ID "BSDOS" + +#elif defined(_MPRAS) || defined(MPRAS) +# define PLATFORM_ID "MP-RAS" + +#elif defined(__osf) || defined(__osf__) +# define PLATFORM_ID "OSF1" + +#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) +# define PLATFORM_ID "SCO_SV" + +#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) +# define PLATFORM_ID "ULTRIX" + +#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) +# define PLATFORM_ID "Xenix" + +#elif defined(__WATCOMC__) +# if defined(__LINUX__) +# define PLATFORM_ID "Linux" + +# elif defined(__DOS__) +# define PLATFORM_ID "DOS" + +# elif defined(__OS2__) +# define PLATFORM_ID "OS2" + +# elif defined(__WINDOWS__) +# define PLATFORM_ID "Windows3x" + +# elif defined(__VXWORKS__) +# define PLATFORM_ID "VxWorks" + +# else /* unknown platform */ +# define PLATFORM_ID +# endif + +#elif defined(__INTEGRITY) +# if defined(INT_178B) +# define PLATFORM_ID "Integrity178" + +# else /* regular Integrity */ +# define PLATFORM_ID "Integrity" +# endif + +# elif defined(_ADI_COMPILER) +# define PLATFORM_ID "ADSP" + +#else /* unknown platform */ +# define PLATFORM_ID + +#endif + +/* For windows compilers MSVC and Intel we can determine + the architecture of the compiler being used. This is because + the compilers do not have flags that can change the architecture, + but rather depend on which compiler is being used +*/ +#if defined(_WIN32) && defined(_MSC_VER) +# if defined(_M_IA64) +# define ARCHITECTURE_ID "IA64" + +# elif defined(_M_ARM64EC) +# define ARCHITECTURE_ID "ARM64EC" + +# elif defined(_M_X64) || defined(_M_AMD64) +# define ARCHITECTURE_ID "x64" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# elif defined(_M_ARM64) +# define ARCHITECTURE_ID "ARM64" + +# elif defined(_M_ARM) +# if _M_ARM == 4 +# define ARCHITECTURE_ID "ARMV4I" +# elif _M_ARM == 5 +# define ARCHITECTURE_ID "ARMV5I" +# else +# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) +# endif + +# elif defined(_M_MIPS) +# define ARCHITECTURE_ID "MIPS" + +# elif defined(_M_SH) +# define ARCHITECTURE_ID "SHx" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__WATCOMC__) +# if defined(_M_I86) +# define ARCHITECTURE_ID "I86" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) +# if defined(__ICCARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__ICCRX__) +# define ARCHITECTURE_ID "RX" + +# elif defined(__ICCRH850__) +# define ARCHITECTURE_ID "RH850" + +# elif defined(__ICCRL78__) +# define ARCHITECTURE_ID "RL78" + +# elif defined(__ICCRISCV__) +# define ARCHITECTURE_ID "RISCV" + +# elif defined(__ICCAVR__) +# define ARCHITECTURE_ID "AVR" + +# elif defined(__ICC430__) +# define ARCHITECTURE_ID "MSP430" + +# elif defined(__ICCV850__) +# define ARCHITECTURE_ID "V850" + +# elif defined(__ICC8051__) +# define ARCHITECTURE_ID "8051" + +# elif defined(__ICCSTM8__) +# define ARCHITECTURE_ID "STM8" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__ghs__) +# if defined(__PPC64__) +# define ARCHITECTURE_ID "PPC64" + +# elif defined(__ppc__) +# define ARCHITECTURE_ID "PPC" + +# elif defined(__ARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__x86_64__) +# define ARCHITECTURE_ID "x64" + +# elif defined(__i386__) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__TI_COMPILER_VERSION__) +# if defined(__TI_ARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__MSP430__) +# define ARCHITECTURE_ID "MSP430" + +# elif defined(__TMS320C28XX__) +# define ARCHITECTURE_ID "TMS320C28x" + +# elif defined(__TMS320C6X__) || defined(_TMS320C6X) +# define ARCHITECTURE_ID "TMS320C6x" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +# elif defined(__ADSPSHARC__) +# define ARCHITECTURE_ID "SHARC" + +# elif defined(__ADSPBLACKFIN__) +# define ARCHITECTURE_ID "Blackfin" + +#elif defined(__TASKING__) + +# if defined(__CTC__) || defined(__CPTC__) +# define ARCHITECTURE_ID "TriCore" + +# elif defined(__CMCS__) +# define ARCHITECTURE_ID "MCS" + +# elif defined(__CARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__CARC__) +# define ARCHITECTURE_ID "ARC" + +# elif defined(__C51__) +# define ARCHITECTURE_ID "8051" + +# elif defined(__CPCP__) +# define ARCHITECTURE_ID "PCP" + +# else +# define ARCHITECTURE_ID "" +# endif + +#else +# define ARCHITECTURE_ID +#endif + +/* Convert integer to decimal digit literals. */ +#define DEC(n) \ + ('0' + (((n) / 10000000)%10)), \ + ('0' + (((n) / 1000000)%10)), \ + ('0' + (((n) / 100000)%10)), \ + ('0' + (((n) / 10000)%10)), \ + ('0' + (((n) / 1000)%10)), \ + ('0' + (((n) / 100)%10)), \ + ('0' + (((n) / 10)%10)), \ + ('0' + ((n) % 10)) + +/* Convert integer to hex digit literals. */ +#define HEX(n) \ + ('0' + ((n)>>28 & 0xF)), \ + ('0' + ((n)>>24 & 0xF)), \ + ('0' + ((n)>>20 & 0xF)), \ + ('0' + ((n)>>16 & 0xF)), \ + ('0' + ((n)>>12 & 0xF)), \ + ('0' + ((n)>>8 & 0xF)), \ + ('0' + ((n)>>4 & 0xF)), \ + ('0' + ((n) & 0xF)) + +/* Construct a string literal encoding the version number. */ +#ifdef COMPILER_VERSION +char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; + +/* Construct a string literal encoding the version number components. */ +#elif defined(COMPILER_VERSION_MAJOR) +char const info_version[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', + COMPILER_VERSION_MAJOR, +# ifdef COMPILER_VERSION_MINOR + '.', COMPILER_VERSION_MINOR, +# ifdef COMPILER_VERSION_PATCH + '.', COMPILER_VERSION_PATCH, +# ifdef COMPILER_VERSION_TWEAK + '.', COMPILER_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct a string literal encoding the internal version number. */ +#ifdef COMPILER_VERSION_INTERNAL +char const info_version_internal[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', + 'i','n','t','e','r','n','a','l','[', + COMPILER_VERSION_INTERNAL,']','\0'}; +#elif defined(COMPILER_VERSION_INTERNAL_STR) +char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; +#endif + +/* Construct a string literal encoding the version number components. */ +#ifdef SIMULATE_VERSION_MAJOR +char const info_simulate_version[] = { + 'I', 'N', 'F', 'O', ':', + 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', + SIMULATE_VERSION_MAJOR, +# ifdef SIMULATE_VERSION_MINOR + '.', SIMULATE_VERSION_MINOR, +# ifdef SIMULATE_VERSION_PATCH + '.', SIMULATE_VERSION_PATCH, +# ifdef SIMULATE_VERSION_TWEAK + '.', SIMULATE_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; +char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; + + + +#if !defined(__STDC__) && !defined(__clang__) +# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__) +# define C_VERSION "90" +# else +# define C_VERSION +# endif +#elif __STDC_VERSION__ > 201710L +# define C_VERSION "23" +#elif __STDC_VERSION__ >= 201710L +# define C_VERSION "17" +#elif __STDC_VERSION__ >= 201000L +# define C_VERSION "11" +#elif __STDC_VERSION__ >= 199901L +# define C_VERSION "99" +#else +# define C_VERSION "90" +#endif +const char* info_language_standard_default = + "INFO" ":" "standard_default[" C_VERSION "]"; + +const char* info_language_extensions_default = "INFO" ":" "extensions_default[" +#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ + defined(__TI_COMPILER_VERSION__)) && \ + !defined(__STRICT_ANSI__) + "ON" +#else + "OFF" +#endif +"]"; + +/*--------------------------------------------------------------------------*/ + +#ifdef ID_VOID_MAIN +void main() {} +#else +# if defined(__CLASSIC_C__) +int main(argc, argv) int argc; char *argv[]; +# else +int main(int argc, char* argv[]) +# endif +{ + int require = 0; + require += info_compiler[argc]; + require += info_platform[argc]; + require += info_arch[argc]; +#ifdef COMPILER_VERSION_MAJOR + require += info_version[argc]; +#endif +#ifdef COMPILER_VERSION_INTERNAL + require += info_version_internal[argc]; +#endif +#ifdef SIMULATE_ID + require += info_simulate[argc]; +#endif +#ifdef SIMULATE_VERSION_MAJOR + require += info_simulate_version[argc]; +#endif +#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) + require += info_cray[argc]; +#endif + require += info_language_standard_default[argc]; + require += info_language_extensions_default[argc]; + (void)argv; + return require; +} +#endif diff --git a/libnx/build/cmake/CMakeFiles/3.25.3/CompilerIdC/a.out b/libnx/build/cmake/CMakeFiles/3.25.3/CompilerIdC/a.out new file mode 100755 index 0000000000000000000000000000000000000000..a2d1df3d55736c89bf9e03811cd5aec8eaacbb16 GIT binary patch literal 15536 zcmeHOYit}>6+XMp!)fE}#;sj9DP+{5kP19mZxUk)Y1dw_GnV`)i6cNJ9gV$Xd&NH7 z-7z?=N+ShIj0q}G`j7xcqDX**L?x*BRW?dgC<2rskgEPbE}~LEfd&zHKKNZqk%lqB)-Sgdh=iHgyyEA7W&W#MkV=<7@0(S#hMp7{uZurq5t{`Nf58Ckc zHrNeY(B9;8sy(9sTUB`}z8+hdZ$Tto7gd_zZHmS*RFN4Hl5V3iPZPo-2z(r*+e{5? z>-cLPKv3F)@eC4UG5ps6Kgv46u#TpZG?jny?)A8jFYA6~_}zexvfhF+-p5eKORI!$ z^D4`Hl*ij>9j+SA6Xx1ub+8>$bmBN2Ir;dyr zhxjR|6DRr@#Maqyw$a5eIV*jJv=dL=iRD1Tc~+%bz(GItd!jeXR7F8 zU$do3nR~aDYg0!6ToM0Io%k`dX})saEbJ<5qt*E!b3gv-<9PbT@tsc;#($CdeH#CD=2IH~L+0!EfM4jEqH{sYFG74= zNW@Dap5H3`)|Wzj_`F;R@&5a6sIRCRMIeem6oDuLQ3Rq0L=lK0@a{$6^~8JsZJoZ- zYAtU*zaPN*LfwluE?K89wqEcjMeRL*9bS6zK5OZZ*6BZ8y>}wlQ}21fI(ztKbZB%u zh^l|gn29}~_x+K7h59+W`DK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0x00FF) +# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF) + +#elif defined(__BORLANDC__) +# define COMPILER_ID "Borland" + /* __BORLANDC__ = 0xVRR */ +# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8) +# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF) + +#elif defined(__WATCOMC__) && __WATCOMC__ < 1200 +# define COMPILER_ID "Watcom" + /* __WATCOMC__ = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__WATCOMC__) +# define COMPILER_ID "OpenWatcom" + /* __WATCOMC__ = VVRP + 1100 */ +# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100) +# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10) +# if (__WATCOMC__ % 10) > 0 +# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10) +# endif + +#elif defined(__SUNPRO_CC) +# define COMPILER_ID "SunPro" +# if __SUNPRO_CC >= 0x5100 + /* __SUNPRO_CC = 0xVRRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) +# else + /* __SUNPRO_CC = 0xVRP */ +# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8) +# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF) +# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF) +# endif + +#elif defined(__HP_aCC) +# define COMPILER_ID "HP" + /* __HP_aCC = VVRRPP */ +# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000) +# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100) +# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100) + +#elif defined(__DECCXX) +# define COMPILER_ID "Compaq" + /* __DECCXX_VER = VVRRTPPPP */ +# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000) +# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100) +# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000) + +#elif defined(__IBMCPP__) && defined(__COMPILER_VER__) +# define COMPILER_ID "zOS" + /* __IBMCPP__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) + +#elif defined(__open_xl__) && defined(__clang__) +# define COMPILER_ID "IBMClang" +# define COMPILER_VERSION_MAJOR DEC(__open_xl_version__) +# define COMPILER_VERSION_MINOR DEC(__open_xl_release__) +# define COMPILER_VERSION_PATCH DEC(__open_xl_modification__) +# define COMPILER_VERSION_TWEAK DEC(__open_xl_ptf_fix_level__) + + +#elif defined(__ibmxl__) && defined(__clang__) +# define COMPILER_ID "XLClang" +# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__) +# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__) +# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__) +# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__) + + +#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800 +# define COMPILER_ID "XL" + /* __IBMCPP__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) + +#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800 +# define COMPILER_ID "VisualAge" + /* __IBMCPP__ = VRP */ +# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100) +# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10) +# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10) + +#elif defined(__NVCOMPILER) +# define COMPILER_ID "NVHPC" +# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__) +# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__) +# if defined(__NVCOMPILER_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__) +# endif + +#elif defined(__PGI) +# define COMPILER_ID "PGI" +# define COMPILER_VERSION_MAJOR DEC(__PGIC__) +# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__) +# if defined(__PGIC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__) +# endif + +#elif defined(_CRAYC) +# define COMPILER_ID "Cray" +# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR) +# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR) + +#elif defined(__TI_COMPILER_VERSION__) +# define COMPILER_ID "TI" + /* __TI_COMPILER_VERSION__ = VVVRRRPPP */ +# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000) +# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000) +# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000) + +#elif defined(__CLANG_FUJITSU) +# define COMPILER_ID "FujitsuClang" +# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) +# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) +# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) +# define COMPILER_VERSION_INTERNAL_STR __clang_version__ + + +#elif defined(__FUJITSU) +# define COMPILER_ID "Fujitsu" +# if defined(__FCC_version__) +# define COMPILER_VERSION __FCC_version__ +# elif defined(__FCC_major__) +# define COMPILER_VERSION_MAJOR DEC(__FCC_major__) +# define COMPILER_VERSION_MINOR DEC(__FCC_minor__) +# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__) +# endif +# if defined(__fcc_version) +# define COMPILER_VERSION_INTERNAL DEC(__fcc_version) +# elif defined(__FCC_VERSION) +# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION) +# endif + + +#elif defined(__ghs__) +# define COMPILER_ID "GHS" +/* __GHS_VERSION_NUMBER = VVVVRP */ +# ifdef __GHS_VERSION_NUMBER +# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100) +# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10) +# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10) +# endif + +#elif defined(__TASKING__) +# define COMPILER_ID "Tasking" + # define COMPILER_VERSION_MAJOR DEC(__VERSION__/1000) + # define COMPILER_VERSION_MINOR DEC(__VERSION__ % 100) +# define COMPILER_VERSION_INTERNAL DEC(__VERSION__) + +#elif defined(__SCO_VERSION__) +# define COMPILER_ID "SCO" + +#elif defined(__ARMCC_VERSION) && !defined(__clang__) +# define COMPILER_ID "ARMCC" +#if __ARMCC_VERSION >= 1000000 + /* __ARMCC_VERSION = VRRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#else + /* __ARMCC_VERSION = VRPPPP */ + # define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000) + # define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10) + # define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000) +#endif + + +#elif defined(__clang__) && defined(__apple_build_version__) +# define COMPILER_ID "AppleClang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif +# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__) + +#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION) +# define COMPILER_ID "ARMClang" + # define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000) + # define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100) + # define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000) +# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION) + +#elif defined(__clang__) +# define COMPILER_ID "Clang" +# if defined(_MSC_VER) +# define SIMULATE_ID "MSVC" +# endif +# define COMPILER_VERSION_MAJOR DEC(__clang_major__) +# define COMPILER_VERSION_MINOR DEC(__clang_minor__) +# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__) +# if defined(_MSC_VER) + /* _MSC_VER = VVRR */ +# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100) +# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100) +# endif + +#elif defined(__LCC__) && (defined(__GNUC__) || defined(__GNUG__) || defined(__MCST__)) +# define COMPILER_ID "LCC" +# define COMPILER_VERSION_MAJOR DEC(1) +# if defined(__LCC__) +# define COMPILER_VERSION_MINOR DEC(__LCC__- 100) +# endif +# if defined(__LCC_MINOR__) +# define COMPILER_VERSION_PATCH DEC(__LCC_MINOR__) +# endif +# if defined(__GNUC__) && defined(__GNUC_MINOR__) +# define SIMULATE_ID "GNU" +# define SIMULATE_VERSION_MAJOR DEC(__GNUC__) +# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__) +# if defined(__GNUC_PATCHLEVEL__) +# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif +# endif + +#elif defined(__GNUC__) || defined(__GNUG__) +# define COMPILER_ID "GNU" +# if defined(__GNUC__) +# define COMPILER_VERSION_MAJOR DEC(__GNUC__) +# else +# define COMPILER_VERSION_MAJOR DEC(__GNUG__) +# endif +# if defined(__GNUC_MINOR__) +# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__) +# endif +# if defined(__GNUC_PATCHLEVEL__) +# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__) +# endif + +#elif defined(_MSC_VER) +# define COMPILER_ID "MSVC" + /* _MSC_VER = VVRR */ +# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100) +# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100) +# if defined(_MSC_FULL_VER) +# if _MSC_VER >= 1400 + /* _MSC_FULL_VER = VVRRPPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000) +# else + /* _MSC_FULL_VER = VVRRPPPP */ +# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000) +# endif +# endif +# if defined(_MSC_BUILD) +# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD) +# endif + +#elif defined(_ADI_COMPILER) +# define COMPILER_ID "ADSP" +#if defined(__VERSIONNUM__) + /* __VERSIONNUM__ = 0xVVRRPPTT */ +# define COMPILER_VERSION_MAJOR DEC(__VERSIONNUM__ >> 24 & 0xFF) +# define COMPILER_VERSION_MINOR DEC(__VERSIONNUM__ >> 16 & 0xFF) +# define COMPILER_VERSION_PATCH DEC(__VERSIONNUM__ >> 8 & 0xFF) +# define COMPILER_VERSION_TWEAK DEC(__VERSIONNUM__ & 0xFF) +#endif + +#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) +# define COMPILER_ID "IAR" +# if defined(__VER__) && defined(__ICCARM__) +# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000) +# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000) +# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000) +# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) +# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__)) +# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100) +# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100)) +# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__) +# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__) +# endif + + +/* These compilers are either not known or too old to define an + identification macro. Try to identify the platform and guess that + it is the native compiler. */ +#elif defined(__hpux) || defined(__hpua) +# define COMPILER_ID "HP" + +#else /* unknown compiler */ +# define COMPILER_ID "" +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]"; +#ifdef SIMULATE_ID +char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]"; +#endif + +#ifdef __QNXNTO__ +char const* qnxnto = "INFO" ":" "qnxnto[]"; +#endif + +#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) +char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]"; +#endif + +#define STRINGIFY_HELPER(X) #X +#define STRINGIFY(X) STRINGIFY_HELPER(X) + +/* Identify known platforms by name. */ +#if defined(__linux) || defined(__linux__) || defined(linux) +# define PLATFORM_ID "Linux" + +#elif defined(__MSYS__) +# define PLATFORM_ID "MSYS" + +#elif defined(__CYGWIN__) +# define PLATFORM_ID "Cygwin" + +#elif defined(__MINGW32__) +# define PLATFORM_ID "MinGW" + +#elif defined(__APPLE__) +# define PLATFORM_ID "Darwin" + +#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32) +# define PLATFORM_ID "Windows" + +#elif defined(__FreeBSD__) || defined(__FreeBSD) +# define PLATFORM_ID "FreeBSD" + +#elif defined(__NetBSD__) || defined(__NetBSD) +# define PLATFORM_ID "NetBSD" + +#elif defined(__OpenBSD__) || defined(__OPENBSD) +# define PLATFORM_ID "OpenBSD" + +#elif defined(__sun) || defined(sun) +# define PLATFORM_ID "SunOS" + +#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__) +# define PLATFORM_ID "AIX" + +#elif defined(__hpux) || defined(__hpux__) +# define PLATFORM_ID "HP-UX" + +#elif defined(__HAIKU__) +# define PLATFORM_ID "Haiku" + +#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS) +# define PLATFORM_ID "BeOS" + +#elif defined(__QNX__) || defined(__QNXNTO__) +# define PLATFORM_ID "QNX" + +#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__) +# define PLATFORM_ID "Tru64" + +#elif defined(__riscos) || defined(__riscos__) +# define PLATFORM_ID "RISCos" + +#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__) +# define PLATFORM_ID "SINIX" + +#elif defined(__UNIX_SV__) +# define PLATFORM_ID "UNIX_SV" + +#elif defined(__bsdos__) +# define PLATFORM_ID "BSDOS" + +#elif defined(_MPRAS) || defined(MPRAS) +# define PLATFORM_ID "MP-RAS" + +#elif defined(__osf) || defined(__osf__) +# define PLATFORM_ID "OSF1" + +#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv) +# define PLATFORM_ID "SCO_SV" + +#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX) +# define PLATFORM_ID "ULTRIX" + +#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX) +# define PLATFORM_ID "Xenix" + +#elif defined(__WATCOMC__) +# if defined(__LINUX__) +# define PLATFORM_ID "Linux" + +# elif defined(__DOS__) +# define PLATFORM_ID "DOS" + +# elif defined(__OS2__) +# define PLATFORM_ID "OS2" + +# elif defined(__WINDOWS__) +# define PLATFORM_ID "Windows3x" + +# elif defined(__VXWORKS__) +# define PLATFORM_ID "VxWorks" + +# else /* unknown platform */ +# define PLATFORM_ID +# endif + +#elif defined(__INTEGRITY) +# if defined(INT_178B) +# define PLATFORM_ID "Integrity178" + +# else /* regular Integrity */ +# define PLATFORM_ID "Integrity" +# endif + +# elif defined(_ADI_COMPILER) +# define PLATFORM_ID "ADSP" + +#else /* unknown platform */ +# define PLATFORM_ID + +#endif + +/* For windows compilers MSVC and Intel we can determine + the architecture of the compiler being used. This is because + the compilers do not have flags that can change the architecture, + but rather depend on which compiler is being used +*/ +#if defined(_WIN32) && defined(_MSC_VER) +# if defined(_M_IA64) +# define ARCHITECTURE_ID "IA64" + +# elif defined(_M_ARM64EC) +# define ARCHITECTURE_ID "ARM64EC" + +# elif defined(_M_X64) || defined(_M_AMD64) +# define ARCHITECTURE_ID "x64" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# elif defined(_M_ARM64) +# define ARCHITECTURE_ID "ARM64" + +# elif defined(_M_ARM) +# if _M_ARM == 4 +# define ARCHITECTURE_ID "ARMV4I" +# elif _M_ARM == 5 +# define ARCHITECTURE_ID "ARMV5I" +# else +# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM) +# endif + +# elif defined(_M_MIPS) +# define ARCHITECTURE_ID "MIPS" + +# elif defined(_M_SH) +# define ARCHITECTURE_ID "SHx" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__WATCOMC__) +# if defined(_M_I86) +# define ARCHITECTURE_ID "I86" + +# elif defined(_M_IX86) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC) +# if defined(__ICCARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__ICCRX__) +# define ARCHITECTURE_ID "RX" + +# elif defined(__ICCRH850__) +# define ARCHITECTURE_ID "RH850" + +# elif defined(__ICCRL78__) +# define ARCHITECTURE_ID "RL78" + +# elif defined(__ICCRISCV__) +# define ARCHITECTURE_ID "RISCV" + +# elif defined(__ICCAVR__) +# define ARCHITECTURE_ID "AVR" + +# elif defined(__ICC430__) +# define ARCHITECTURE_ID "MSP430" + +# elif defined(__ICCV850__) +# define ARCHITECTURE_ID "V850" + +# elif defined(__ICC8051__) +# define ARCHITECTURE_ID "8051" + +# elif defined(__ICCSTM8__) +# define ARCHITECTURE_ID "STM8" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__ghs__) +# if defined(__PPC64__) +# define ARCHITECTURE_ID "PPC64" + +# elif defined(__ppc__) +# define ARCHITECTURE_ID "PPC" + +# elif defined(__ARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__x86_64__) +# define ARCHITECTURE_ID "x64" + +# elif defined(__i386__) +# define ARCHITECTURE_ID "X86" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +#elif defined(__TI_COMPILER_VERSION__) +# if defined(__TI_ARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__MSP430__) +# define ARCHITECTURE_ID "MSP430" + +# elif defined(__TMS320C28XX__) +# define ARCHITECTURE_ID "TMS320C28x" + +# elif defined(__TMS320C6X__) || defined(_TMS320C6X) +# define ARCHITECTURE_ID "TMS320C6x" + +# else /* unknown architecture */ +# define ARCHITECTURE_ID "" +# endif + +# elif defined(__ADSPSHARC__) +# define ARCHITECTURE_ID "SHARC" + +# elif defined(__ADSPBLACKFIN__) +# define ARCHITECTURE_ID "Blackfin" + +#elif defined(__TASKING__) + +# if defined(__CTC__) || defined(__CPTC__) +# define ARCHITECTURE_ID "TriCore" + +# elif defined(__CMCS__) +# define ARCHITECTURE_ID "MCS" + +# elif defined(__CARM__) +# define ARCHITECTURE_ID "ARM" + +# elif defined(__CARC__) +# define ARCHITECTURE_ID "ARC" + +# elif defined(__C51__) +# define ARCHITECTURE_ID "8051" + +# elif defined(__CPCP__) +# define ARCHITECTURE_ID "PCP" + +# else +# define ARCHITECTURE_ID "" +# endif + +#else +# define ARCHITECTURE_ID +#endif + +/* Convert integer to decimal digit literals. */ +#define DEC(n) \ + ('0' + (((n) / 10000000)%10)), \ + ('0' + (((n) / 1000000)%10)), \ + ('0' + (((n) / 100000)%10)), \ + ('0' + (((n) / 10000)%10)), \ + ('0' + (((n) / 1000)%10)), \ + ('0' + (((n) / 100)%10)), \ + ('0' + (((n) / 10)%10)), \ + ('0' + ((n) % 10)) + +/* Convert integer to hex digit literals. */ +#define HEX(n) \ + ('0' + ((n)>>28 & 0xF)), \ + ('0' + ((n)>>24 & 0xF)), \ + ('0' + ((n)>>20 & 0xF)), \ + ('0' + ((n)>>16 & 0xF)), \ + ('0' + ((n)>>12 & 0xF)), \ + ('0' + ((n)>>8 & 0xF)), \ + ('0' + ((n)>>4 & 0xF)), \ + ('0' + ((n) & 0xF)) + +/* Construct a string literal encoding the version number. */ +#ifdef COMPILER_VERSION +char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]"; + +/* Construct a string literal encoding the version number components. */ +#elif defined(COMPILER_VERSION_MAJOR) +char const info_version[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[', + COMPILER_VERSION_MAJOR, +# ifdef COMPILER_VERSION_MINOR + '.', COMPILER_VERSION_MINOR, +# ifdef COMPILER_VERSION_PATCH + '.', COMPILER_VERSION_PATCH, +# ifdef COMPILER_VERSION_TWEAK + '.', COMPILER_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct a string literal encoding the internal version number. */ +#ifdef COMPILER_VERSION_INTERNAL +char const info_version_internal[] = { + 'I', 'N', 'F', 'O', ':', + 'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_', + 'i','n','t','e','r','n','a','l','[', + COMPILER_VERSION_INTERNAL,']','\0'}; +#elif defined(COMPILER_VERSION_INTERNAL_STR) +char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]"; +#endif + +/* Construct a string literal encoding the version number components. */ +#ifdef SIMULATE_VERSION_MAJOR +char const info_simulate_version[] = { + 'I', 'N', 'F', 'O', ':', + 's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[', + SIMULATE_VERSION_MAJOR, +# ifdef SIMULATE_VERSION_MINOR + '.', SIMULATE_VERSION_MINOR, +# ifdef SIMULATE_VERSION_PATCH + '.', SIMULATE_VERSION_PATCH, +# ifdef SIMULATE_VERSION_TWEAK + '.', SIMULATE_VERSION_TWEAK, +# endif +# endif +# endif + ']','\0'}; +#endif + +/* Construct the string literal in pieces to prevent the source from + getting matched. Store it in a pointer rather than an array + because some compilers will just produce instructions to fill the + array rather than assigning a pointer to a static array. */ +char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]"; +char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]"; + + + +#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L +# if defined(__INTEL_CXX11_MODE__) +# if defined(__cpp_aggregate_nsdmi) +# define CXX_STD 201402L +# else +# define CXX_STD 201103L +# endif +# else +# define CXX_STD 199711L +# endif +#elif defined(_MSC_VER) && defined(_MSVC_LANG) +# define CXX_STD _MSVC_LANG +#else +# define CXX_STD __cplusplus +#endif + +const char* info_language_standard_default = "INFO" ":" "standard_default[" +#if CXX_STD > 202002L + "23" +#elif CXX_STD > 201703L + "20" +#elif CXX_STD >= 201703L + "17" +#elif CXX_STD >= 201402L + "14" +#elif CXX_STD >= 201103L + "11" +#else + "98" +#endif +"]"; + +const char* info_language_extensions_default = "INFO" ":" "extensions_default[" +#if (defined(__clang__) || defined(__GNUC__) || defined(__xlC__) || \ + defined(__TI_COMPILER_VERSION__)) && \ + !defined(__STRICT_ANSI__) + "ON" +#else + "OFF" +#endif +"]"; + +/*--------------------------------------------------------------------------*/ + +int main(int argc, char* argv[]) +{ + int require = 0; + require += info_compiler[argc]; + require += info_platform[argc]; + require += info_arch[argc]; +#ifdef COMPILER_VERSION_MAJOR + require += info_version[argc]; +#endif +#ifdef COMPILER_VERSION_INTERNAL + require += info_version_internal[argc]; +#endif +#ifdef SIMULATE_ID + require += info_simulate[argc]; +#endif +#ifdef SIMULATE_VERSION_MAJOR + require += info_simulate_version[argc]; +#endif +#if defined(__CRAYXT_COMPUTE_LINUX_TARGET) + require += info_cray[argc]; +#endif + require += info_language_standard_default[argc]; + require += info_language_extensions_default[argc]; + (void)argv; + return require; +} diff --git a/libnx/build/cmake/CMakeFiles/3.25.3/CompilerIdCXX/a.out b/libnx/build/cmake/CMakeFiles/3.25.3/CompilerIdCXX/a.out new file mode 100755 index 0000000000000000000000000000000000000000..369774d6e9ae7131faf5843dc4cbb9ecd3cd2942 GIT binary patch literal 15552 zcmeHOZ)_Y_5r21%8wcW?lh(zFE3zu6N+{mkT@qsgrsvpauOz^(w(P4ILUEhV=?=)6VZ>2iSlS>hPj9)8Qq{yXD6NW80t3?p>O$D1XO_Ym;t z&?@3T+45mNLE~+891O}oOG>Xel+R6fA32oIcI9)$g~hJLp6;&hBW9&!CgsRDuQ+`0 zoEjQCDWYdZ6*1;VM5IoSk`6Aiq3>Pr!L%cP@0-89`9kx}b9cUQ_3Co=vBrW`!wqfxVeDU#li+l31IIzY_B6n89!3Kk$8Lmwd<$II_H3b4v@4!d_H0|& z!xN)+)-AiUxr*nOCr118rJ_6GOy^x?YizOM@MI`R!O0aNY-Z81XL3a+pL^65V6J%C z%>DP{5$i^^;P+-Tz(g&9ct+tvBg4o0?WB45h~RG0l;3$#I7V0$E_k6vz?N<02UDu3PDPT)V*%@cOO~VaC`E_V`nQ%kH zze)H34gWUbaSgvnc=Z7x8|)-yK9a=?`i;--_I(1xD7K9 zW+2Q!n1L_@VFtnsgcGiGf6W6~e+H!#lm=GRet@|M>Qp=T)c zj@o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.2.1/include-fixed + /usr/include +End of search list. +GNU C17 (GCC) version 12.2.1 20230201 (x86_64-pc-linux-gnu) + compiled by GNU C version 12.2.1 20230201, GMP version 6.2.1, MPFR version 4.2.0, MPC version 1.3.1, isl version isl-0.25-GMP + +GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 +Compiler executable checksum: 99df1fbb4c4d7eeb8d93f0979bfab9ce +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_21a13.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_21a13.dir/' + as -v --64 -o CMakeFiles/cmTC_21a13.dir/CMakeCCompilerABI.c.o /tmp/ccFez9cC.s +GNU assembler version 2.40 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.40 +COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/ +LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../:/lib/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_21a13.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_21a13.dir/CMakeCCompilerABI.c.' +Linking C executable cmTC_21a13 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_21a13.dir/link.txt --verbose=1 +/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_21a13.dir/CMakeCCompilerABI.c.o -o cmTC_21a13 +Using built-in specs. +COLLECT_GCC=/usr/bin/cc +COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/lto-wrapper +Target: x86_64-pc-linux-gnu +Configured with: /build/gcc/src/gcc/configure --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror +Thread model: posix +Supported LTO compression algorithms: zlib zstd +gcc version 12.2.1 20230201 (GCC) +COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/ +LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../:/lib/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_21a13' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_21a13.' + /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccbJ0ChJ.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_21a13 /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../.. CMakeFiles/cmTC_21a13.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crtn.o +COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_21a13' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_21a13.' +make[1]: Leaving directory '/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles/CMakeScratch/TryCompile-g1QinZ' + + + +Parsed C implicit include dir info from above output: rv=done + found start of include info + found start of implicit include info + add: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include] + add: [/usr/local/include] + add: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed] + add: [/usr/include] + end of search list found + collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include] + collapse include dir [/usr/local/include] ==> [/usr/local/include] + collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed] + collapse include dir [/usr/include] ==> [/usr/include] + implicit include dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed;/usr/include] + + +Parsed C implicit link information from above output: + link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] + ignore line: [Change Dir: /home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles/CMakeScratch/TryCompile-g1QinZ] + ignore line: [] + ignore line: [Run Build Command(s):/usr/bin/make -f Makefile cmTC_21a13/fast && /usr/bin/make -f CMakeFiles/cmTC_21a13.dir/build.make CMakeFiles/cmTC_21a13.dir/build] + ignore line: [make[1]: Entering directory '/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles/CMakeScratch/TryCompile-g1QinZ'] + ignore line: [Building C object CMakeFiles/cmTC_21a13.dir/CMakeCCompilerABI.c.o] + ignore line: [/usr/bin/cc -v -o CMakeFiles/cmTC_21a13.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake/Modules/CMakeCCompilerABI.c] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/cc] + ignore line: [Target: x86_64-pc-linux-gnu] + ignore line: [Configured with: /build/gcc/src/gcc/configure --enable-languages=c c++ ada fortran go lto objc obj-c++ d --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror] + ignore line: [Thread model: posix] + ignore line: [Supported LTO compression algorithms: zlib zstd] + ignore line: [gcc version 12.2.1 20230201 (GCC) ] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_21a13.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_21a13.dir/'] + ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/cc1 -quiet -v /usr/share/cmake/Modules/CMakeCCompilerABI.c -quiet -dumpdir CMakeFiles/cmTC_21a13.dir/ -dumpbase CMakeCCompilerABI.c.c -dumpbase-ext .c -mtune=generic -march=x86-64 -version -o /tmp/ccFez9cC.s] + ignore line: [GNU C17 (GCC) version 12.2.1 20230201 (x86_64-pc-linux-gnu)] + ignore line: [ compiled by GNU C version 12.2.1 20230201 GMP version 6.2.1 MPFR version 4.2.0 MPC version 1.3.1 isl version isl-0.25-GMP] + ignore line: [] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../x86_64-pc-linux-gnu/include"] + ignore line: [#include "..." search starts here:] + ignore line: [#include <...> search starts here:] + ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include] + ignore line: [ /usr/local/include] + ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed] + ignore line: [ /usr/include] + ignore line: [End of search list.] + ignore line: [GNU C17 (GCC) version 12.2.1 20230201 (x86_64-pc-linux-gnu)] + ignore line: [ compiled by GNU C version 12.2.1 20230201 GMP version 6.2.1 MPFR version 4.2.0 MPC version 1.3.1 isl version isl-0.25-GMP] + ignore line: [] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [Compiler executable checksum: 99df1fbb4c4d7eeb8d93f0979bfab9ce] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_21a13.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_21a13.dir/'] + ignore line: [ as -v --64 -o CMakeFiles/cmTC_21a13.dir/CMakeCCompilerABI.c.o /tmp/ccFez9cC.s] + ignore line: [GNU assembler version 2.40 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.40] + ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_21a13.dir/CMakeCCompilerABI.c.o' '-c' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_21a13.dir/CMakeCCompilerABI.c.'] + ignore line: [Linking C executable cmTC_21a13] + ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_21a13.dir/link.txt --verbose=1] + ignore line: [/usr/bin/cc -v -rdynamic CMakeFiles/cmTC_21a13.dir/CMakeCCompilerABI.c.o -o cmTC_21a13 ] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/cc] + ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/lto-wrapper] + ignore line: [Target: x86_64-pc-linux-gnu] + ignore line: [Configured with: /build/gcc/src/gcc/configure --enable-languages=c c++ ada fortran go lto objc obj-c++ d --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror] + ignore line: [Thread model: posix] + ignore line: [Supported LTO compression algorithms: zlib zstd] + ignore line: [gcc version 12.2.1 20230201 (GCC) ] + ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_21a13' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_21a13.'] + link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccbJ0ChJ.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lgcc_s --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_21a13 /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../.. CMakeFiles/cmTC_21a13.dir/CMakeCCompilerABI.c.o -lgcc --push-state --as-needed -lgcc_s --pop-state -lc -lgcc --push-state --as-needed -lgcc_s --pop-state /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crtn.o] + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/collect2] ==> ignore + arg [-plugin] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/liblto_plugin.so] ==> ignore + arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/lto-wrapper] ==> ignore + arg [-plugin-opt=-fresolution=/tmp/ccbJ0ChJ.res] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [-plugin-opt=-pass-through=-lc] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [--build-id] ==> ignore + arg [--eh-frame-hdr] ==> ignore + arg [--hash-style=gnu] ==> ignore + arg [-m] ==> ignore + arg [elf_x86_64] ==> ignore + arg [-export-dynamic] ==> ignore + arg [-dynamic-linker] ==> ignore + arg [/lib64/ld-linux-x86-64.so.2] ==> ignore + arg [-pie] ==> ignore + arg [-o] ==> ignore + arg [cmTC_21a13] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/Scrt1.o] + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crti.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crti.o] + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtbeginS.o] + arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1] + arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib] + arg [-L/lib/../lib] ==> dir [/lib/../lib] + arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] + arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../..] + arg [CMakeFiles/cmTC_21a13.dir/CMakeCCompilerABI.c.o] ==> ignore + arg [-lgcc] ==> lib [gcc] + arg [--push-state] ==> ignore + arg [--as-needed] ==> ignore + arg [-lgcc_s] ==> lib [gcc_s] + arg [--pop-state] ==> ignore + arg [-lc] ==> lib [c] + arg [-lgcc] ==> lib [gcc] + arg [--push-state] ==> ignore + arg [--as-needed] ==> ignore + arg [-lgcc_s] ==> lib [gcc_s] + arg [--pop-state] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtendS.o] + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crtn.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crtn.o] + collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/Scrt1.o] ==> [/usr/lib/Scrt1.o] + collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crti.o] ==> [/usr/lib/crti.o] + collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crtn.o] ==> [/usr/lib/crtn.o] + collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1] + collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib] ==> [/usr/lib] + collapse library dir [/lib/../lib] ==> [/lib] + collapse library dir [/usr/lib/../lib] ==> [/usr/lib] + collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../..] ==> [/usr/lib] + implicit libs: [gcc;gcc_s;c;gcc;gcc_s] + implicit objs: [/usr/lib/Scrt1.o;/usr/lib/crti.o;/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtbeginS.o;/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtendS.o;/usr/lib/crtn.o] + implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1;/usr/lib;/lib] + implicit fwks: [] + + +Detecting CXX compiler ABI info compiled with the following output: +Change Dir: /home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles/CMakeScratch/TryCompile-aKq7nl + +Run Build Command(s):/usr/bin/make -f Makefile cmTC_ab09b/fast && /usr/bin/make -f CMakeFiles/cmTC_ab09b.dir/build.make CMakeFiles/cmTC_ab09b.dir/build +make[1]: Entering directory '/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles/CMakeScratch/TryCompile-aKq7nl' +Building CXX object CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.o +/usr/bin/c++ -v -o CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp +Using built-in specs. +COLLECT_GCC=/usr/bin/c++ +Target: x86_64-pc-linux-gnu +Configured with: /build/gcc/src/gcc/configure --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror +Thread model: posix +Supported LTO compression algorithms: zlib zstd +gcc version 12.2.1 20230201 (GCC) +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ab09b.dir/' + /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/cc1plus -quiet -v -D_GNU_SOURCE /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_ab09b.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -o /tmp/ccyzCjmq.s +GNU C++17 (GCC) version 12.2.1 20230201 (x86_64-pc-linux-gnu) + compiled by GNU C version 12.2.1 20230201, GMP version 6.2.1, MPFR version 4.2.0, MPC version 1.3.1, isl version isl-0.25-GMP + +GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 +ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../x86_64-pc-linux-gnu/include" +#include "..." search starts here: +#include <...> search starts here: + /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../include/c++/12.2.1 + /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../include/c++/12.2.1/x86_64-pc-linux-gnu + /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../include/c++/12.2.1/backward + /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include + /usr/local/include + /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed + /usr/include +End of search list. +GNU C++17 (GCC) version 12.2.1 20230201 (x86_64-pc-linux-gnu) + compiled by GNU C version 12.2.1 20230201, GMP version 6.2.1, MPFR version 4.2.0, MPC version 1.3.1, isl version isl-0.25-GMP + +GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 +Compiler executable checksum: ab2adc4aa87e9c5b6e6cb24c55e663d5 +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ab09b.dir/' + as -v --64 -o CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccyzCjmq.s +GNU assembler version 2.40 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.40 +COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/ +LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../:/lib/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.' +Linking CXX executable cmTC_ab09b +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ab09b.dir/link.txt --verbose=1 +/usr/bin/c++ -v -rdynamic CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_ab09b +Using built-in specs. +COLLECT_GCC=/usr/bin/c++ +COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/lto-wrapper +Target: x86_64-pc-linux-gnu +Configured with: /build/gcc/src/gcc/configure --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++,d --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror +Thread model: posix +Supported LTO compression algorithms: zlib zstd +gcc version 12.2.1 20230201 (GCC) +COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/ +LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../:/lib/:/usr/lib/ +COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_ab09b' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_ab09b.' + /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccx0Jst6.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_ab09b /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../.. CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crtn.o +COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_ab09b' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_ab09b.' +make[1]: Leaving directory '/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles/CMakeScratch/TryCompile-aKq7nl' + + + +Parsed CXX implicit include dir info from above output: rv=done + found start of include info + found start of implicit include info + add: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../include/c++/12.2.1] + add: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../include/c++/12.2.1/x86_64-pc-linux-gnu] + add: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../include/c++/12.2.1/backward] + add: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include] + add: [/usr/local/include] + add: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed] + add: [/usr/include] + end of search list found + collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../include/c++/12.2.1] ==> [/usr/include/c++/12.2.1] + collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../include/c++/12.2.1/x86_64-pc-linux-gnu] ==> [/usr/include/c++/12.2.1/x86_64-pc-linux-gnu] + collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../include/c++/12.2.1/backward] ==> [/usr/include/c++/12.2.1/backward] + collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include] + collapse include dir [/usr/local/include] ==> [/usr/local/include] + collapse include dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed] + collapse include dir [/usr/include] ==> [/usr/include] + implicit include dirs: [/usr/include/c++/12.2.1;/usr/include/c++/12.2.1/x86_64-pc-linux-gnu;/usr/include/c++/12.2.1/backward;/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include;/usr/local/include;/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed;/usr/include] + + +Parsed CXX implicit link information from above output: + link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] + ignore line: [Change Dir: /home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles/CMakeScratch/TryCompile-aKq7nl] + ignore line: [] + ignore line: [Run Build Command(s):/usr/bin/make -f Makefile cmTC_ab09b/fast && /usr/bin/make -f CMakeFiles/cmTC_ab09b.dir/build.make CMakeFiles/cmTC_ab09b.dir/build] + ignore line: [make[1]: Entering directory '/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles/CMakeScratch/TryCompile-aKq7nl'] + ignore line: [Building CXX object CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.o] + ignore line: [/usr/bin/c++ -v -o CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/c++] + ignore line: [Target: x86_64-pc-linux-gnu] + ignore line: [Configured with: /build/gcc/src/gcc/configure --enable-languages=c c++ ada fortran go lto objc obj-c++ d --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror] + ignore line: [Thread model: posix] + ignore line: [Supported LTO compression algorithms: zlib zstd] + ignore line: [gcc version 12.2.1 20230201 (GCC) ] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ab09b.dir/'] + ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/cc1plus -quiet -v -D_GNU_SOURCE /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpdir CMakeFiles/cmTC_ab09b.dir/ -dumpbase CMakeCXXCompilerABI.cpp.cpp -dumpbase-ext .cpp -mtune=generic -march=x86-64 -version -o /tmp/ccyzCjmq.s] + ignore line: [GNU C++17 (GCC) version 12.2.1 20230201 (x86_64-pc-linux-gnu)] + ignore line: [ compiled by GNU C version 12.2.1 20230201 GMP version 6.2.1 MPFR version 4.2.0 MPC version 1.3.1 isl version isl-0.25-GMP] + ignore line: [] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [ignoring nonexistent directory "/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../x86_64-pc-linux-gnu/include"] + ignore line: [#include "..." search starts here:] + ignore line: [#include <...> search starts here:] + ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../include/c++/12.2.1] + ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../include/c++/12.2.1/x86_64-pc-linux-gnu] + ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../include/c++/12.2.1/backward] + ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include] + ignore line: [ /usr/local/include] + ignore line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/include-fixed] + ignore line: [ /usr/include] + ignore line: [End of search list.] + ignore line: [GNU C++17 (GCC) version 12.2.1 20230201 (x86_64-pc-linux-gnu)] + ignore line: [ compiled by GNU C version 12.2.1 20230201 GMP version 6.2.1 MPFR version 4.2.0 MPC version 1.3.1 isl version isl-0.25-GMP] + ignore line: [] + ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072] + ignore line: [Compiler executable checksum: ab2adc4aa87e9c5b6e6cb24c55e663d5] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ab09b.dir/'] + ignore line: [ as -v --64 -o CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.o /tmp/ccyzCjmq.s] + ignore line: [GNU assembler version 2.40 (x86_64-pc-linux-gnu) using BFD version (GNU Binutils) 2.40] + ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.o' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.'] + ignore line: [Linking CXX executable cmTC_ab09b] + ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ab09b.dir/link.txt --verbose=1] + ignore line: [/usr/bin/c++ -v -rdynamic CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_ab09b ] + ignore line: [Using built-in specs.] + ignore line: [COLLECT_GCC=/usr/bin/c++] + ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/lto-wrapper] + ignore line: [Target: x86_64-pc-linux-gnu] + ignore line: [Configured with: /build/gcc/src/gcc/configure --enable-languages=c c++ ada fortran go lto objc obj-c++ d --enable-bootstrap --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --with-build-config=bootstrap-lto --with-linker-hash-style=gnu --with-system-zlib --enable-__cxa_atexit --enable-cet=auto --enable-checking=release --enable-clocale=gnu --enable-default-pie --enable-default-ssp --enable-gnu-indirect-function --enable-gnu-unique-object --enable-libstdcxx-backtrace --enable-link-serialization=1 --enable-linker-build-id --enable-lto --enable-multilib --enable-plugin --enable-shared --enable-threads=posix --disable-libssp --disable-libstdcxx-pch --disable-werror] + ignore line: [Thread model: posix] + ignore line: [Supported LTO compression algorithms: zlib zstd] + ignore line: [gcc version 12.2.1 20230201 (GCC) ] + ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/] + ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/:/lib/../lib/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../:/lib/:/usr/lib/] + ignore line: [COLLECT_GCC_OPTIONS='-v' '-rdynamic' '-o' 'cmTC_ab09b' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' 'cmTC_ab09b.'] + link line: [ /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/collect2 -plugin /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/lto-wrapper -plugin-opt=-fresolution=/tmp/ccx0Jst6.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr --hash-style=gnu -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_ab09b /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/Scrt1.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtbeginS.o -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1 -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../.. CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crtn.o] + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/collect2] ==> ignore + arg [-plugin] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/liblto_plugin.so] ==> ignore + arg [-plugin-opt=/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/lto-wrapper] ==> ignore + arg [-plugin-opt=-fresolution=/tmp/ccx0Jst6.res] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [-plugin-opt=-pass-through=-lc] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore + arg [-plugin-opt=-pass-through=-lgcc] ==> ignore + arg [--build-id] ==> ignore + arg [--eh-frame-hdr] ==> ignore + arg [--hash-style=gnu] ==> ignore + arg [-m] ==> ignore + arg [elf_x86_64] ==> ignore + arg [-export-dynamic] ==> ignore + arg [-dynamic-linker] ==> ignore + arg [/lib64/ld-linux-x86-64.so.2] ==> ignore + arg [-pie] ==> ignore + arg [-o] ==> ignore + arg [cmTC_ab09b] ==> ignore + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/Scrt1.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/Scrt1.o] + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crti.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crti.o] + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtbeginS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtbeginS.o] + arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1] + arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib] + arg [-L/lib/../lib] ==> dir [/lib/../lib] + arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] + arg [-L/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../..] ==> dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../..] + arg [CMakeFiles/cmTC_ab09b.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore + arg [-lstdc++] ==> lib [stdc++] + arg [-lm] ==> lib [m] + arg [-lgcc_s] ==> lib [gcc_s] + arg [-lgcc] ==> lib [gcc] + arg [-lc] ==> lib [c] + arg [-lgcc_s] ==> lib [gcc_s] + arg [-lgcc] ==> lib [gcc] + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtendS.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtendS.o] + arg [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crtn.o] ==> obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crtn.o] + collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/Scrt1.o] ==> [/usr/lib/Scrt1.o] + collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crti.o] ==> [/usr/lib/crti.o] + collapse obj [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib/crtn.o] ==> [/usr/lib/crtn.o] + collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1] ==> [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1] + collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../../../lib] ==> [/usr/lib] + collapse library dir [/lib/../lib] ==> [/lib] + collapse library dir [/usr/lib/../lib] ==> [/usr/lib] + collapse library dir [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/../../..] ==> [/usr/lib] + implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc] + implicit objs: [/usr/lib/Scrt1.o;/usr/lib/crti.o;/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtbeginS.o;/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1/crtendS.o;/usr/lib/crtn.o] + implicit dirs: [/usr/lib/gcc/x86_64-pc-linux-gnu/12.2.1;/usr/lib;/lib] + implicit fwks: [] + + +Checking whether the ASM_NASM compiler is NASM using "-v" matched "(NASM version)": +NASM version 2.15.05 compiled on Sep 24 2020 diff --git a/libnx/build/cmake/CMakeFiles/Makefile.cmake b/libnx/build/cmake/CMakeFiles/Makefile.cmake new file mode 100644 index 0000000..740babb --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/Makefile.cmake @@ -0,0 +1,51 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.25 + +# The generator used is: +set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles") + +# The top level Makefile was generated from the following files: +set(CMAKE_MAKEFILE_DEPENDS + "CMakeCache.txt" + "/home/antifallobst/code/projects/noxos/libnx/CMakeLists.txt" + "CMakeFiles/3.25.3/CMakeASM_NASMCompiler.cmake" + "CMakeFiles/3.25.3/CMakeCCompiler.cmake" + "CMakeFiles/3.25.3/CMakeCXXCompiler.cmake" + "CMakeFiles/3.25.3/CMakeSystem.cmake" + "/usr/share/cmake/Modules/CMakeASMInformation.cmake" + "/usr/share/cmake/Modules/CMakeASM_NASMInformation.cmake" + "/usr/share/cmake/Modules/CMakeCInformation.cmake" + "/usr/share/cmake/Modules/CMakeCXXInformation.cmake" + "/usr/share/cmake/Modules/CMakeCommonLanguageInclude.cmake" + "/usr/share/cmake/Modules/CMakeGenericSystem.cmake" + "/usr/share/cmake/Modules/CMakeInitializeConfigs.cmake" + "/usr/share/cmake/Modules/CMakeLanguageInformation.cmake" + "/usr/share/cmake/Modules/CMakeSystemSpecificInformation.cmake" + "/usr/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake" + "/usr/share/cmake/Modules/Compiler/CMakeCommonCompilerMacros.cmake" + "/usr/share/cmake/Modules/Compiler/GNU-C.cmake" + "/usr/share/cmake/Modules/Compiler/GNU-CXX.cmake" + "/usr/share/cmake/Modules/Compiler/GNU.cmake" + "/usr/share/cmake/Modules/Platform/Linux-GNU-C.cmake" + "/usr/share/cmake/Modules/Platform/Linux-GNU-CXX.cmake" + "/usr/share/cmake/Modules/Platform/Linux-GNU.cmake" + "/usr/share/cmake/Modules/Platform/Linux.cmake" + "/usr/share/cmake/Modules/Platform/UnixPaths.cmake" + ) + +# The corresponding makefile is: +set(CMAKE_MAKEFILE_OUTPUTS + "Makefile" + "CMakeFiles/cmake.check_cache" + ) + +# Byproducts of CMake generate step: +set(CMAKE_MAKEFILE_PRODUCTS + "CMakeFiles/CMakeDirectoryInformation.cmake" + ) + +# Dependency information for all targets: +set(CMAKE_DEPEND_INFO_FILES + "CMakeFiles/libnx.dir/DependInfo.cmake" + "CMakeFiles/libnx_asm.dir/DependInfo.cmake" + ) diff --git a/libnx/build/cmake/CMakeFiles/Makefile2 b/libnx/build/cmake/CMakeFiles/Makefile2 new file mode 100644 index 0000000..5d831be --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/Makefile2 @@ -0,0 +1,140 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.25 + +# Default target executed when no arguments are given to make. +default_target: all +.PHONY : default_target + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Disable VCS-based implicit rules. +% : %,v + +# Disable VCS-based implicit rules. +% : RCS/% + +# Disable VCS-based implicit rules. +% : RCS/%,v + +# Disable VCS-based implicit rules. +% : SCCS/s.% + +# Disable VCS-based implicit rules. +% : s.% + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +#Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/antifallobst/code/projects/noxos/libnx + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/antifallobst/code/projects/noxos/libnx/build/cmake + +#============================================================================= +# Directory level rules for the build root directory + +# The main recursive "all" target. +all: CMakeFiles/libnx.dir/all +all: CMakeFiles/libnx_asm.dir/all +.PHONY : all + +# The main recursive "preinstall" target. +preinstall: +.PHONY : preinstall + +# The main recursive "clean" target. +clean: CMakeFiles/libnx.dir/clean +clean: CMakeFiles/libnx_asm.dir/clean +.PHONY : clean + +#============================================================================= +# Target rules for target CMakeFiles/libnx.dir + +# All Build rule for target. +CMakeFiles/libnx.dir/all: CMakeFiles/libnx_asm.dir/all + $(MAKE) $(MAKESILENT) -f CMakeFiles/libnx.dir/build.make CMakeFiles/libnx.dir/depend + $(MAKE) $(MAKESILENT) -f CMakeFiles/libnx.dir/build.make CMakeFiles/libnx.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles --progress-num=1,2,3,4,5,6 "Built target libnx" +.PHONY : CMakeFiles/libnx.dir/all + +# Build rule for subdir invocation for target. +CMakeFiles/libnx.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles 7 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/libnx.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles 0 +.PHONY : CMakeFiles/libnx.dir/rule + +# Convenience name for target. +libnx: CMakeFiles/libnx.dir/rule +.PHONY : libnx + +# clean rule for target. +CMakeFiles/libnx.dir/clean: + $(MAKE) $(MAKESILENT) -f CMakeFiles/libnx.dir/build.make CMakeFiles/libnx.dir/clean +.PHONY : CMakeFiles/libnx.dir/clean + +#============================================================================= +# Target rules for target CMakeFiles/libnx_asm.dir + +# All Build rule for target. +CMakeFiles/libnx_asm.dir/all: + $(MAKE) $(MAKESILENT) -f CMakeFiles/libnx_asm.dir/build.make CMakeFiles/libnx_asm.dir/depend + $(MAKE) $(MAKESILENT) -f CMakeFiles/libnx_asm.dir/build.make CMakeFiles/libnx_asm.dir/build + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles --progress-num=7 "Built target libnx_asm" +.PHONY : CMakeFiles/libnx_asm.dir/all + +# Build rule for subdir invocation for target. +CMakeFiles/libnx_asm.dir/rule: cmake_check_build_system + $(CMAKE_COMMAND) -E cmake_progress_start /home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles 1 + $(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/libnx_asm.dir/all + $(CMAKE_COMMAND) -E cmake_progress_start /home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles 0 +.PHONY : CMakeFiles/libnx_asm.dir/rule + +# Convenience name for target. +libnx_asm: CMakeFiles/libnx_asm.dir/rule +.PHONY : libnx_asm + +# clean rule for target. +CMakeFiles/libnx_asm.dir/clean: + $(MAKE) $(MAKESILENT) -f CMakeFiles/libnx_asm.dir/build.make CMakeFiles/libnx_asm.dir/clean +.PHONY : CMakeFiles/libnx_asm.dir/clean + +#============================================================================= +# Special targets to cleanup operation of make. + +# Special rule to run CMake to check the build system integrity. +# No rule that depends on this can have commands that come from listfiles +# because they might be regenerated. +cmake_check_build_system: + $(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0 +.PHONY : cmake_check_build_system + diff --git a/libnx/build/cmake/CMakeFiles/TargetDirectories.txt b/libnx/build/cmake/CMakeFiles/TargetDirectories.txt new file mode 100644 index 0000000..3366d20 --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/TargetDirectories.txt @@ -0,0 +1,4 @@ +/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles/libnx.dir +/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles/libnx_asm.dir +/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles/edit_cache.dir +/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles/rebuild_cache.dir diff --git a/libnx/build/cmake/CMakeFiles/cmake.check_cache b/libnx/build/cmake/CMakeFiles/cmake.check_cache new file mode 100644 index 0000000..3dccd73 --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/cmake.check_cache @@ -0,0 +1 @@ +# This file is generated by cmake for dependency checking of the CMakeCache.txt file diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/DependInfo.cmake b/libnx/build/cmake/CMakeFiles/libnx.dir/DependInfo.cmake new file mode 100644 index 0000000..c75c09e --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/libnx.dir/DependInfo.cmake @@ -0,0 +1,23 @@ + +# Consider dependencies only in project. +set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF) + +# The set of languages for which implicit dependencies are needed: +set(CMAKE_DEPENDS_LANGUAGES + ) + +# The set of dependency files which are needed: +set(CMAKE_DEPENDS_DEPENDENCY_FILES + "/home/antifallobst/code/projects/noxos/libnx/src/libc.c" "CMakeFiles/libnx.dir/src/libc.c.o" "gcc" "CMakeFiles/libnx.dir/src/libc.c.o.d" + "/home/antifallobst/code/projects/noxos/libnx/src/math.c" "CMakeFiles/libnx.dir/src/math.c.o" "gcc" "CMakeFiles/libnx.dir/src/math.c.o.d" + "/home/antifallobst/code/projects/noxos/libnx/src/memory.c" "CMakeFiles/libnx.dir/src/memory.c.o" "gcc" "CMakeFiles/libnx.dir/src/memory.c.o.d" + "/home/antifallobst/code/projects/noxos/libnx/src/stdio.c" "CMakeFiles/libnx.dir/src/stdio.c.o" "gcc" "CMakeFiles/libnx.dir/src/stdio.c.o.d" + "/home/antifallobst/code/projects/noxos/libnx/src/string.c" "CMakeFiles/libnx.dir/src/string.c.o" "gcc" "CMakeFiles/libnx.dir/src/string.c.o.d" + ) + +# Targets to which this target links. +set(CMAKE_TARGET_LINKED_INFO_FILES + ) + +# Fortran module output directory. +set(CMAKE_Fortran_TARGET_MODULE_DIR "") diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/build.make b/libnx/build/cmake/CMakeFiles/libnx.dir/build.make new file mode 100644 index 0000000..072d63e --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/libnx.dir/build.make @@ -0,0 +1,177 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.25 + +# Delete rule output on recipe failure. +.DELETE_ON_ERROR: + +#============================================================================= +# Special targets provided by cmake. + +# Disable implicit rules so canonical targets will work. +.SUFFIXES: + +# Disable VCS-based implicit rules. +% : %,v + +# Disable VCS-based implicit rules. +% : RCS/% + +# Disable VCS-based implicit rules. +% : RCS/%,v + +# Disable VCS-based implicit rules. +% : SCCS/s.% + +# Disable VCS-based implicit rules. +% : s.% + +.SUFFIXES: .hpux_make_needs_suffix_list + +# Command-line flag to silence nested $(MAKE). +$(VERBOSE)MAKESILENT = -s + +#Suppress display of executed commands. +$(VERBOSE).SILENT: + +# A target that is always out of date. +cmake_force: +.PHONY : cmake_force + +#============================================================================= +# Set environment variables for the build. + +# The shell in which to execute make rules. +SHELL = /bin/sh + +# The CMake executable. +CMAKE_COMMAND = /usr/bin/cmake + +# The command to remove a file. +RM = /usr/bin/cmake -E rm -f + +# Escaping for special characters. +EQUALS = = + +# The top-level source directory on which CMake was run. +CMAKE_SOURCE_DIR = /home/antifallobst/code/projects/noxos/libnx + +# The top-level build directory on which CMake was run. +CMAKE_BINARY_DIR = /home/antifallobst/code/projects/noxos/libnx/build/cmake + +# Include any dependencies generated for this target. +include CMakeFiles/libnx.dir/depend.make +# Include any dependencies generated by the compiler for this target. +include CMakeFiles/libnx.dir/compiler_depend.make + +# Include the progress variables for this target. +include CMakeFiles/libnx.dir/progress.make + +# Include the compile flags for this target's objects. +include CMakeFiles/libnx.dir/flags.make + +CMakeFiles/libnx.dir/src/libc.c.o: CMakeFiles/libnx.dir/flags.make +CMakeFiles/libnx.dir/src/libc.c.o: /home/antifallobst/code/projects/noxos/libnx/src/libc.c +CMakeFiles/libnx.dir/src/libc.c.o: CMakeFiles/libnx.dir/compiler_depend.ts + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object CMakeFiles/libnx.dir/src/libc.c.o" + /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT CMakeFiles/libnx.dir/src/libc.c.o -MF CMakeFiles/libnx.dir/src/libc.c.o.d -o CMakeFiles/libnx.dir/src/libc.c.o -c /home/antifallobst/code/projects/noxos/libnx/src/libc.c + +CMakeFiles/libnx.dir/src/libc.c.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/libnx.dir/src/libc.c.i" + /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/antifallobst/code/projects/noxos/libnx/src/libc.c > CMakeFiles/libnx.dir/src/libc.c.i + +CMakeFiles/libnx.dir/src/libc.c.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/libnx.dir/src/libc.c.s" + /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/antifallobst/code/projects/noxos/libnx/src/libc.c -o CMakeFiles/libnx.dir/src/libc.c.s + +CMakeFiles/libnx.dir/src/math.c.o: CMakeFiles/libnx.dir/flags.make +CMakeFiles/libnx.dir/src/math.c.o: /home/antifallobst/code/projects/noxos/libnx/src/math.c +CMakeFiles/libnx.dir/src/math.c.o: CMakeFiles/libnx.dir/compiler_depend.ts + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building C object CMakeFiles/libnx.dir/src/math.c.o" + /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT CMakeFiles/libnx.dir/src/math.c.o -MF CMakeFiles/libnx.dir/src/math.c.o.d -o CMakeFiles/libnx.dir/src/math.c.o -c /home/antifallobst/code/projects/noxos/libnx/src/math.c + +CMakeFiles/libnx.dir/src/math.c.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/libnx.dir/src/math.c.i" + /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/antifallobst/code/projects/noxos/libnx/src/math.c > CMakeFiles/libnx.dir/src/math.c.i + +CMakeFiles/libnx.dir/src/math.c.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/libnx.dir/src/math.c.s" + /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/antifallobst/code/projects/noxos/libnx/src/math.c -o CMakeFiles/libnx.dir/src/math.c.s + +CMakeFiles/libnx.dir/src/memory.c.o: CMakeFiles/libnx.dir/flags.make +CMakeFiles/libnx.dir/src/memory.c.o: /home/antifallobst/code/projects/noxos/libnx/src/memory.c +CMakeFiles/libnx.dir/src/memory.c.o: CMakeFiles/libnx.dir/compiler_depend.ts + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building C object CMakeFiles/libnx.dir/src/memory.c.o" + /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT CMakeFiles/libnx.dir/src/memory.c.o -MF CMakeFiles/libnx.dir/src/memory.c.o.d -o CMakeFiles/libnx.dir/src/memory.c.o -c /home/antifallobst/code/projects/noxos/libnx/src/memory.c + +CMakeFiles/libnx.dir/src/memory.c.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/libnx.dir/src/memory.c.i" + /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/antifallobst/code/projects/noxos/libnx/src/memory.c > CMakeFiles/libnx.dir/src/memory.c.i + +CMakeFiles/libnx.dir/src/memory.c.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/libnx.dir/src/memory.c.s" + /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/antifallobst/code/projects/noxos/libnx/src/memory.c -o CMakeFiles/libnx.dir/src/memory.c.s + +CMakeFiles/libnx.dir/src/stdio.c.o: CMakeFiles/libnx.dir/flags.make +CMakeFiles/libnx.dir/src/stdio.c.o: /home/antifallobst/code/projects/noxos/libnx/src/stdio.c +CMakeFiles/libnx.dir/src/stdio.c.o: CMakeFiles/libnx.dir/compiler_depend.ts + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building C object CMakeFiles/libnx.dir/src/stdio.c.o" + /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT CMakeFiles/libnx.dir/src/stdio.c.o -MF CMakeFiles/libnx.dir/src/stdio.c.o.d -o CMakeFiles/libnx.dir/src/stdio.c.o -c /home/antifallobst/code/projects/noxos/libnx/src/stdio.c + +CMakeFiles/libnx.dir/src/stdio.c.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/libnx.dir/src/stdio.c.i" + /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/antifallobst/code/projects/noxos/libnx/src/stdio.c > CMakeFiles/libnx.dir/src/stdio.c.i + +CMakeFiles/libnx.dir/src/stdio.c.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/libnx.dir/src/stdio.c.s" + /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/antifallobst/code/projects/noxos/libnx/src/stdio.c -o CMakeFiles/libnx.dir/src/stdio.c.s + +CMakeFiles/libnx.dir/src/string.c.o: CMakeFiles/libnx.dir/flags.make +CMakeFiles/libnx.dir/src/string.c.o: /home/antifallobst/code/projects/noxos/libnx/src/string.c +CMakeFiles/libnx.dir/src/string.c.o: CMakeFiles/libnx.dir/compiler_depend.ts + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Building C object CMakeFiles/libnx.dir/src/string.c.o" + /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -MD -MT CMakeFiles/libnx.dir/src/string.c.o -MF CMakeFiles/libnx.dir/src/string.c.o.d -o CMakeFiles/libnx.dir/src/string.c.o -c /home/antifallobst/code/projects/noxos/libnx/src/string.c + +CMakeFiles/libnx.dir/src/string.c.i: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/libnx.dir/src/string.c.i" + /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/antifallobst/code/projects/noxos/libnx/src/string.c > CMakeFiles/libnx.dir/src/string.c.i + +CMakeFiles/libnx.dir/src/string.c.s: cmake_force + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/libnx.dir/src/string.c.s" + /usr/bin/cc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/antifallobst/code/projects/noxos/libnx/src/string.c -o CMakeFiles/libnx.dir/src/string.c.s + +# Object files for target libnx +libnx_OBJECTS = \ +"CMakeFiles/libnx.dir/src/libc.c.o" \ +"CMakeFiles/libnx.dir/src/math.c.o" \ +"CMakeFiles/libnx.dir/src/memory.c.o" \ +"CMakeFiles/libnx.dir/src/stdio.c.o" \ +"CMakeFiles/libnx.dir/src/string.c.o" + +# External object files for target libnx +libnx_EXTERNAL_OBJECTS = \ +"/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles/libnx_asm.dir/src/asm/syscall.asm.o" + +libnx.so: CMakeFiles/libnx.dir/src/libc.c.o +libnx.so: CMakeFiles/libnx.dir/src/math.c.o +libnx.so: CMakeFiles/libnx.dir/src/memory.c.o +libnx.so: CMakeFiles/libnx.dir/src/stdio.c.o +libnx.so: CMakeFiles/libnx.dir/src/string.c.o +libnx.so: CMakeFiles/libnx_asm.dir/src/asm/syscall.asm.o +libnx.so: CMakeFiles/libnx.dir/build.make +libnx.so: CMakeFiles/libnx.dir/link.txt + @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "Linking C static library libnx.so" + $(CMAKE_COMMAND) -P CMakeFiles/libnx.dir/cmake_clean_target.cmake + $(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/libnx.dir/link.txt --verbose=$(VERBOSE) + +# Rule to build all files generated by this target. +CMakeFiles/libnx.dir/build: libnx.so +.PHONY : CMakeFiles/libnx.dir/build + +CMakeFiles/libnx.dir/clean: + $(CMAKE_COMMAND) -P CMakeFiles/libnx.dir/cmake_clean.cmake +.PHONY : CMakeFiles/libnx.dir/clean + +CMakeFiles/libnx.dir/depend: + cd /home/antifallobst/code/projects/noxos/libnx/build/cmake && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/antifallobst/code/projects/noxos/libnx /home/antifallobst/code/projects/noxos/libnx /home/antifallobst/code/projects/noxos/libnx/build/cmake /home/antifallobst/code/projects/noxos/libnx/build/cmake /home/antifallobst/code/projects/noxos/libnx/build/cmake/CMakeFiles/libnx.dir/DependInfo.cmake --color=$(COLOR) +.PHONY : CMakeFiles/libnx.dir/depend + diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/cmake_clean.cmake b/libnx/build/cmake/CMakeFiles/libnx.dir/cmake_clean.cmake new file mode 100644 index 0000000..dde205e --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/libnx.dir/cmake_clean.cmake @@ -0,0 +1,19 @@ +file(REMOVE_RECURSE + "CMakeFiles/libnx.dir/src/libc.c.o" + "CMakeFiles/libnx.dir/src/libc.c.o.d" + "CMakeFiles/libnx.dir/src/math.c.o" + "CMakeFiles/libnx.dir/src/math.c.o.d" + "CMakeFiles/libnx.dir/src/memory.c.o" + "CMakeFiles/libnx.dir/src/memory.c.o.d" + "CMakeFiles/libnx.dir/src/stdio.c.o" + "CMakeFiles/libnx.dir/src/stdio.c.o.d" + "CMakeFiles/libnx.dir/src/string.c.o" + "CMakeFiles/libnx.dir/src/string.c.o.d" + "libnx.pdb" + "libnx.so" +) + +# Per-language clean rules from dependency scanning. +foreach(lang ASM_NASM C) + include(CMakeFiles/libnx.dir/cmake_clean_${lang}.cmake OPTIONAL) +endforeach() diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/cmake_clean_target.cmake b/libnx/build/cmake/CMakeFiles/libnx.dir/cmake_clean_target.cmake new file mode 100644 index 0000000..7626e76 --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/libnx.dir/cmake_clean_target.cmake @@ -0,0 +1,3 @@ +file(REMOVE_RECURSE + "libnx.so" +) diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/compiler_depend.internal b/libnx/build/cmake/CMakeFiles/libnx.dir/compiler_depend.internal new file mode 100644 index 0000000..1069fbf --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/libnx.dir/compiler_depend.internal @@ -0,0 +1,31 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.25 + +CMakeFiles/libnx.dir/src/libc.c.o + /home/antifallobst/code/projects/noxos/libnx/src/libc.c + +CMakeFiles/libnx.dir/src/math.c.o + /home/antifallobst/code/projects/noxos/libnx/src/math.c + /home/antifallobst/code/projects/noxos/libnx/inc/nox/math.h + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdtypes.h + +CMakeFiles/libnx.dir/src/memory.c.o + /home/antifallobst/code/projects/noxos/libnx/src/memory.c + /home/antifallobst/code/projects/noxos/libnx/inc/nox/memory.h + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdtypes.h + +CMakeFiles/libnx.dir/src/stdio.c.o + /home/antifallobst/code/projects/noxos/libnx/src/stdio.c + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdio.h + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdtypes.h + /home/antifallobst/code/projects/noxos/libnx/inc/nox/string.h + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdtypes.h + /home/antifallobst/code/projects/noxos/libnx/inc/syscall.h + /home/antifallobst/code/projects/noxos/libnx/inc/nox/status.h + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdtypes.h + +CMakeFiles/libnx.dir/src/string.c.o + /home/antifallobst/code/projects/noxos/libnx/src/string.c + /home/antifallobst/code/projects/noxos/libnx/inc/nox/string.h + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdtypes.h + diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/compiler_depend.make b/libnx/build/cmake/CMakeFiles/libnx.dir/compiler_depend.make new file mode 100644 index 0000000..31f22de --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/libnx.dir/compiler_depend.make @@ -0,0 +1,50 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.25 + +CMakeFiles/libnx.dir/src/libc.c.o: /home/antifallobst/code/projects/noxos/libnx/src/libc.c + +CMakeFiles/libnx.dir/src/math.c.o: /home/antifallobst/code/projects/noxos/libnx/src/math.c \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/math.h \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdtypes.h + +CMakeFiles/libnx.dir/src/memory.c.o: /home/antifallobst/code/projects/noxos/libnx/src/memory.c \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/memory.h \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdtypes.h + +CMakeFiles/libnx.dir/src/stdio.c.o: /home/antifallobst/code/projects/noxos/libnx/src/stdio.c \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdio.h \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdtypes.h \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/string.h \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdtypes.h \ + /home/antifallobst/code/projects/noxos/libnx/inc/syscall.h \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/status.h \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdtypes.h + +CMakeFiles/libnx.dir/src/string.c.o: /home/antifallobst/code/projects/noxos/libnx/src/string.c \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/string.h \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdtypes.h + + +/home/antifallobst/code/projects/noxos/libnx/src/string.c: + +/home/antifallobst/code/projects/noxos/libnx/inc/syscall.h: + +/home/antifallobst/code/projects/noxos/libnx/inc/nox/string.h: + +/home/antifallobst/code/projects/noxos/libnx/inc/nox/stdio.h: + +/home/antifallobst/code/projects/noxos/libnx/src/stdio.c: + +/home/antifallobst/code/projects/noxos/libnx/inc/nox/math.h: + +/home/antifallobst/code/projects/noxos/libnx/inc/nox/stdtypes.h: + +/home/antifallobst/code/projects/noxos/libnx/src/math.c: + +/home/antifallobst/code/projects/noxos/libnx/inc/nox/status.h: + +/home/antifallobst/code/projects/noxos/libnx/inc/nox/memory.h: + +/home/antifallobst/code/projects/noxos/libnx/src/memory.c: + +/home/antifallobst/code/projects/noxos/libnx/src/libc.c: diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/compiler_depend.ts b/libnx/build/cmake/CMakeFiles/libnx.dir/compiler_depend.ts new file mode 100644 index 0000000..7e78cfb --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/libnx.dir/compiler_depend.ts @@ -0,0 +1,2 @@ +# CMAKE generated file: DO NOT EDIT! +# Timestamp file for compiler generated dependencies management for libnx. diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/depend.make b/libnx/build/cmake/CMakeFiles/libnx.dir/depend.make new file mode 100644 index 0000000..b56f06b --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/libnx.dir/depend.make @@ -0,0 +1,2 @@ +# Empty dependencies file for libnx. +# This may be replaced when dependencies are built. diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/flags.make b/libnx/build/cmake/CMakeFiles/libnx.dir/flags.make new file mode 100644 index 0000000..af48e03 --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/libnx.dir/flags.make @@ -0,0 +1,17 @@ +# CMAKE generated file: DO NOT EDIT! +# Generated by "Unix Makefiles" Generator, CMake Version 3.25 + +# compile ASM_NASM with /usr/bin/nasm +# compile C with /usr/bin/cc +ASM_NASM_DEFINES = + +ASM_NASM_INCLUDES = -I/home/antifallobst/code/projects/noxos/libnx/inc + +ASM_NASM_FLAGS = -g -fno-stack-protector -fno-stack-check -ffreestanding -m64 -march=x86-64 -mabi=sysv + +C_DEFINES = + +C_INCLUDES = -I/home/antifallobst/code/projects/noxos/libnx/inc + +C_FLAGS = -g -fno-stack-protector -fno-stack-check -ffreestanding -m64 -march=x86-64 -mabi=sysv + diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/link.txt b/libnx/build/cmake/CMakeFiles/libnx.dir/link.txt new file mode 100644 index 0000000..f97c743 --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/libnx.dir/link.txt @@ -0,0 +1,2 @@ +/usr/bin/ar qc libnx.so CMakeFiles/libnx.dir/src/libc.c.o CMakeFiles/libnx.dir/src/math.c.o CMakeFiles/libnx.dir/src/memory.c.o CMakeFiles/libnx.dir/src/stdio.c.o CMakeFiles/libnx.dir/src/string.c.o CMakeFiles/libnx_asm.dir/src/asm/syscall.asm.o +/usr/bin/ranlib libnx.so diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/progress.make b/libnx/build/cmake/CMakeFiles/libnx.dir/progress.make new file mode 100644 index 0000000..daba7fa --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/libnx.dir/progress.make @@ -0,0 +1,7 @@ +CMAKE_PROGRESS_1 = 1 +CMAKE_PROGRESS_2 = 2 +CMAKE_PROGRESS_3 = 3 +CMAKE_PROGRESS_4 = 4 +CMAKE_PROGRESS_5 = 5 +CMAKE_PROGRESS_6 = 6 + diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/src/libc.c.o b/libnx/build/cmake/CMakeFiles/libnx.dir/src/libc.c.o new file mode 100644 index 0000000000000000000000000000000000000000..fdd99a9890492e66c89c3d48f9c0ea022cf4f0a9 GIT binary patch literal 1368 zcmbVMJ!lj`6rMeEnxF@!3&dh1g;BE0-YQ8DE?GD<7U4jHR>Ea>v-gwS&Bon{?tyS2 zO%N1B5CRGo7B+&`R{yOf=8o;0w;j98&F=ICSiCrBRnpmMGe>^A zlJt_>+-!2QAtE!8Ua)4a$B_&J8O1>6OwbC0wTg&%ynctpxvw8Pht#LKkdOq@f^u>?G^yQVE8})Z@ zpQWF-=3mXNmOg!b^s}(d&-K|twR(|H!m-ZMGi7faf|WxSAwk3n%-B^NhM_U;3wc`A ze2DG+rabGk{lE$svyxs{dOlPc=e32M3{%Oh6;FE1@{R#VV?QbAqL{L?w1ER)uIgjOTcA* zqC2StrwETetT(lv$k-GL$bixvm>+{2_-$kkTMOyE;QsNkN=ChEwoLrTwGRDbN(3K(@-Y977WV%t^M?BW0OkpZrT_o{ literal 0 HcmV?d00001 diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/src/libc.c.o.d b/libnx/build/cmake/CMakeFiles/libnx.dir/src/libc.c.o.d new file mode 100644 index 0000000..8a90d70 --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/libnx.dir/src/libc.c.o.d @@ -0,0 +1,2 @@ +CMakeFiles/libnx.dir/src/libc.c.o: \ + /home/antifallobst/code/projects/noxos/libnx/src/libc.c diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/src/math.c.o b/libnx/build/cmake/CMakeFiles/libnx.dir/src/math.c.o new file mode 100644 index 0000000000000000000000000000000000000000..28b7148c1cf64fd06c71b07f78bcbedde17e3db7 GIT binary patch literal 3496 zcmbVOdrXs86u+fVKoBZaWGY)hL~&Y6VZI+lDAWne$1vbRXo1gy+EPlZ6LkL{s53rh@R3QPk`<_kX3qGS%X}p2;-ZP0_}0yAyZ7rkSiY8jJn7eS&hMPxJ?B2Y z+kU3WNb?bi2#SczB5yoI2`LVEW2<>nO@iD>o0jCG; z&2h|#h`9RGsW8c5Y50cJLE3fVUF+#*V_@o$yK#$^N{dA!e<$=-F z61=E2E<=B`F=l$D?D&(duPc5pTwZx$>eh=YkqIkbce{UBpd-_nbtU)pP#r7Mw$49nn606QQzZsc%bM$llwP)3u^yrSq z|9o=sWYkB7DLoUk+512IJZ#yh&5e%M%x`yxUi)D~Ue~X-N5(bX)6GF^Qtu=@tGLsq zK6@`Ux@$|Z;pvqaPAMr=IXiZ9`E@aq!mq_FIJZOBHfGyzL38iV{fh4t`;G?#eS1s$ zg#{s1@?i1&tkes>g%Vk0S>na(2Lp%oo@w3t-o%oP-zCgxJGyqs=mXWU3EhhKH^rZ5 z*|l%<^Y9blOAbFcd%M0qeShGU&hFVAhWnG}PiwzgMTT17V^puoo z^0Dbz+41rOl|rRRkgJrcM5RiZz#8+VkDNY!^r1P#hlm^u!~R49Uq)k0L=_8($SxI) z2=)(Xq{$;G#vUg0ED(|$B3y(K;aJub+GOs2;g{#V?FE( z@fgTY1C96x;AaYOa7nHJ$N3usxD$Mn06z)7O@Lno{|nH#4!9o<0S<28iDCVV5u{oQ zHjaZKoHxs7`%(shIM9e60DqhSzYczq0GF~tRHnKVzb|b3VSvvP;O_zs*EoMN-S=G% z`3!T%)dC#XhbYQd8?E{Rs;w56E=J4B*{wuTq_^scqM*E-C@kCxy`qRKuo?18OiN2? zjJNd#1r}~)zp&n-HyOD8locf=4k@$*nheh8{lZeCku%Yfrcx`Xptsh9a;v^@Irs*X zO<}f_nmLPgHPqsY^OsumM*K~JDZZ5&L0N2Rg*S;BMwI~#B$`?bb3aQgSi!!$ zh>$;q=CHfsZTalI=EuYf2WnP<-UJ$zAdQTt0d_yBF#$DP9!=0NyPsGd@*^Q{Ce_~R zM*>f{4#)>OnLhv@>rTW(&_ez^ihJw72{sh}=dk|S`-Ob$zldVq`tO1M^Jv^%kdIhC zHN4gDf%^L(k=19vO326hW{R;=N(@k&$yj)akGb5wZ%l*sNF|MUOQ8+5c2Dh zFUZS<1Bw3uFpPCkZw5ZbQQL$E8Uo0}ygk%l`{I6Qv6vnBxPJ^|g8jQZLQYYGjVa{s z1AY!Bf)?`IDDG|l%&aLYSfA~mls?GE{qt6v@%TZh>g63m!l`ClA)lQIZ%ft7nxevL Wx{GlAhR~ol{!Zw>+nr2pA^(4YhM#@_ literal 0 HcmV?d00001 diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/src/math.c.o.d b/libnx/build/cmake/CMakeFiles/libnx.dir/src/math.c.o.d new file mode 100644 index 0000000..9480320 --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/libnx.dir/src/math.c.o.d @@ -0,0 +1,4 @@ +CMakeFiles/libnx.dir/src/math.c.o: \ + /home/antifallobst/code/projects/noxos/libnx/src/math.c \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/math.h \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdtypes.h diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/src/memory.c.o b/libnx/build/cmake/CMakeFiles/libnx.dir/src/memory.c.o new file mode 100644 index 0000000000000000000000000000000000000000..a1b9f0974530a535b55c5fcd9787ba483c72bb6a GIT binary patch literal 5488 zcmbW43pmtS8^HhLGH!!WZi%9=70NWJRg{|8sY#bl8@9d@LnA%8HKsxrBr-d0C03|x zNlGp4C-h}~7`I1T>8=plr(IDhT}Z0$oN*50r03bE^F06mdEei8-}9dLJ?H)<+5EIdFmfyfGRf$weWyKGd+raX#+(66WR2sF5nX*0P zf^_S_9?lyMq$9VP*Gu8)^^oE-Y^w;@LJgnk&@92h3#+7TX6*H4S-C$~$2m_m+Wtq3h>3Ga7%4a!yvGGrzB{Ha3sdijQY7_9#7!KC-i7VY6E9q@Ka|eRh41 zivuY2YQ^&1I%(}~;TO9c^ePiH`wWzHP3H_ohZG{`J`T}hBQTQ zqeo?vMtR(1e=*0q@7+JAw^^m!P^1M9FiUD`S#27dsh1~ogJM$JS~)Ea%4SQIb-wLh z!OJiE?qcO6v5SLirt{J42WlNxeJ)3ot6Z)eAAaC%WWH{yN1`M)u#5M2HlM-Ix6Uu9 zyfyc&+n<5CEz={n6dZZAXZ9avoU@I0^cLy)C4FKn(9-KFP5w30wDt6U%{6N8&G`RN z-0?8d!^`e=VZM?6os8J?o#RqxYrOY7meYM(bTlK8|GsF-z}dJLaqiJ6!Wu)9l?gX4 z(N{{dU&h~1rfc4sljm!`bZ2&NR>HIQDZxg^FaP^n<3WWTnycr@)m`>H%ITq50g09B zRcxkmn|bY$IDgaaX!H7m+V9SVZ@R8ex7*Kaerm+cx2|}uGHGpA z$3bCI#{68?*;nU0muYK$4Me9zoe%#auaJ)R)@EEb#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adCeb`4eVTEAl5f_QN~}2+&miT?WV6 zkw3Zrc>T}@wlZ+RIZ1yeG7N=Aa*gya0b^tBpQ-kc6A$^q{bPa)`{Vr^D>ihALx!p- qVfecW5$O-l1o`X(L?xr=Z!%Qm8d*R1JwKMeA6kE{oG%nf|NjG7S@>lD literal 0 HcmV?d00001 diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/src/memory.c.o.d b/libnx/build/cmake/CMakeFiles/libnx.dir/src/memory.c.o.d new file mode 100644 index 0000000..003cf87 --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/libnx.dir/src/memory.c.o.d @@ -0,0 +1,4 @@ +CMakeFiles/libnx.dir/src/memory.c.o: \ + /home/antifallobst/code/projects/noxos/libnx/src/memory.c \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/memory.h \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdtypes.h diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/src/stdio.c.o b/libnx/build/cmake/CMakeFiles/libnx.dir/src/stdio.c.o new file mode 100644 index 0000000000000000000000000000000000000000..77b0c473428d455dd3166fbda2d96d860cec800f GIT binary patch literal 6512 zcmbW5eLU6IAHcsik6Y4}hlJTh4{CK&YLzA=Tr)zkY#H}*Jro!BUJXrMHR;Nvg(Rh) z`IR!8wQ3^fVPhyg>CswEk}WMorKS0ubMNP%Lx22sUa#->oX`97c+UAg-MiW81Ltup z7DF0~S;h=YgfdKz?(o=NF|=n47=6ZvC%?}o*h2@ zD1xiJhbOQ9QH41DA3mz1eAs9v{b&{_Q-h*pc`cUY7kKj8DqQ4`$VEAs;o{gCyf2&v zPhriF**IdxORkpQo_Nw}u(6IAT3a_2q(%+9;1-t`xy#n0&YqndIvCNAb6eGMZHB>{ zg)4ZCI?PNBdp$kg3QHcFy~U#NKW<4EIk}l88ZoLZIvYB#rzf`ys&2+d9k_a5;@H7+ z>d24e`v3i`uQj2B-#Uxk#g5jRY11;-&^Pl??5CIZEO&i8!};^Qn(qHC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P{c^$B|-d%h=6FJ zI3!9O$%F(&L`j59h*-!EWnelm?+N@8DRd;cFPL$-tnp zeT*S$G|y1tQT(UZaP%lwG#p189VC9g5-Z~1T_gN$xN)%k_z|4E+VIX}9cg4|F;_>& zPvAcZ3@{&g6&X-`3CKp!V|V4tR0(DQ$8qpIPnzOkfCQ4)3i2)n1Hxc*=NA+|0*SMMllld~ODKDiw}Rp%ZzIJ?-cE||hxNS=oa80%>v2#o znHR~cL-8tzV*;GSA?rDpvabYL9Sm@MKng94(qWG^MlkXIq z7st_o`bWN}FkcSb7W|0)`@ok|+#9$H#mW8r0mVbW-izWQ;N*J)i?BrsOAgp$Hj>*@ zoa|#D#RVYCC{C{PgA{K9xtikSeq^|k_(&;VfO@G|*@uylSQx?QN`-M!h8xV6@)@o` zB4M}+8Y~pVh6aR-LZXmPG3E;dV&R5Y)O;~t6e@hxB_doTBrYfq8Dboukb|NkBZVTA zQWPZ>a?wwcIT9&9Xg$cGqF8RU7=0p&rSXtU7#0vB=0}nb2AJo+?KsF0?-{wiNgR6^ z(0@X}b`vwk7>)4voc$0{4tns%C~8H@j=_I7VqfwdXb2qN515a#Ky|s12;<@ z(vNJ!pD-UZph{GzzJ~>|B8Je@ww{QORsR|tr33ND_2b+mKdC<)v9ap!g8T=RVTR7c zpMYRA7%TsF$gc?n#Ef7WvKh-i4)#rsgN$gj ze+JSi{72Z}Aqzj0Q8Q6?LuZng^m~zpjE9WS;4SbU$?%xA#qVQm3YQBuQ8W(tll>!{ z)KBCZG{7-we^2ngMhu~+{qcVcW9?rC{D8yjgB#vIyrsmS?B7_qvArc2%3#8J;7j}C l#|(Y%WB($oK+Rd%4V@v}kc?{@%b$Y_MveRqQ%a-P|9=v86q*14 literal 0 HcmV?d00001 diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/src/stdio.c.o.d b/libnx/build/cmake/CMakeFiles/libnx.dir/src/stdio.c.o.d new file mode 100644 index 0000000..91def76 --- /dev/null +++ b/libnx/build/cmake/CMakeFiles/libnx.dir/src/stdio.c.o.d @@ -0,0 +1,9 @@ +CMakeFiles/libnx.dir/src/stdio.c.o: \ + /home/antifallobst/code/projects/noxos/libnx/src/stdio.c \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdio.h \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdtypes.h \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/string.h \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdtypes.h \ + /home/antifallobst/code/projects/noxos/libnx/inc/syscall.h \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/status.h \ + /home/antifallobst/code/projects/noxos/libnx/inc/nox/stdtypes.h diff --git a/libnx/build/cmake/CMakeFiles/libnx.dir/src/string.c.o b/libnx/build/cmake/CMakeFiles/libnx.dir/src/string.c.o new file mode 100644 index 0000000000000000000000000000000000000000..2abacad1ba786a39d1b696f229f03da82d3c989d GIT binary patch literal 3512 zcmbtWeN0nV6u+;977?K<6^kDWGGu&cEtM_k0L!O!qSHmRWH??w9#w(DN^zjhfe-?M zU)fZcE=xq2X1WnS*k&OsQ_zz!Qb;e^x z*N`!++q#s|)n^X}wWAtm*)WD4uR0BLUvkfZytT^rz4f!x>Fjm(Fb9-PDK#_2lhs<| zoK%HIbF3;la-Cndf2-b^7!q=&uR|`0lTg5mB5Dp7 zUek*9SM7=wHKZwTmnilq817(9iYu#eu+PMrZ#JM(jZ%qZx5lU89-yDvG5wg98wOqN zH}hR4mX(`W*YV%mUG29XD)L!2#Jqec*pjP1!m?E{E|z77q?(l8{>w_O z!trWLXGE6c)PXP6y6x5JyCTG5X{>mTv@bVuoJ6uDIG&N9riuQCpuT!c{YwTsp%F2G z5;N`yQJDZy-*CA9P zm6*JB?~SROy{#*7vs#w^H2SG{#tHfTA2WikcT_~`-yW!Qw9d+We%)7Iy=S58r>WO# zq7zOe`SgVkDStVc(^wPO`e*zHmnXh6f9=Le-SYDrl0TolGU0Gi)T-gsD%FFpFCP>= zITX81HTk!W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ji4e2;4ZWY2Mx7!7`-%3SkQ}Iwczw31-V?BY zkqRWxB^cFZ^&49AmC=)mgjUK(^~<&&&9ASibHM)+m8LSm>chiYE8oZv{vR2BZq4V= z3;tb}=->apEU}so%CwlwPuU(*BmK)HtqVQav0Dz6qS zE9IR$QuQAUng4Cb&>Iq|-7k5MVld$g>$DaDt%JfsWY)f+QIi75|IrNdi;S}N51S~n sCjb6$GWkc8k=CJMF=3I`<{9 literal 0 HcmV?d00001 diff --git a/inc/nox/math.h b/libnx/inc/public/nox/math.h similarity index 100% rename from inc/nox/math.h rename to libnx/inc/public/nox/math.h diff --git a/libnx/inc/public/nox/memory.h b/libnx/inc/public/nox/memory.h new file mode 100644 index 0000000..6ccf5e1 --- /dev/null +++ b/libnx/inc/public/nox/memory.h @@ -0,0 +1,14 @@ +// This file is part of noxos and licensed under the MIT open source license + +#ifndef LIBNX_MEMORY_H +#define LIBNX_MEMORY_H + +#include "public/nox/stdtypes.h" + +void memcpy (void* dest, void* src, uint64_t n); +void memset (void* dest, uint8_t data, uint64_t n); +bool memcmp (void* a, void* b, uint64_t n); +void* malloc (uint64_t size); +void free (void* addr); + +#endif //LIBNX_MEMORY_H diff --git a/libnx/inc/public/nox/stdio.h b/libnx/inc/public/nox/stdio.h new file mode 100644 index 0000000..22f691d --- /dev/null +++ b/libnx/inc/public/nox/stdio.h @@ -0,0 +1,6 @@ +// This file is part of noxos and licensed under the MIT open source license + +#ifndef LIBNX_STDIO_H +#define LIBNX_STDIO_H + +#endif //LIBNX_STDIO_H diff --git a/inc/nox/stdtypes.h b/libnx/inc/public/nox/stdtypes.h similarity index 83% rename from inc/nox/stdtypes.h rename to libnx/inc/public/nox/stdtypes.h index dcfe6d6..eebc88c 100644 --- a/inc/nox/stdtypes.h +++ b/libnx/inc/public/nox/stdtypes.h @@ -1,7 +1,7 @@ // This file is part of noxos and licensed under the MIT open source license -#ifndef NOX_LIBC_STDTYPES_H -#define NOX_LIBC_STDTYPES_H +#ifndef LIBNX_STDTYPES_H +#define LIBNX_STDTYPES_H typedef unsigned char uint8_t; typedef signed char int8_t; @@ -19,4 +19,4 @@ typedef _Bool bool; #define NULL (void*)0 -#endif //NOX_LIBC_STDTYPES_H +#endif //LIBNX_STDTYPES_H diff --git a/inc/nox/string.h b/libnx/inc/public/nox/string.h similarity index 57% rename from inc/nox/string.h rename to libnx/inc/public/nox/string.h index f2f7dc0..f89df67 100644 --- a/inc/nox/string.h +++ b/libnx/inc/public/nox/string.h @@ -1,12 +1,12 @@ // This file is part of noxos and licensed under the MIT open source license -#ifndef NOX_LIBC_STRING_H -#define NOX_LIBC_STRING_H +#ifndef LIBNX_STRING_H +#define LIBNX_STRING_H -#include "nox/stdtypes.h" +#include "public/nox/stdtypes.h" typedef const char* string_t; uint64_t strlen(string_t str); -#endif //NOX_LIBC_STRING_H +#endif //LIBNX_STRING_H diff --git a/libnx/inc/public/nox/syscall.h b/libnx/inc/public/nox/syscall.h new file mode 100644 index 0000000..5f54be6 --- /dev/null +++ b/libnx/inc/public/nox/syscall.h @@ -0,0 +1,30 @@ +// This file is part of noxos and licensed under the MIT open source license + +#ifndef LIBC_SYSCALL_H +#define LIBC_SYSCALL_H + +#include "public/nox/stdtypes.h" +#include "public/nox/string.h" + +uint64_t nx_fs_open (string_t path, uint64_t len, uint64_t* fd); +uint64_t nx_fs_close (uint64_t fd); +uint64_t nx_fs_read (uint64_t fd, uint64_t offset, void* mem, uint64_t n); +uint64_t nx_fs_write (uint64_t fd, uint64_t offset, void* mem, uint64_t n); +uint64_t nx_fs_delete (string_t path, uint64_t len); +uint64_t nx_fs_list (string_t path, uint64_t len, void* mem, uint64_t* needed_mem); +uint64_t nx_fs_info (uint64_t fd, uint64_t attr, void* mem); + +uint64_t nx_mem_alloc (void* addr, uint64_t n, uint64_t flags); +uint64_t nx_mem_free (void* addr, uint64_t n); +uint64_t nx_mem_label (void* addr, uint64_t len, uint64_t* fd); +uint64_t nx_mem_unlabel (uint64_t* fd); + +uint64_t nx_proc_create (void* conf, uint64_t* pid); +uint64_t nx_proc_signal_send (uint64_t pid, uint64_t signal); +uint64_t nx_proc_signal_set_handler (uint64_t signal, void* handler); +uint64_t nx_thread_create (void* addr, uint64_t* tid); +uint64_t nx_thread_start (uint64_t tid); +uint64_t nx_thread_stop (uint64_t tid); +uint64_t nx_thread_kill (uint64_t tid); + +#endif //LIBC_SYSCALL_H diff --git a/src/asm/syscall.asm b/libnx/src/asm/syscall.asm similarity index 100% rename from src/asm/syscall.asm rename to libnx/src/asm/syscall.asm diff --git a/src/math.c b/libnx/src/math.c similarity index 54% rename from src/math.c rename to libnx/src/math.c index 65c26b1..c539b33 100644 --- a/src/math.c +++ b/libnx/src/math.c @@ -1,11 +1,11 @@ // This file is part of noxos and licensed under the MIT open source license -#include "nox/math.h" +#include "public/nox/math.h" -uint64_t min(uint64_t a, uint64_t b) { +uint64_t min (uint64_t a, uint64_t b) { return a < b ? a : b; } -uint64_t max(uint64_t a, uint64_t b) { +uint64_t max (uint64_t a, uint64_t b) { return a > b ? a : b; -} \ No newline at end of file +} diff --git a/libnx/src/memory.c b/libnx/src/memory.c new file mode 100644 index 0000000..ec808f5 --- /dev/null +++ b/libnx/src/memory.c @@ -0,0 +1,72 @@ +// This file is part of noxos and licensed under the MIT open source license + +#include "public/nox/memory.h" + +void memcpy(void* dest, void* src, uint64_t n) { + uint32_t n_64 = n >> 3; // fast division by 8 + uint64_t* src_64 = (uint64_t*)src; + uint64_t* dest_64 = (uint64_t*)dest; + + for (uint32_t i = 0; i < n_64; i++) { + dest_64[i] = src_64[i]; + } + + uint32_t n_8 = n % 8; + uint8_t* src_8 = &((uint8_t*)src)[n - n_8]; + uint8_t* dest_8 = &((uint8_t*)dest)[n - n_8]; + + for (uint32_t i = 0; i < n_8; i++) { + dest_8[i] = src_8[i]; + } +} + +void memset(void* dest, uint8_t data, uint64_t n) { + uint32_t n_64 = n >> 3; // fast division by 8 + uint64_t* dest_64 = (uint64_t*)dest; + uint64_t data_64 = data; + + data_64 |= (data_64 << 8) | (data_64 << 16) | (data_64 << 24) | (data_64 << 32) | (data_64 << 40) | (data_64 << 48) | (data_64 << 56); + + for (uint32_t i = 0; i < n_64; i++) { + dest_64[i] = data_64; + } + + uint32_t n_8 = n % 8; + uint8_t* dest_8 = &((uint8_t*)dest)[n - n_8]; + + for (uint32_t i = 0; i < n_8; i++) { + dest_8[i] = data; + } +} + +bool memcmp(void* a, void* b, uint64_t n) { + uint32_t n_64 = n >> 3; // fast division by 8 + uint64_t* a_64 = (uint64_t*)a; + uint64_t* b_64 = (uint64_t*)b; + + for (uint32_t i = 0; i < n_64; i++) { + if (a_64[i] != b_64[i]) { + return false; + } + } + + uint32_t n_8 = n % 8; + uint8_t* a_8 = &((uint8_t*)a)[n - n_8]; + uint8_t* b_8 = &((uint8_t*)b)[n - n_8]; + + for (uint32_t i = 0; i < n_8; i++) { + if (a_8[i] != b_8[i]) { + return false; + } + } + + return true; +} + +void* malloc(uint64_t size) { + +} + +void free(void* addr) { + +} diff --git a/src/libc.c b/libnx/src/stdio.c similarity index 71% rename from src/libc.c rename to libnx/src/stdio.c index b92bff6..263ea62 100644 --- a/src/libc.c +++ b/libnx/src/stdio.c @@ -1 +1,3 @@ // This file is part of noxos and licensed under the MIT open source license + +#include "public/nox/stdio.h" diff --git a/src/string.c b/libnx/src/string.c similarity index 71% rename from src/string.c rename to libnx/src/string.c index b338e5e..87aacf2 100644 --- a/src/string.c +++ b/libnx/src/string.c @@ -1,9 +1,9 @@ // This file is part of noxos and licensed under the MIT open source license -#include "nox/string.h" +#include "public/nox/string.h" uint64_t strlen(string_t str) { uint64_t n = 0; - while (*str++ != '\0') n++; + while (str[n++]); return n; } \ No newline at end of file diff --git a/libnx/src/syscall.c b/libnx/src/syscall.c new file mode 100644 index 0000000..5a4ea9b --- /dev/null +++ b/libnx/src/syscall.c @@ -0,0 +1,28 @@ +// This file is part of noxos and licensed under the MIT open source license + +#include "public/nox/syscall.h" + +extern uint64_t syscall_perform(uint64_t id, uint64_t arg1, uint64_t arg2, uint64_t arg3, uint64_t arg4); + +typedef enum { + NX_FS_OPEN = 0x0001, + NX_FS_CLOSE = 0x0002, + NX_FS_READ = 0x0003, + NX_FS_WRITE = 0x0004, + NX_FS_DELETE = 0x0005, + NX_FS_LIST = 0x0006, + NX_FS_INFO = 0x0007, + + NX_MEM_ALLOC = 0x0101, + NX_MEM_FREE = 0x0102, + NX_MEM_LABEL = 0x0103, + NX_MEM_UNLABEL = 0x0104, + + NX_PROC_CREATE = 0x0201, + NX_PROC_SIGNAL_SEND = 0x0202, + NX_PROC_SIGNAL_SET_HANDLER = 0x0203, + NX_PROC_THREAD_CREATE = 0x0204, + NX_PROC_THREAD_START = 0x0205, + NX_PROC_THREAD_PAUSE = 0x0206, + NX_PROC_THREAD_KILL = 0x0207, +} syscall_E; \ No newline at end of file diff --git a/src/memory.c b/src/memory.c deleted file mode 100644 index 21b0353..0000000 --- a/src/memory.c +++ /dev/null @@ -1,64 +0,0 @@ -// This file is part of noxos and licensed under the MIT open source license - -#include "nox/memory.h" - -void memcpy(void* source, void* destination, uint32_t num) { - uint32_t num_64 = num / 8; - uint64_t* src_64 = (uint64_t*)source; - uint64_t* dst_64 = (uint64_t*)destination; - - for (uint32_t i = 0; i < num_64; i++) { - dst_64[i] = src_64[i]; - } - - uint32_t num_8 = num % 8; - uint8_t* src_8 = &((uint8_t*)source)[num - num_8]; - uint8_t* dst_8 = &((uint8_t*)destination)[num - num_8]; - - for (uint32_t i = 0; i < num_8; i++) { - dst_8[i] = src_8[i]; - } -} - -void memset(void* destination, uint8_t data, uint32_t num) { - uint32_t num_64 = num / 8; - uint64_t* dst_64 = (uint64_t*)destination; - uint64_t data_64 = data; - - data_64 |= (data_64 << 8) | (data_64 << 16) | (data_64 << 24) | (data_64 << 32) | (data_64 << 40) | (data_64 << 48) | (data_64 << 56); - - for (uint32_t i = 0; i < num_64; i++) { - dst_64[i] = data_64; - } - - uint32_t num_8 = num % 8; - uint8_t* dst_8 = &((uint8_t*)destination)[num - num_8]; - - for (uint32_t i = 0; i < num_8; i++) { - dst_8[i] = data; - } -} - -bool memcmp(void* a, void* b, uint32_t num) { - uint32_t num_64 = num / 8; - uint64_t* a_64 = (uint64_t*)a; - uint64_t* b_64 = (uint64_t*)b; - - for (uint32_t i = 0; i < num_64; i++) { - if (a_64[i] != b_64[i]) { - return false; - } - } - - uint32_t num_8 = num % 8; - uint8_t* a_8 = &((uint8_t*)a)[num - num_8]; - uint8_t* b_8 = &((uint8_t*)b)[num - num_8]; - - for (uint32_t i = 0; i < num_8; i++) { - if (a_8[i] != b_8[i]) { - return false; - } - } - - return true; -} \ No newline at end of file diff --git a/src/stdio.c b/src/stdio.c deleted file mode 100644 index 0770642..0000000 --- a/src/stdio.c +++ /dev/null @@ -1,32 +0,0 @@ -// This file is part of noxos and licensed under the MIT open source license - -#include "nox/stdio.h" -#include "syscall.h" - -file_t fopen(string_t path) { - file_t fd; - syscall_perform(SYSCALL_FILES_OPEN, (uint64_t)path, 0, (uint64_t)&fd, 0); - return fd; -} - -void fclose(file_t file) { - syscall_perform(SYSCALL_FILES_CLOSE, file, 0, 0, 0); -} - -uint64_t fread(file_t file, uint32_t offset, void* buffer, uint32_t num) { - return syscall_perform(SYSCALL_FILES_READ, file, offset, (uint64_t)buffer, num); -} - -uint64_t fwrite(file_t file, uint32_t offset, void* buffer, uint32_t num) { - return syscall_perform(SYSCALL_FILES_WRITE, file, offset, (uint64_t)buffer, num); -} - -void printf(string_t format) { - fwrite(STDOUT, 0, (void*)format, strlen(format)); -} - -char getc() { - char chr; - while (fread(STDIN, 0, &chr, 1) == 0); - return chr; -} \ No newline at end of file