diff --git a/,vscode/c_cpp_properties.json b/,vscode/c_cpp_properties.json deleted file mode 100644 index 93d0a09..0000000 --- a/,vscode/c_cpp_properties.json +++ /dev/null @@ -1,67 +0,0 @@ -{ - "env": { - "myDefaultIncludePath": ["${workspaceFolder}", "${workspaceFolder}/include"], - "myCompilerPath": "/usr/local/bin/" - }, - "configurations": [ - { - "name": "Linux", - "intelliSenseMode": "clang-x64", - "includePath": ["${myDefaultIncludePath}", "/another/path"], - "macFrameworkPath": ["/System/Library/Frameworks"], - "defines": ["FOO", "BAR=100"], - "forcedInclude": ["${workspaceFolder}/include/config.h"], - "compilerPath": "/usr/bin/clang", - "cStandard": "c17", - "cppStandard": "c++20", - "compileCommands": "/path/to/compile_commands.json", - "browse": { - "path": ["${workspaceFolder}"], - "limitSymbolsToIncludedHeaders": true, - "databaseFilename": "" - } - }, - { - "name": "linux-gcc-x64", - "includePath": [ - "${workspaceFolder}/**" - ], - "compilerPath": "/usr/bin/gcc", - "cStandard": "${default}", - "cppStandard": "${default}", - "intelliSenseMode": "linux-gcc-x64", - "compilerArgs": [ - "-Wall", - "-Wextra", - "-Wpedantic" - ], - "configurationProvider": "ms-vscode.makefile-tools" - }, - { - "name": "Linux", - "includePath": [ - "/usr/include/x86_64-linux-gnu/c++/5", - "/usr/include/c++/5", - "/usr/local/include", - "/usr/include/x86_64-linux-gnu", - "/usr/include", - "${workspaceRoot}" - ], - "defines": [], - "intelliSenseMode": "clang-x64", - "browse": { - "path": [ - "/usr/include/x86_64-linux-gnu/c++/5", - "/usr/include/c++/5", - "/usr/local/include", - "/usr/include/x86_64-linux-gnu", - "/usr/include", - "${workspaceRoot}" - ], - "limitSymbolsToIncludedHeaders": true, - "databaseFilename": "" - } - } - ], - "version": 4 - } \ No newline at end of file diff --git a/,vscode/tasks.json b/,vscode/tasks.json deleted file mode 100644 index cbf6aa3..0000000 --- a/,vscode/tasks.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - // See https://go.microsoft.com/fwlink/?LinkId=733558 - // for the documentation about the tasks.json format - "version": "2.0.0", - "tasks": [ - { - "label": "", - "type": "cmake", - "command": "test", - "problemMatcher": [ - "" - ] - } - ] -} \ No newline at end of file diff --git a/,vscode/ClassicOS.code-workspace b/.vscode/ClassicOS.code-workspace similarity index 100% rename from ,vscode/ClassicOS.code-workspace rename to .vscode/ClassicOS.code-workspace diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json new file mode 100644 index 0000000..c508c51 --- /dev/null +++ b/.vscode/c_cpp_properties.json @@ -0,0 +1,25 @@ +{ + "configurations": [ + { + "name": "Linux", + "includePath": [ + "${workspaceFolder}/**", + "/usr/include/**" + ], + "defines": [], + "compilerPath": "/usr/bin/gcc", + "cStandard": "c17", + "cppStandard": "c++20", + "intelliSenseMode": "gcc-x64", + "browse": { + "path": [ + "${workspaceFolder}/**", + "/usr/include/**" + ], + "limitSymbolsToIncludedHeaders": true, + "databaseFilename": "" + } + } + ], + "version": 4 +} \ No newline at end of file diff --git a/,vscode/compile_commands.json b/.vscode/compile_commands.json similarity index 100% rename from ,vscode/compile_commands.json rename to .vscode/compile_commands.json diff --git a/,vscode/extensions.json b/.vscode/extensions.json similarity index 100% rename from ,vscode/extensions.json rename to .vscode/extensions.json diff --git a/,vscode/launch.json b/.vscode/launch.json similarity index 100% rename from ,vscode/launch.json rename to .vscode/launch.json diff --git a/,vscode/settings.json b/.vscode/settings.json similarity index 97% rename from ,vscode/settings.json rename to .vscode/settings.json index 03a3695..4e367ac 100644 --- a/,vscode/settings.json +++ b/.vscode/settings.json @@ -88,11 +88,11 @@ "c-cpp-flylint.flexelint.executable": "", "c-cpp-flylint.language": "c", "C_Cpp.autocompleteAddParentheses": true, - "C_Cpp.errorSquiggles": "Enabled", + "C_Cpp.errorSquiggles": "enabled", "C_Cpp_Runner.makePath": "", "cmake.sourceDirectory": "${workspaceFolder}", "C_Cpp.default.compilerPath": "/usr/bin", - "C_Cpp.loggingLevel": "", + "C_Cpp.loggingLevel": "Error", "C_Cpp.default.enableConfigurationSquiggles": "", "C_Cpp.default.includePath": "/usr/bin", "workbench.editorAssociations": { diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..46ad118 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,85 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Compile C program", + "type": "shell", + "command": "/usr/bin/gcc", + "args": [ + "-std=c17", + "-Wall", + "-Wextra", + "-pedantic", + "-g", + "${file}", + "-o", + "${fileDirname}/${fileBasenameNoExtension}" + ], + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "Compile C++ program", + "type": "shell", + "command": "/usr/bin/g++", + "args": [ + "-std=c++20", + "-Wall", + "-Wextra", + "-pedantic", + "-g", + "${file}", + "-o", + "${fileDirname}/${fileBasenameNoExtension}" + ], + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "Assemble NASM program", + "type": "shell", + "command": "/usr/bin/nasm", + "args": [ + "-f", + "elf64", + "${file}", + "-o", + "${fileDirname}/${fileBasenameNoExtension}.o" + ], + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "Link object file", + "type": "shell", + "command": "/usr/bin/ld", + "args": [ + "${fileDirname}/${fileBasenameNoExtension}.o", + "-o", + "${fileDirname}/${fileBasenameNoExtension}" + ], + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "Run program", + "type": "shell", + "command": "qemu-x86_64", + "args": [ + "${fileDirname}/${fileBasenameNoExtension}" + ], + "group": { + "kind": "test", + "isDefault": true + } + } + ] +} \ No newline at end of file diff --git a/CMakeLists.txt b/CMakeLists.txt index 6cf3429..8fc6582 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,17 +6,6 @@ add_library(lib STATIC src/lib/mylib.h ) -target_include_directories(ClassicOS PRIVATE - include - src/boot - src/kernel - src/drivers -) - -add_subdirectory(src/boot) -add_subdirectory(src/kernel) -add_subdirectory(src/drivers) - add_executable(ClassicOS src/boot/boot.asm src/kernel/kernel.c @@ -29,8 +18,6 @@ target_link_libraries(ClassicOS PRIVATE pthread ) -target_compile_features(ClassicOS PRIVATE c_std_17 cxx_std_20) - set(CMAKE_C_COMPILER gcc) set(CMAKE_LINKER ld) set(CMAKE_EXE_LINKER_FLAGS "-g") diff --git a/build/CMakeCache.txt b/build/CMakeCache.txt index 89d4496..79410f4 100644 --- a/build/CMakeCache.txt +++ b/build/CMakeCache.txt @@ -24,16 +24,14 @@ CMAKE_BUILD_TYPE:STRING= //Enable/Disable color output during build. CMAKE_COLOR_MAKEFILE:BOOL=ON -//CXX compiler -CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++ +//No help, variable specified on the command line. +CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/clang++ -//A wrapper around 'ar' adding the appropriate '--plugin' option -// for the GCC compiler -CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-8 +//LLVM archiver +CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/lib/llvm-7/bin/llvm-ar -//A wrapper around 'ranlib' adding the appropriate '--plugin' option -// for the GCC compiler -CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-8 +//Generate index for LLVM archive +CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/lib/llvm-7/bin/llvm-ranlib //Flags used by the CXX compiler during all build types. CMAKE_CXX_FLAGS:STRING= @@ -50,16 +48,14 @@ 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 +//No help, variable specified on the command line. +CMAKE_C_COMPILER:FILEPATH=/usr/bin/clang -//A wrapper around 'ar' adding the appropriate '--plugin' option -// for the GCC compiler -CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-8 +//LLVM archiver +CMAKE_C_COMPILER_AR:FILEPATH=/usr/lib/llvm-7/bin/llvm-ar -//A wrapper around 'ranlib' adding the appropriate '--plugin' option -// for the GCC compiler -CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-8 +//Generate index for LLVM archive +CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/lib/llvm-7/bin/llvm-ranlib //Flags used by the C compiler during all build types. CMAKE_C_FLAGS:STRING= @@ -307,7 +303,7 @@ 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=4 +CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1 //ADVANCED property for variable: CMAKE_OBJCOPY CMAKE_OBJCOPY-ADVANCED:INTERNAL=1 //ADVANCED property for variable: CMAKE_OBJDUMP diff --git a/build/CMakeFiles/3.13.4/CMakeCCompiler.cmake b/build/CMakeFiles/3.13.4/CMakeCCompiler.cmake index 3f570ea..e5e8746 100644 --- a/build/CMakeFiles/3.13.4/CMakeCCompiler.cmake +++ b/build/CMakeFiles/3.13.4/CMakeCCompiler.cmake @@ -1,7 +1,7 @@ -set(CMAKE_C_COMPILER "/usr/bin/cc") +set(CMAKE_C_COMPILER "/usr/bin/clang") set(CMAKE_C_COMPILER_ARG1 "") -set(CMAKE_C_COMPILER_ID "GNU") -set(CMAKE_C_COMPILER_VERSION "8.3.0") +set(CMAKE_C_COMPILER_ID "Clang") +set(CMAKE_C_COMPILER_VERSION "7.0.1") set(CMAKE_C_COMPILER_VERSION_INTERNAL "") set(CMAKE_C_COMPILER_WRAPPER "") set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11") @@ -17,11 +17,11 @@ set(CMAKE_C_SIMULATE_VERSION "") set(CMAKE_AR "/usr/bin/ar") -set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-8") +set(CMAKE_C_COMPILER_AR "/usr/lib/llvm-7/bin/llvm-ar") set(CMAKE_RANLIB "/usr/bin/ranlib") -set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-8") +set(CMAKE_C_COMPILER_RANLIB "/usr/lib/llvm-7/bin/llvm-ranlib") set(CMAKE_LINKER "/usr/bin/ld") -set(CMAKE_COMPILER_IS_GNUCC 1) +set(CMAKE_COMPILER_IS_GNUCC ) set(CMAKE_C_COMPILER_LOADED 1) set(CMAKE_C_COMPILER_WORKS TRUE) set(CMAKE_C_ABI_COMPILED TRUE) @@ -69,5 +69,5 @@ endif() set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "gcc;gcc_s;c;gcc;gcc_s") -set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/8;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib") +set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/8;/usr/lib/x86_64-linux-gnu;/usr/lib64;/lib/x86_64-linux-gnu;/lib64;/usr/lib;/usr/lib/llvm-7/lib;/lib") set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/build/CMakeFiles/3.13.4/CMakeCXXCompiler.cmake b/build/CMakeFiles/3.13.4/CMakeCXXCompiler.cmake index 5a956a9..a6c4196 100644 --- a/build/CMakeFiles/3.13.4/CMakeCXXCompiler.cmake +++ b/build/CMakeFiles/3.13.4/CMakeCXXCompiler.cmake @@ -1,7 +1,7 @@ -set(CMAKE_CXX_COMPILER "/usr/bin/c++") +set(CMAKE_CXX_COMPILER "/usr/bin/clang++") set(CMAKE_CXX_COMPILER_ARG1 "") -set(CMAKE_CXX_COMPILER_ID "GNU") -set(CMAKE_CXX_COMPILER_VERSION "8.3.0") +set(CMAKE_CXX_COMPILER_ID "Clang") +set(CMAKE_CXX_COMPILER_VERSION "7.0.1") set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "") set(CMAKE_CXX_COMPILER_WRAPPER "") set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14") @@ -19,11 +19,11 @@ set(CMAKE_CXX_SIMULATE_VERSION "") set(CMAKE_AR "/usr/bin/ar") -set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar-8") +set(CMAKE_CXX_COMPILER_AR "/usr/lib/llvm-7/bin/llvm-ar") set(CMAKE_RANLIB "/usr/bin/ranlib") -set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-8") +set(CMAKE_CXX_COMPILER_RANLIB "/usr/lib/llvm-7/bin/llvm-ranlib") set(CMAKE_LINKER "/usr/bin/ld") -set(CMAKE_COMPILER_IS_GNUCXX 1) +set(CMAKE_COMPILER_IS_GNUCXX ) set(CMAKE_CXX_COMPILER_LOADED 1) set(CMAKE_CXX_COMPILER_WORKS TRUE) set(CMAKE_CXX_ABI_COMPILED TRUE) @@ -72,5 +72,5 @@ endif() 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-linux-gnu/8;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib") +set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/8;/usr/lib/x86_64-linux-gnu;/usr/lib64;/lib/x86_64-linux-gnu;/lib64;/usr/lib;/usr/lib/llvm-7/lib;/lib") set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "") diff --git a/build/CMakeFiles/3.13.4/CMakeDetermineCompilerABI_C.bin b/build/CMakeFiles/3.13.4/CMakeDetermineCompilerABI_C.bin index e36f95c..e9f8903 100755 Binary files a/build/CMakeFiles/3.13.4/CMakeDetermineCompilerABI_C.bin and b/build/CMakeFiles/3.13.4/CMakeDetermineCompilerABI_C.bin differ diff --git a/build/CMakeFiles/3.13.4/CMakeDetermineCompilerABI_CXX.bin b/build/CMakeFiles/3.13.4/CMakeDetermineCompilerABI_CXX.bin index ec94666..b98c754 100755 Binary files a/build/CMakeFiles/3.13.4/CMakeDetermineCompilerABI_CXX.bin and b/build/CMakeFiles/3.13.4/CMakeDetermineCompilerABI_CXX.bin differ diff --git a/build/CMakeFiles/CMakeOutput.log b/build/CMakeFiles/CMakeOutput.log index b4f4ccc..1fb88b0 100644 --- a/build/CMakeFiles/CMakeOutput.log +++ b/build/CMakeFiles/CMakeOutput.log @@ -1,6 +1,6 @@ The system is: Linux - 4.19.0-16-amd64 - x86_64 Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. -Compiler: /usr/bin/cc +Compiler: /usr/bin/clang Build flags: Id flags: @@ -10,10 +10,10 @@ The output was: Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out" -The C compiler identification is GNU, found in "/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/3.13.4/CompilerIdC/a.out" +The C compiler identification is Clang, found in "/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/3.13.4/CompilerIdC/a.out" Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. -Compiler: /usr/bin/c++ +Compiler: /usr/bin/clang++ Build flags: Id flags: @@ -23,47 +23,47 @@ The output was: Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out" -The CXX compiler identification is GNU, found in "/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/3.13.4/CompilerIdCXX/a.out" +The CXX compiler identification is Clang, found in "/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/3.13.4/CompilerIdCXX/a.out" Determining if the C compiler works passed with the following output: Change Dir: /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_fa881/fast" -/usr/bin/make -f CMakeFiles/cmTC_fa881.dir/build.make CMakeFiles/cmTC_fa881.dir/build +Run Build Command:"/usr/bin/make" "cmTC_247b2/fast" +/usr/bin/make -f CMakeFiles/cmTC_247b2.dir/build.make CMakeFiles/cmTC_247b2.dir/build make[1]: Entering directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' -Building C object CMakeFiles/cmTC_fa881.dir/testCCompiler.c.o -/usr/bin/cc -o CMakeFiles/cmTC_fa881.dir/testCCompiler.c.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp/testCCompiler.c -Linking C executable cmTC_fa881 -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fa881.dir/link.txt --verbose=1 -/usr/bin/cc CMakeFiles/cmTC_fa881.dir/testCCompiler.c.o -o cmTC_fa881 +Building C object CMakeFiles/cmTC_247b2.dir/testCCompiler.c.o +/usr/bin/clang -o CMakeFiles/cmTC_247b2.dir/testCCompiler.c.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp/testCCompiler.c +Linking C executable cmTC_247b2 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_247b2.dir/link.txt --verbose=1 +/usr/bin/clang CMakeFiles/cmTC_247b2.dir/testCCompiler.c.o -o cmTC_247b2 make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' Detecting C compiler ABI info compiled with the following output: Change Dir: /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_652e5/fast" -/usr/bin/make -f CMakeFiles/cmTC_652e5.dir/build.make CMakeFiles/cmTC_652e5.dir/build +Run Build Command:"/usr/bin/make" "cmTC_54ab8/fast" +/usr/bin/make -f CMakeFiles/cmTC_54ab8.dir/build.make CMakeFiles/cmTC_54ab8.dir/build make[1]: Entering directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' -Building C object CMakeFiles/cmTC_652e5.dir/CMakeCCompilerABI.c.o -/usr/bin/cc -o CMakeFiles/cmTC_652e5.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.13/Modules/CMakeCCompilerABI.c -Linking C executable cmTC_652e5 -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_652e5.dir/link.txt --verbose=1 -/usr/bin/cc -v CMakeFiles/cmTC_652e5.dir/CMakeCCompilerABI.c.o -o cmTC_652e5 -Using built-in specs. -COLLECT_GCC=/usr/bin/cc -COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper -OFFLOAD_TARGET_NAMES=nvptx-none -OFFLOAD_TARGET_DEFAULT=1 -Target: x86_64-linux-gnu -Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu +Building C object CMakeFiles/cmTC_54ab8.dir/CMakeCCompilerABI.c.o +/usr/bin/clang -o CMakeFiles/cmTC_54ab8.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.13/Modules/CMakeCCompilerABI.c +Linking C executable cmTC_54ab8 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_54ab8.dir/link.txt --verbose=1 +/usr/bin/clang -v CMakeFiles/cmTC_54ab8.dir/CMakeCCompilerABI.c.o -o cmTC_54ab8 +clang version 7.0.1-8+deb10u2 (tags/RELEASE_701/final) +Target: x86_64-pc-linux-gnu Thread model: posix -gcc version 8.3.0 (Debian 8.3.0-6) -COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/ -LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../:/lib/:/usr/lib/ -COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_652e5' '-mtune=generic' '-march=x86-64' - /usr/lib/gcc/x86_64-linux-gnu/8/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper -plugin-opt=-fresolution=/tmp/ccMcSMMw.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 -m elf_x86_64 --hash-style=gnu -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_652e5 /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/8/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. CMakeFiles/cmTC_652e5.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-linux-gnu/8/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o -COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_652e5' '-mtune=generic' '-march=x86-64' +InstalledDir: /usr/bin +Found candidate GCC installation: /usr/bin/../lib/gcc/i686-linux-gnu/8 +Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8 +Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/8 +Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8 +Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8 +Candidate multilib: .;@m64 +Candidate multilib: 32;@m32 +Candidate multilib: x32;@mx32 +Selected multilib: .;@m64 + "/usr/bin/ld" --hash-style=both --build-id --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_54ab8 /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crt1.o /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o /usr/bin/../lib/gcc/x86_64-linux-gnu/8/crtbegin.o -L/usr/bin/../lib/gcc/x86_64-linux-gnu/8 -L/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../lib64 -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib64 -L/usr/lib/x86_64-linux-gnu/../../lib64 -L/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../.. -L/usr/lib/llvm-7/bin/../lib -L/lib -L/usr/lib CMakeFiles/cmTC_54ab8.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/bin/../lib/gcc/x86_64-linux-gnu/8/crtend.o /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' @@ -71,82 +71,83 @@ Parsed C implicit link information from above output: link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] ignore line: [Change Dir: /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp] ignore line: [] - ignore line: [Run Build Command:"/usr/bin/make" "cmTC_652e5/fast"] - ignore line: [/usr/bin/make -f CMakeFiles/cmTC_652e5.dir/build.make CMakeFiles/cmTC_652e5.dir/build] + ignore line: [Run Build Command:"/usr/bin/make" "cmTC_54ab8/fast"] + ignore line: [/usr/bin/make -f CMakeFiles/cmTC_54ab8.dir/build.make CMakeFiles/cmTC_54ab8.dir/build] ignore line: [make[1]: Entering directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'] - ignore line: [Building C object CMakeFiles/cmTC_652e5.dir/CMakeCCompilerABI.c.o] - ignore line: [/usr/bin/cc -o CMakeFiles/cmTC_652e5.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.13/Modules/CMakeCCompilerABI.c] - ignore line: [Linking C executable cmTC_652e5] - ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_652e5.dir/link.txt --verbose=1] - ignore line: [/usr/bin/cc -v CMakeFiles/cmTC_652e5.dir/CMakeCCompilerABI.c.o -o cmTC_652e5 ] - ignore line: [Using built-in specs.] - ignore line: [COLLECT_GCC=/usr/bin/cc] - ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper] - ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none] - ignore line: [OFFLOAD_TARGET_DEFAULT=1] - ignore line: [Target: x86_64-linux-gnu] - ignore line: [Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu] + ignore line: [Building C object CMakeFiles/cmTC_54ab8.dir/CMakeCCompilerABI.c.o] + ignore line: [/usr/bin/clang -o CMakeFiles/cmTC_54ab8.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.13/Modules/CMakeCCompilerABI.c] + ignore line: [Linking C executable cmTC_54ab8] + ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_54ab8.dir/link.txt --verbose=1] + ignore line: [/usr/bin/clang -v CMakeFiles/cmTC_54ab8.dir/CMakeCCompilerABI.c.o -o cmTC_54ab8 ] + ignore line: [clang version 7.0.1-8+deb10u2 (tags/RELEASE_701/final)] + ignore line: [Target: x86_64-pc-linux-gnu] ignore line: [Thread model: posix] - ignore line: [gcc version 8.3.0 (Debian 8.3.0-6) ] - ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/] - ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../:/lib/:/usr/lib/] - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_652e5' '-mtune=generic' '-march=x86-64'] - link line: [ /usr/lib/gcc/x86_64-linux-gnu/8/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper -plugin-opt=-fresolution=/tmp/ccMcSMMw.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 -m elf_x86_64 --hash-style=gnu -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_652e5 /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/8/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. CMakeFiles/cmTC_652e5.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-linux-gnu/8/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o] - arg [/usr/lib/gcc/x86_64-linux-gnu/8/collect2] ==> ignore - arg [-plugin] ==> ignore - arg [/usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so] ==> ignore - arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper] ==> ignore - arg [-plugin-opt=-fresolution=/tmp/ccMcSMMw.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 + ignore line: [InstalledDir: /usr/bin] + ignore line: [Found candidate GCC installation: /usr/bin/../lib/gcc/i686-linux-gnu/8] + ignore line: [Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8] + ignore line: [Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/8] + ignore line: [Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8] + ignore line: [Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8] + ignore line: [Candidate multilib: .] + ignore line: [@m64] + ignore line: [Candidate multilib: 32] + ignore line: [@m32] + ignore line: [Candidate multilib: x32] + ignore line: [@mx32] + ignore line: [Selected multilib: .] + ignore line: [@m64] + link line: [ "/usr/bin/ld" --hash-style=both --build-id --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_54ab8 /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crt1.o /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o /usr/bin/../lib/gcc/x86_64-linux-gnu/8/crtbegin.o -L/usr/bin/../lib/gcc/x86_64-linux-gnu/8 -L/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../lib64 -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib64 -L/usr/lib/x86_64-linux-gnu/../../lib64 -L/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../.. -L/usr/lib/llvm-7/bin/../lib -L/lib -L/usr/lib CMakeFiles/cmTC_54ab8.dir/CMakeCCompilerABI.c.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/bin/../lib/gcc/x86_64-linux-gnu/8/crtend.o /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o] + arg [/usr/bin/ld] ==> ignore + arg [--hash-style=both] ==> ignore arg [--build-id] ==> ignore arg [--eh-frame-hdr] ==> ignore arg [-m] ==> ignore arg [elf_x86_64] ==> ignore - arg [--hash-style=gnu] ==> ignore arg [-dynamic-linker] ==> ignore arg [/lib64/ld-linux-x86-64.so.2] ==> ignore - arg [-pie] ==> ignore arg [-o] ==> ignore - arg [cmTC_652e5] ==> ignore - arg [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore - arg [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o] ==> ignore - arg [/usr/lib/gcc/x86_64-linux-gnu/8/crtbeginS.o] ==> ignore - arg [-L/usr/lib/gcc/x86_64-linux-gnu/8] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8] - arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu] - arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib] + arg [cmTC_54ab8] ==> ignore + arg [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crt1.o] ==> ignore + arg [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o] ==> ignore + arg [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/crtbegin.o] ==> ignore + arg [-L/usr/bin/../lib/gcc/x86_64-linux-gnu/8] ==> dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/8] + arg [-L/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu] ==> dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu] + arg [-L/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../lib64] ==> dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../lib64] arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu] - arg [-L/lib/../lib] ==> dir [/lib/../lib] + arg [-L/lib/../lib64] ==> dir [/lib/../lib64] arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu] - arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] - arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../..] - arg [CMakeFiles/cmTC_652e5.dir/CMakeCCompilerABI.c.o] ==> ignore + arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64] + arg [-L/usr/lib/x86_64-linux-gnu/../../lib64] ==> dir [/usr/lib/x86_64-linux-gnu/../../lib64] + arg [-L/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../..] ==> dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../..] + arg [-L/usr/lib/llvm-7/bin/../lib] ==> dir [/usr/lib/llvm-7/bin/../lib] + arg [-L/lib] ==> dir [/lib] + arg [-L/usr/lib] ==> dir [/usr/lib] + arg [CMakeFiles/cmTC_54ab8.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 [--no-as-needed] ==> 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-linux-gnu/8/crtendS.o] ==> ignore - arg [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o] ==> ignore - collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8] ==> [/usr/lib/gcc/x86_64-linux-gnu/8] - collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] - collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib] ==> [/usr/lib] + arg [--no-as-needed] ==> ignore + arg [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/crtend.o] ==> ignore + arg [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o] ==> ignore + collapse library dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/8] ==> [/usr/lib/gcc/x86_64-linux-gnu/8] + collapse library dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] + collapse library dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../lib64] ==> [/usr/lib64] collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu] - collapse library dir [/lib/../lib] ==> [/lib] + collapse library dir [/lib/../lib64] ==> [/lib64] collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] - collapse library dir [/usr/lib/../lib] ==> [/usr/lib] - collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../..] ==> [/usr/lib] + collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64] + collapse library dir [/usr/lib/x86_64-linux-gnu/../../lib64] ==> [/usr/lib64] + collapse library dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../..] ==> [/usr/lib] + collapse library dir [/usr/lib/llvm-7/bin/../lib] ==> [/usr/lib/llvm-7/lib] + collapse library dir [/lib] ==> [/lib] + collapse library dir [/usr/lib] ==> [/usr/lib] implicit libs: [gcc;gcc_s;c;gcc;gcc_s] - implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/8;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib] + implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/8;/usr/lib/x86_64-linux-gnu;/usr/lib64;/lib/x86_64-linux-gnu;/lib64;/usr/lib;/usr/lib/llvm-7/lib;/lib] implicit fwks: [] @@ -155,14 +156,14 @@ Parsed C implicit link information from above output: Detecting C [-std=c11] compiler features compiled with the following output: Change Dir: /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_64980/fast" -/usr/bin/make -f CMakeFiles/cmTC_64980.dir/build.make CMakeFiles/cmTC_64980.dir/build +Run Build Command:"/usr/bin/make" "cmTC_c6a9b/fast" +/usr/bin/make -f CMakeFiles/cmTC_c6a9b.dir/build.make CMakeFiles/cmTC_c6a9b.dir/build make[1]: Entering directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' -Building C object CMakeFiles/cmTC_64980.dir/feature_tests.c.o -/usr/bin/cc -std=c11 -o CMakeFiles/cmTC_64980.dir/feature_tests.c.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/feature_tests.c -Linking C executable cmTC_64980 -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_64980.dir/link.txt --verbose=1 -/usr/bin/cc CMakeFiles/cmTC_64980.dir/feature_tests.c.o -o cmTC_64980 +Building C object CMakeFiles/cmTC_c6a9b.dir/feature_tests.c.o +/usr/bin/clang -std=c11 -o CMakeFiles/cmTC_c6a9b.dir/feature_tests.c.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/feature_tests.c +Linking C executable cmTC_c6a9b +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c6a9b.dir/link.txt --verbose=1 +/usr/bin/clang CMakeFiles/cmTC_c6a9b.dir/feature_tests.c.o -o cmTC_c6a9b make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' @@ -175,14 +176,14 @@ make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/ Detecting C [-std=c99] compiler features compiled with the following output: Change Dir: /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_e7356/fast" -/usr/bin/make -f CMakeFiles/cmTC_e7356.dir/build.make CMakeFiles/cmTC_e7356.dir/build +Run Build Command:"/usr/bin/make" "cmTC_2d7c4/fast" +/usr/bin/make -f CMakeFiles/cmTC_2d7c4.dir/build.make CMakeFiles/cmTC_2d7c4.dir/build make[1]: Entering directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' -Building C object CMakeFiles/cmTC_e7356.dir/feature_tests.c.o -/usr/bin/cc -std=c99 -o CMakeFiles/cmTC_e7356.dir/feature_tests.c.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/feature_tests.c -Linking C executable cmTC_e7356 -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e7356.dir/link.txt --verbose=1 -/usr/bin/cc CMakeFiles/cmTC_e7356.dir/feature_tests.c.o -o cmTC_e7356 +Building C object CMakeFiles/cmTC_2d7c4.dir/feature_tests.c.o +/usr/bin/clang -std=c99 -o CMakeFiles/cmTC_2d7c4.dir/feature_tests.c.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/feature_tests.c +Linking C executable cmTC_2d7c4 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_2d7c4.dir/link.txt --verbose=1 +/usr/bin/clang CMakeFiles/cmTC_2d7c4.dir/feature_tests.c.o -o cmTC_2d7c4 make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' @@ -195,14 +196,14 @@ make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/ Detecting C [-std=c90] compiler features compiled with the following output: Change Dir: /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_0d0da/fast" -/usr/bin/make -f CMakeFiles/cmTC_0d0da.dir/build.make CMakeFiles/cmTC_0d0da.dir/build +Run Build Command:"/usr/bin/make" "cmTC_d8850/fast" +/usr/bin/make -f CMakeFiles/cmTC_d8850.dir/build.make CMakeFiles/cmTC_d8850.dir/build make[1]: Entering directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' -Building C object CMakeFiles/cmTC_0d0da.dir/feature_tests.c.o -/usr/bin/cc -std=c90 -o CMakeFiles/cmTC_0d0da.dir/feature_tests.c.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/feature_tests.c -Linking C executable cmTC_0d0da -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0d0da.dir/link.txt --verbose=1 -/usr/bin/cc CMakeFiles/cmTC_0d0da.dir/feature_tests.c.o -o cmTC_0d0da +Building C object CMakeFiles/cmTC_d8850.dir/feature_tests.c.o +/usr/bin/clang -std=c90 -o CMakeFiles/cmTC_d8850.dir/feature_tests.c.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/feature_tests.c +Linking C executable cmTC_d8850 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d8850.dir/link.txt --verbose=1 +/usr/bin/clang CMakeFiles/cmTC_d8850.dir/feature_tests.c.o -o cmTC_d8850 make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' @@ -213,42 +214,42 @@ make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/ Determining if the CXX compiler works passed with the following output: Change Dir: /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_bc429/fast" -/usr/bin/make -f CMakeFiles/cmTC_bc429.dir/build.make CMakeFiles/cmTC_bc429.dir/build +Run Build Command:"/usr/bin/make" "cmTC_10c32/fast" +/usr/bin/make -f CMakeFiles/cmTC_10c32.dir/build.make CMakeFiles/cmTC_10c32.dir/build make[1]: Entering directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' -Building CXX object CMakeFiles/cmTC_bc429.dir/testCXXCompiler.cxx.o -/usr/bin/c++ -o CMakeFiles/cmTC_bc429.dir/testCXXCompiler.cxx.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx -Linking CXX executable cmTC_bc429 -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bc429.dir/link.txt --verbose=1 -/usr/bin/c++ CMakeFiles/cmTC_bc429.dir/testCXXCompiler.cxx.o -o cmTC_bc429 +Building CXX object CMakeFiles/cmTC_10c32.dir/testCXXCompiler.cxx.o +/usr/bin/clang++ -o CMakeFiles/cmTC_10c32.dir/testCXXCompiler.cxx.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx +Linking CXX executable cmTC_10c32 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_10c32.dir/link.txt --verbose=1 +/usr/bin/clang++ CMakeFiles/cmTC_10c32.dir/testCXXCompiler.cxx.o -o cmTC_10c32 make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' Detecting CXX compiler ABI info compiled with the following output: Change Dir: /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_7781b/fast" -/usr/bin/make -f CMakeFiles/cmTC_7781b.dir/build.make CMakeFiles/cmTC_7781b.dir/build +Run Build Command:"/usr/bin/make" "cmTC_de8a0/fast" +/usr/bin/make -f CMakeFiles/cmTC_de8a0.dir/build.make CMakeFiles/cmTC_de8a0.dir/build make[1]: Entering directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' -Building CXX object CMakeFiles/cmTC_7781b.dir/CMakeCXXCompilerABI.cpp.o -/usr/bin/c++ -o CMakeFiles/cmTC_7781b.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.13/Modules/CMakeCXXCompilerABI.cpp -Linking CXX executable cmTC_7781b -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7781b.dir/link.txt --verbose=1 -/usr/bin/c++ -v CMakeFiles/cmTC_7781b.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_7781b -Using built-in specs. -COLLECT_GCC=/usr/bin/c++ -COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper -OFFLOAD_TARGET_NAMES=nvptx-none -OFFLOAD_TARGET_DEFAULT=1 -Target: x86_64-linux-gnu -Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu +Building CXX object CMakeFiles/cmTC_de8a0.dir/CMakeCXXCompilerABI.cpp.o +/usr/bin/clang++ -o CMakeFiles/cmTC_de8a0.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.13/Modules/CMakeCXXCompilerABI.cpp +Linking CXX executable cmTC_de8a0 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_de8a0.dir/link.txt --verbose=1 +/usr/bin/clang++ -v CMakeFiles/cmTC_de8a0.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_de8a0 +clang version 7.0.1-8+deb10u2 (tags/RELEASE_701/final) +Target: x86_64-pc-linux-gnu Thread model: posix -gcc version 8.3.0 (Debian 8.3.0-6) -COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/ -LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../:/lib/:/usr/lib/ -COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_7781b' '-shared-libgcc' '-mtune=generic' '-march=x86-64' - /usr/lib/gcc/x86_64-linux-gnu/8/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper -plugin-opt=-fresolution=/tmp/cct3R73N.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 -m elf_x86_64 --hash-style=gnu -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_7781b /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/8/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. CMakeFiles/cmTC_7781b.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/8/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o -COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_7781b' '-shared-libgcc' '-mtune=generic' '-march=x86-64' +InstalledDir: /usr/bin +Found candidate GCC installation: /usr/bin/../lib/gcc/i686-linux-gnu/8 +Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8 +Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/8 +Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8 +Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8 +Candidate multilib: .;@m64 +Candidate multilib: 32;@m32 +Candidate multilib: x32;@mx32 +Selected multilib: .;@m64 + "/usr/bin/ld" --hash-style=both --build-id --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_de8a0 /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crt1.o /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o /usr/bin/../lib/gcc/x86_64-linux-gnu/8/crtbegin.o -L/usr/bin/../lib/gcc/x86_64-linux-gnu/8 -L/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../lib64 -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib64 -L/usr/lib/x86_64-linux-gnu/../../lib64 -L/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../.. -L/usr/lib/llvm-7/bin/../lib -L/lib -L/usr/lib CMakeFiles/cmTC_de8a0.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/bin/../lib/gcc/x86_64-linux-gnu/8/crtend.o /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' @@ -256,59 +257,58 @@ Parsed CXX implicit link information from above output: link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)] ignore line: [Change Dir: /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp] ignore line: [] - ignore line: [Run Build Command:"/usr/bin/make" "cmTC_7781b/fast"] - ignore line: [/usr/bin/make -f CMakeFiles/cmTC_7781b.dir/build.make CMakeFiles/cmTC_7781b.dir/build] + ignore line: [Run Build Command:"/usr/bin/make" "cmTC_de8a0/fast"] + ignore line: [/usr/bin/make -f CMakeFiles/cmTC_de8a0.dir/build.make CMakeFiles/cmTC_de8a0.dir/build] ignore line: [make[1]: Entering directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'] - ignore line: [Building CXX object CMakeFiles/cmTC_7781b.dir/CMakeCXXCompilerABI.cpp.o] - ignore line: [/usr/bin/c++ -o CMakeFiles/cmTC_7781b.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.13/Modules/CMakeCXXCompilerABI.cpp] - ignore line: [Linking CXX executable cmTC_7781b] - ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7781b.dir/link.txt --verbose=1] - ignore line: [/usr/bin/c++ -v CMakeFiles/cmTC_7781b.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_7781b ] - ignore line: [Using built-in specs.] - ignore line: [COLLECT_GCC=/usr/bin/c++] - ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper] - ignore line: [OFFLOAD_TARGET_NAMES=nvptx-none] - ignore line: [OFFLOAD_TARGET_DEFAULT=1] - ignore line: [Target: x86_64-linux-gnu] - ignore line: [Configured with: ../src/configure -v --with-pkgversion='Debian 8.3.0-6' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=x86_64-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-offload-targets=nvptx-none --without-cuda-driver --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu] + ignore line: [Building CXX object CMakeFiles/cmTC_de8a0.dir/CMakeCXXCompilerABI.cpp.o] + ignore line: [/usr/bin/clang++ -o CMakeFiles/cmTC_de8a0.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.13/Modules/CMakeCXXCompilerABI.cpp] + ignore line: [Linking CXX executable cmTC_de8a0] + ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_de8a0.dir/link.txt --verbose=1] + ignore line: [/usr/bin/clang++ -v CMakeFiles/cmTC_de8a0.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_de8a0 ] + ignore line: [clang version 7.0.1-8+deb10u2 (tags/RELEASE_701/final)] + ignore line: [Target: x86_64-pc-linux-gnu] ignore line: [Thread model: posix] - ignore line: [gcc version 8.3.0 (Debian 8.3.0-6) ] - ignore line: [COMPILER_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/] - ignore line: [LIBRARY_PATH=/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib/:/lib/x86_64-linux-gnu/:/lib/../lib/:/usr/lib/x86_64-linux-gnu/:/usr/lib/../lib/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../:/lib/:/usr/lib/] - ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_7781b' '-shared-libgcc' '-mtune=generic' '-march=x86-64'] - link line: [ /usr/lib/gcc/x86_64-linux-gnu/8/collect2 -plugin /usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper -plugin-opt=-fresolution=/tmp/cct3R73N.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 -m elf_x86_64 --hash-style=gnu -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -o cmTC_7781b /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/8/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. CMakeFiles/cmTC_7781b.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/8/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o] - arg [/usr/lib/gcc/x86_64-linux-gnu/8/collect2] ==> ignore - arg [-plugin] ==> ignore - arg [/usr/lib/gcc/x86_64-linux-gnu/8/liblto_plugin.so] ==> ignore - arg [-plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/8/lto-wrapper] ==> ignore - arg [-plugin-opt=-fresolution=/tmp/cct3R73N.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 + ignore line: [InstalledDir: /usr/bin] + ignore line: [Found candidate GCC installation: /usr/bin/../lib/gcc/i686-linux-gnu/8] + ignore line: [Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8] + ignore line: [Found candidate GCC installation: /usr/lib/gcc/i686-linux-gnu/8] + ignore line: [Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8] + ignore line: [Selected GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8] + ignore line: [Candidate multilib: .] + ignore line: [@m64] + ignore line: [Candidate multilib: 32] + ignore line: [@m32] + ignore line: [Candidate multilib: x32] + ignore line: [@mx32] + ignore line: [Selected multilib: .] + ignore line: [@m64] + link line: [ "/usr/bin/ld" --hash-style=both --build-id --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_de8a0 /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crt1.o /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o /usr/bin/../lib/gcc/x86_64-linux-gnu/8/crtbegin.o -L/usr/bin/../lib/gcc/x86_64-linux-gnu/8 -L/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu -L/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../lib64 -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib64 -L/usr/lib/x86_64-linux-gnu/../../lib64 -L/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../.. -L/usr/lib/llvm-7/bin/../lib -L/lib -L/usr/lib CMakeFiles/cmTC_de8a0.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/bin/../lib/gcc/x86_64-linux-gnu/8/crtend.o /usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o] + arg [/usr/bin/ld] ==> ignore + arg [--hash-style=both] ==> ignore arg [--build-id] ==> ignore arg [--eh-frame-hdr] ==> ignore arg [-m] ==> ignore arg [elf_x86_64] ==> ignore - arg [--hash-style=gnu] ==> ignore arg [-dynamic-linker] ==> ignore arg [/lib64/ld-linux-x86-64.so.2] ==> ignore - arg [-pie] ==> ignore arg [-o] ==> ignore - arg [cmTC_7781b] ==> ignore - arg [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/Scrt1.o] ==> ignore - arg [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o] ==> ignore - arg [/usr/lib/gcc/x86_64-linux-gnu/8/crtbeginS.o] ==> ignore - arg [-L/usr/lib/gcc/x86_64-linux-gnu/8] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8] - arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu] - arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib] + arg [cmTC_de8a0] ==> ignore + arg [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crt1.o] ==> ignore + arg [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crti.o] ==> ignore + arg [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/crtbegin.o] ==> ignore + arg [-L/usr/bin/../lib/gcc/x86_64-linux-gnu/8] ==> dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/8] + arg [-L/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu] ==> dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu] + arg [-L/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../lib64] ==> dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../lib64] arg [-L/lib/x86_64-linux-gnu] ==> dir [/lib/x86_64-linux-gnu] - arg [-L/lib/../lib] ==> dir [/lib/../lib] + arg [-L/lib/../lib64] ==> dir [/lib/../lib64] arg [-L/usr/lib/x86_64-linux-gnu] ==> dir [/usr/lib/x86_64-linux-gnu] - arg [-L/usr/lib/../lib] ==> dir [/usr/lib/../lib] - arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../..] - arg [CMakeFiles/cmTC_7781b.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore + arg [-L/usr/lib/../lib64] ==> dir [/usr/lib/../lib64] + arg [-L/usr/lib/x86_64-linux-gnu/../../lib64] ==> dir [/usr/lib/x86_64-linux-gnu/../../lib64] + arg [-L/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../..] ==> dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../..] + arg [-L/usr/lib/llvm-7/bin/../lib] ==> dir [/usr/lib/llvm-7/bin/../lib] + arg [-L/lib] ==> dir [/lib] + arg [-L/usr/lib] ==> dir [/usr/lib] + arg [CMakeFiles/cmTC_de8a0.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore arg [-lstdc++] ==> lib [stdc++] arg [-lm] ==> lib [m] arg [-lgcc_s] ==> lib [gcc_s] @@ -316,18 +316,22 @@ Parsed CXX implicit link information from above output: arg [-lc] ==> lib [c] arg [-lgcc_s] ==> lib [gcc_s] arg [-lgcc] ==> lib [gcc] - arg [/usr/lib/gcc/x86_64-linux-gnu/8/crtendS.o] ==> ignore - arg [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o] ==> ignore - collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8] ==> [/usr/lib/gcc/x86_64-linux-gnu/8] - collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] - collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib] ==> [/usr/lib] + arg [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/crtend.o] ==> ignore + arg [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/crtn.o] ==> ignore + collapse library dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/8] ==> [/usr/lib/gcc/x86_64-linux-gnu/8] + collapse library dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] + collapse library dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../../../lib64] ==> [/usr/lib64] collapse library dir [/lib/x86_64-linux-gnu] ==> [/lib/x86_64-linux-gnu] - collapse library dir [/lib/../lib] ==> [/lib] + collapse library dir [/lib/../lib64] ==> [/lib64] collapse library dir [/usr/lib/x86_64-linux-gnu] ==> [/usr/lib/x86_64-linux-gnu] - collapse library dir [/usr/lib/../lib] ==> [/usr/lib] - collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../..] ==> [/usr/lib] + collapse library dir [/usr/lib/../lib64] ==> [/usr/lib64] + collapse library dir [/usr/lib/x86_64-linux-gnu/../../lib64] ==> [/usr/lib64] + collapse library dir [/usr/bin/../lib/gcc/x86_64-linux-gnu/8/../../..] ==> [/usr/lib] + collapse library dir [/usr/lib/llvm-7/bin/../lib] ==> [/usr/lib/llvm-7/lib] + collapse library dir [/lib] ==> [/lib] + collapse library dir [/usr/lib] ==> [/usr/lib] implicit libs: [stdc++;m;gcc_s;gcc;c;gcc_s;gcc] - implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/8;/usr/lib/x86_64-linux-gnu;/usr/lib;/lib/x86_64-linux-gnu;/lib] + implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/8;/usr/lib/x86_64-linux-gnu;/usr/lib64;/lib/x86_64-linux-gnu;/lib64;/usr/lib;/usr/lib/llvm-7/lib;/lib] implicit fwks: [] @@ -336,14 +340,14 @@ Parsed CXX implicit link information from above output: Detecting CXX [-std=c++2a] compiler features compiled with the following output: Change Dir: /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_19ae8/fast" -/usr/bin/make -f CMakeFiles/cmTC_19ae8.dir/build.make CMakeFiles/cmTC_19ae8.dir/build +Run Build Command:"/usr/bin/make" "cmTC_b5b1e/fast" +/usr/bin/make -f CMakeFiles/cmTC_b5b1e.dir/build.make CMakeFiles/cmTC_b5b1e.dir/build make[1]: Entering directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' -Building CXX object CMakeFiles/cmTC_19ae8.dir/feature_tests.cxx.o -/usr/bin/c++ -std=c++2a -o CMakeFiles/cmTC_19ae8.dir/feature_tests.cxx.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/feature_tests.cxx -Linking CXX executable cmTC_19ae8 -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_19ae8.dir/link.txt --verbose=1 -/usr/bin/c++ CMakeFiles/cmTC_19ae8.dir/feature_tests.cxx.o -o cmTC_19ae8 +Building CXX object CMakeFiles/cmTC_b5b1e.dir/feature_tests.cxx.o +/usr/bin/clang++ -std=c++2a -o CMakeFiles/cmTC_b5b1e.dir/feature_tests.cxx.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/feature_tests.cxx +Linking CXX executable cmTC_b5b1e +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b5b1e.dir/link.txt --verbose=1 +/usr/bin/clang++ CMakeFiles/cmTC_b5b1e.dir/feature_tests.cxx.o -o cmTC_b5b1e make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' @@ -409,14 +413,14 @@ make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/ Detecting CXX [-std=c++17] compiler features compiled with the following output: Change Dir: /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_0ab06/fast" -/usr/bin/make -f CMakeFiles/cmTC_0ab06.dir/build.make CMakeFiles/cmTC_0ab06.dir/build +Run Build Command:"/usr/bin/make" "cmTC_20e93/fast" +/usr/bin/make -f CMakeFiles/cmTC_20e93.dir/build.make CMakeFiles/cmTC_20e93.dir/build make[1]: Entering directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' -Building CXX object CMakeFiles/cmTC_0ab06.dir/feature_tests.cxx.o -/usr/bin/c++ -std=c++17 -o CMakeFiles/cmTC_0ab06.dir/feature_tests.cxx.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/feature_tests.cxx -Linking CXX executable cmTC_0ab06 -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0ab06.dir/link.txt --verbose=1 -/usr/bin/c++ CMakeFiles/cmTC_0ab06.dir/feature_tests.cxx.o -o cmTC_0ab06 +Building CXX object CMakeFiles/cmTC_20e93.dir/feature_tests.cxx.o +/usr/bin/clang++ -std=c++17 -o CMakeFiles/cmTC_20e93.dir/feature_tests.cxx.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/feature_tests.cxx +Linking CXX executable cmTC_20e93 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_20e93.dir/link.txt --verbose=1 +/usr/bin/clang++ CMakeFiles/cmTC_20e93.dir/feature_tests.cxx.o -o cmTC_20e93 make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' @@ -482,14 +486,14 @@ make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/ Detecting CXX [-std=c++14] compiler features compiled with the following output: Change Dir: /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_bd027/fast" -/usr/bin/make -f CMakeFiles/cmTC_bd027.dir/build.make CMakeFiles/cmTC_bd027.dir/build +Run Build Command:"/usr/bin/make" "cmTC_92796/fast" +/usr/bin/make -f CMakeFiles/cmTC_92796.dir/build.make CMakeFiles/cmTC_92796.dir/build make[1]: Entering directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' -Building CXX object CMakeFiles/cmTC_bd027.dir/feature_tests.cxx.o -/usr/bin/c++ -std=c++14 -o CMakeFiles/cmTC_bd027.dir/feature_tests.cxx.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/feature_tests.cxx -Linking CXX executable cmTC_bd027 -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_bd027.dir/link.txt --verbose=1 -/usr/bin/c++ CMakeFiles/cmTC_bd027.dir/feature_tests.cxx.o -o cmTC_bd027 +Building CXX object CMakeFiles/cmTC_92796.dir/feature_tests.cxx.o +/usr/bin/clang++ -std=c++14 -o CMakeFiles/cmTC_92796.dir/feature_tests.cxx.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/feature_tests.cxx +Linking CXX executable cmTC_92796 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_92796.dir/link.txt --verbose=1 +/usr/bin/clang++ CMakeFiles/cmTC_92796.dir/feature_tests.cxx.o -o cmTC_92796 make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' @@ -555,14 +559,14 @@ make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/ Detecting CXX [-std=c++11] compiler features compiled with the following output: Change Dir: /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_ce47b/fast" -/usr/bin/make -f CMakeFiles/cmTC_ce47b.dir/build.make CMakeFiles/cmTC_ce47b.dir/build +Run Build Command:"/usr/bin/make" "cmTC_37296/fast" +/usr/bin/make -f CMakeFiles/cmTC_37296.dir/build.make CMakeFiles/cmTC_37296.dir/build make[1]: Entering directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' -Building CXX object CMakeFiles/cmTC_ce47b.dir/feature_tests.cxx.o -/usr/bin/c++ -std=c++11 -o CMakeFiles/cmTC_ce47b.dir/feature_tests.cxx.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/feature_tests.cxx -Linking CXX executable cmTC_ce47b -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ce47b.dir/link.txt --verbose=1 -/usr/bin/c++ CMakeFiles/cmTC_ce47b.dir/feature_tests.cxx.o -o cmTC_ce47b +Building CXX object CMakeFiles/cmTC_37296.dir/feature_tests.cxx.o +/usr/bin/clang++ -std=c++11 -o CMakeFiles/cmTC_37296.dir/feature_tests.cxx.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/feature_tests.cxx +Linking CXX executable cmTC_37296 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_37296.dir/link.txt --verbose=1 +/usr/bin/clang++ CMakeFiles/cmTC_37296.dir/feature_tests.cxx.o -o cmTC_37296 make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' @@ -628,14 +632,14 @@ make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/ Detecting CXX [-std=c++98] compiler features compiled with the following output: Change Dir: /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp -Run Build Command:"/usr/bin/make" "cmTC_68eb4/fast" -/usr/bin/make -f CMakeFiles/cmTC_68eb4.dir/build.make CMakeFiles/cmTC_68eb4.dir/build +Run Build Command:"/usr/bin/make" "cmTC_21b68/fast" +/usr/bin/make -f CMakeFiles/cmTC_21b68.dir/build.make CMakeFiles/cmTC_21b68.dir/build make[1]: Entering directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' -Building CXX object CMakeFiles/cmTC_68eb4.dir/feature_tests.cxx.o -/usr/bin/c++ -std=c++98 -o CMakeFiles/cmTC_68eb4.dir/feature_tests.cxx.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/feature_tests.cxx -Linking CXX executable cmTC_68eb4 -/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_68eb4.dir/link.txt --verbose=1 -/usr/bin/c++ CMakeFiles/cmTC_68eb4.dir/feature_tests.cxx.o -o cmTC_68eb4 +Building CXX object CMakeFiles/cmTC_21b68.dir/feature_tests.cxx.o +/usr/bin/clang++ -std=c++98 -o CMakeFiles/cmTC_21b68.dir/feature_tests.cxx.o -c /media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/feature_tests.cxx +Linking CXX executable cmTC_21b68 +/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_21b68.dir/link.txt --verbose=1 +/usr/bin/clang++ CMakeFiles/cmTC_21b68.dir/feature_tests.cxx.o -o cmTC_21b68 make[1]: Leaving directory '/media/gbowne1/18656299-5992-400a-a7a4-b6ffc4b0612f/Documents/ClassicOS/build/CMakeFiles/CMakeTmp' diff --git a/build/CMakeFiles/feature_tests.bin b/build/CMakeFiles/feature_tests.bin index f00921a..df17861 100755 Binary files a/build/CMakeFiles/feature_tests.bin and b/build/CMakeFiles/feature_tests.bin differ diff --git a/build/CMakeFiles/feature_tests.c b/build/CMakeFiles/feature_tests.c index 83e86dd..90a87b1 100644 --- a/build/CMakeFiles/feature_tests.c +++ b/build/CMakeFiles/feature_tests.c @@ -1,28 +1,28 @@ const char features[] = {"\n" "C_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 +#if ((__clang_major__ * 100) + __clang_minor__) >= 304 "1" #else "0" #endif "c_function_prototypes\n" "C_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L "1" #else "0" #endif "c_restrict\n" "C_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201000L +#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L "1" #else "0" #endif "c_static_assert\n" "C_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L "1" #else "0" diff --git a/build/CMakeFiles/feature_tests.cxx b/build/CMakeFiles/feature_tests.cxx index b93418c..703b335 100644 --- a/build/CMakeFiles/feature_tests.cxx +++ b/build/CMakeFiles/feature_tests.cxx @@ -1,399 +1,399 @@ const char features[] = {"\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_aggregate_nsdmi) "1" #else "0" #endif "cxx_aggregate_default_initializers\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_alias_templates) "1" #else "0" #endif "cxx_alias_templates\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_alignas) "1" #else "0" #endif "cxx_alignas\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_alignas) "1" #else "0" #endif "cxx_alignof\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_attributes) "1" #else "0" #endif "cxx_attributes\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus > 201103L "1" #else "0" #endif "cxx_attribute_deprecated\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_auto_type) "1" #else "0" #endif "cxx_auto_type\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_binary_literals) "1" #else "0" #endif "cxx_binary_literals\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_constexpr) "1" #else "0" #endif "cxx_constexpr\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_contextual_conversions) "1" #else "0" #endif "cxx_contextual_conversions\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_decltype) "1" #else "0" #endif "cxx_decltype\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus > 201103L "1" #else "0" #endif "cxx_decltype_auto\n" "CXX_FEATURE:" -#if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_decltype_incomplete_return_types) "1" #else "0" #endif "cxx_decltype_incomplete_return_types\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_default_function_template_args) "1" #else "0" #endif "cxx_default_function_template_args\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_defaulted_functions) "1" #else "0" #endif "cxx_defaulted_functions\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_defaulted_functions) "1" #else "0" #endif "cxx_defaulted_move_initializers\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_delegating_constructors) "1" #else "0" #endif "cxx_delegating_constructors\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_deleted_functions) "1" #else "0" #endif "cxx_deleted_functions\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus > 201103L "1" #else "0" #endif "cxx_digit_separators\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L "1" #else "0" #endif "cxx_enum_forward_declarations\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_explicit_conversions) "1" #else "0" #endif "cxx_explicit_conversions\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L "1" #else "0" #endif "cxx_extended_friend_declarations\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L "1" #else "0" #endif "cxx_extern_templates\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_override_control) "1" #else "0" #endif "cxx_final\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L "1" #else "0" #endif "cxx_func_identifier\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_generalized_initializers) "1" #else "0" #endif "cxx_generalized_initializers\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 304 && __cplusplus > 201103L "1" #else "0" #endif "cxx_generic_lambdas\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_inheriting_constructors) "1" #else "0" #endif "cxx_inheriting_constructors\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L "1" #else "0" #endif "cxx_inline_namespaces\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_lambdas) "1" #else "0" #endif "cxx_lambdas\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_init_captures) "1" #else "0" #endif "cxx_lambda_init_captures\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_local_type_template_args) "1" #else "0" #endif "cxx_local_type_template_args\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L "1" #else "0" #endif "cxx_long_long_type\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_noexcept) "1" #else "0" #endif "cxx_noexcept\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_nonstatic_member_init) "1" #else "0" #endif "cxx_nonstatic_member_init\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_nullptr) "1" #else "0" #endif "cxx_nullptr\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_override_control) "1" #else "0" #endif "cxx_override\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_range_for) "1" #else "0" #endif "cxx_range_for\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 405 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_raw_string_literals) "1" #else "0" #endif "cxx_raw_string_literals\n" "CXX_FEATURE:" -#if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_reference_qualified_functions) "1" #else "0" #endif "cxx_reference_qualified_functions\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_relaxed_constexpr) "1" #else "0" #endif "cxx_relaxed_constexpr\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_return_type_deduction) "1" #else "0" #endif "cxx_return_type_deduction\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L "1" #else "0" #endif "cxx_right_angle_brackets\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_rvalue_references) "1" #else "0" #endif "cxx_rvalue_references\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L "1" #else "0" #endif "cxx_sizeof_member\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_static_assert) "1" #else "0" #endif "cxx_static_assert\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_strong_enums) "1" #else "0" #endif "cxx_strong_enums\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && __cplusplus +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 199711L "1" #else "0" #endif "cxx_template_template_parameters\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_thread_local) "1" #else "0" #endif "cxx_thread_local\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_trailing_return) "1" #else "0" #endif "cxx_trailing_return_types\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_unicode_literals) "1" #else "0" #endif "cxx_unicode_literals\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_generalized_initializers) "1" #else "0" #endif "cxx_uniform_initialization\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_unrestricted_unions) "1" #else "0" #endif "cxx_unrestricted_unions\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_user_literals) "1" #else "0" #endif "cxx_user_literals\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_variable_templates) "1" #else "0" #endif "cxx_variable_templates\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __cplusplus >= 201103L "1" #else "0" #endif "cxx_variadic_macros\n" "CXX_FEATURE:" -#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__)) +#if ((__clang_major__ * 100) + __clang_minor__) >= 301 && __has_feature(cxx_variadic_templates) "1" #else "0" diff --git a/src/drivers/keyboard/keyboard.c b/src/drivers/keyboard/keyboard.c new file mode 100644 index 0000000..f85158d --- /dev/null +++ b/src/drivers/keyboard/keyboard.c @@ -0,0 +1,46 @@ +#include +#include +#include + +// Keyboard input buffer +#define KEYBOARD_BUFFER_SIZE 32 +static uint8_t keyboard_buffer[KEYBOARD_BUFFER_SIZE]; +static size_t keyboard_buffer_head = 0; +static size_t keyboard_buffer_tail = 0; + +// Keyboard interrupt handler +void keyboard_interrupt_handler() { + uint8_t scancode = inb(0x60); + + // Add scancode to buffer + keyboard_buffer[keyboard_buffer_head] = scancode; + keyboard_buffer_head = (keyboard_buffer_head + 1) % KEYBOARD_BUFFER_SIZE; +} + +// Initialize keyboard +void keyboard_init() { + // Install keyboard interrupt handler + install_interrupt_handler(0x09, keyboard_interrupt_handler); + + // Enable keyboard + outb(0x64, 0xAE); + while (inb(0x64) & 0x02); + outb(0x60, 0xF4); + while (inb(0x60) != 0xFA); +} + +// Check if keyboard buffer is empty +bool keyboard_buffer_empty() { + return keyboard_buffer_head == keyboard_buffer_tail; +} + +// Read scancode from keyboard buffer +uint8_t keyboard_read_scancode() { + if (keyboard_buffer_empty()) { + return 0; + } + + uint8_t scancode = keyboard_buffer[keyboard_buffer_tail]; + keyboard_buffer_tail = (keyboard_buffer_tail + 1) % KEYBOARD_BUFFER_SIZE; + return scancode; +} \ No newline at end of file diff --git a/src/drivers/keyboard/keyboard.h b/src/drivers/keyboard/keyboard.h new file mode 100644 index 0000000..561785b --- /dev/null +++ b/src/drivers/keyboard/keyboard.h @@ -0,0 +1,11 @@ +#ifndef KEYBOARD_H +#define KEYBOARD_H + +#include +#include + +void keyboard_init(); +bool keyboard_buffer_empty(); +uint8_t keyboard_read_scancode(); + +#endif \ No newline at end of file