Compare commits

...

No commits in common. "d8eaa406e7b2f614d09553373b48aa9b74f5eac2" and "73ad94400be4dbf7aaf9b0434dbdf88d6d7a024b" have entirely different histories.

221 changed files with 21428 additions and 343 deletions

49
.clang-tidy Normal file
View File

@ -0,0 +1,49 @@
Checks: "clang-diagnostic-*,clang-analyzer-*,modernize-*,-modernize-use-trailing-return-type"
WarningsAsErrors: true
HeaderFilterRegex: ""
AnalyzeTemporaryDtors: false
FormatStyle: llvm
CheckOptions:
- key: modernize-use-trailing-return-type.Enabled
value: false
- key: readability-identifier-naming.NamespaceCase
value: CamelCase
- key: readability-identifier-naming.ClassCase
value: CamelCase
- key: readability-identifier-naming.StructCase
value: CamelCase
- key: readability-identifier-naming.FunctionCase
value: CamelCase
- key: readability-identifier-naming.VariableCase
value: camelBack
- key: readability-identifier-naming.ConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.EnumCase
value: CamelCase
- key: readability-identifier-naming.EnumConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.GlobalConstantCase
value: UPPER_CASE
- key: readability-identifier-naming.GlobalVariableCase
value: camelBack
- key: readability-identifier-naming.LocalConstantCase
value: camelBack
- key: readability-identifier-naming.LocalVariableCase
value: camelBack
- key: readability-identifier-naming.MemberConstantCase
value: camelBack
- key: readability-identifier-naming.MemberVariableCase
value: camelBack
- key: readability-identifier-naming.ParameterCase
value: camelBack
- key: readability-identifier-naming.TemplateParameterCase
value: camelBack
- key: readability-identifier-naming.TypedefCase
value: CamelCase
- key: readability-identifier-naming.TypeAliasCase
value: CamelCase
- key: readability-identifier-naming.TypeTemplateParameterCase
value: CamelCase
- key: readability-identifier-naming.VariableTemplateCase
value: camelBack

7
.clang_complete Normal file
View File

@ -0,0 +1,7 @@
-std=c17
-Wall
-Wextra
-Wpedantic
-Werror
-O2
-I/path/to/include

19
.clangd Normal file
View File

@ -0,0 +1,19 @@
CompileFlags:
Add: ["-std=c17"]
Remove: ["-Wall -Wpedantic -Wextra -Werror"]
Index:
Background: true
OnDidChange: true
Diagnostics:
OnOpen: true
OnSave: true
Completion:
EnableSnippets: true
IncludeBlacklist:
- "**/vendor/**"
- "**/third_party/**"
- "**/generated/**"
Format:
Workspace:
CodeLens:
Rename:

14
.editorconfig Normal file
View File

@ -0,0 +1,14 @@
# top-most EditorConfig file
root = true
# C source files
[*.{c,h}]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# C++ source files
[*.{cpp,hpp}]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

42
.gdbinit Normal file
View File

@ -0,0 +1,42 @@
# Set the architecture
set architecture i386
# Set the disassembly flavor
set disassembly-flavor intel
set disassemble-next-line
set pagination enable
set print address
set logging enable
set logging file gdb.log
# Set the prompt
set prompt (gdb)
# Set the history file
set history save on
set history filename ~/.gdb_history
set history size 1000
# Set the default file search path
set solib-search-path .
# Set the default directory
d /home/user/Documents/ClassicOS
# Set the default target
file ClassicOS/build/kernel
# Set the symbol file
symbol-file kernel
# Set the debugging options
set disassemble-next-line on
set print pretty on
# Set breakpoints
break main

34
.github/bug_report.yml vendored Normal file
View File

@ -0,0 +1,34 @@
name: Bug Report
about: Create a report to help us improve
title: "[BUG] "
labels:
- bug
assignees:
- username1
- username2
description: |
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.

14
.github/config.yml vendored Normal file
View File

@ -0,0 +1,14 @@
issue_template_config:
# Default labels for all issues
labels:
- bug
- enhancement
- help wanted
# Default assignees for all issues
assignees:
- username1
- username2
# Default projects for all issues
projects:
- owner/repo/project1
- owner/repo/project2

21
.github/feature_request.yml vendored Normal file
View File

@ -0,0 +1,21 @@
name: Feature Request
about: Suggest an idea for this project
title: "[FEATURE REQUEST] "
labels:
- enhancement
assignees:
- username1
- username2
description: |
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

23
.lldbinit Normal file
View File

@ -0,0 +1,23 @@
# Define architecture and target
target create -arch i386-unknown-unknown-unknown
settings set target.x86-disassembly-flavor intel
# Set the default source language to C
settings set target.language c
# Set the default C standard to C11
settings set target.c-lang-std c11
# Set the default C++ standard to C++17
settings set target.cxx-lang-std c++17
# Set the default disassembly flavor to Intel syntax
settings set target.x86-disassembly-flavor intel
# Set the default disassembly format to AT&T syntax
settings set target.x86-disassembly-format att
# Set the default breakpoint command to print the call stack
breakpoint command add -s python 1
import lldb
print(lldb.frame.thread.GetStackFrames())

0
.vs/ClassicOS.sln Normal file
View File

View File

View File

View File

17
.vs/ProjectSettings.json Normal file
View File

@ -0,0 +1,17 @@
{
"BuildOptions": {
"Platform": "x86",
"Configuration": "Debug",
"OptimizationLevel": "None",
"AdditionalCompilerOptions": "-m32",
"AdditionalLinkerOptions": "-m32"
},
"DebuggingOptions": {
"DebuggerType": "NativeOnly",
"EnableUnmanagedDebugging": true
},
"DeploymentOptions": {
"TargetArchitecture": "x86",
"TargetOperatingSystem": "Windows"
}
}

33
.vs/launch.vs.json Normal file
View File

@ -0,0 +1,33 @@
{
"version": "0.2.1",
"configurations": [
{
"name": "Debug NASM Program",
"projectTarget": "MyProject",
"args": [],
"program": "${workspaceFolder}/build/MyProject",
"cwd": "${workspaceFolder}/build",
"environment": [
{
"name": "PATH",
"value": "/path/to/nasm:/path/to/qemu:/path/to/gnu-ld:/path/to/dd:/path/to/clang:/path/to/gcc:/path/to/gnu-gdb:/path/to/lldb:${env:PATH}"
}
],
"type": "cppdbg",
"request": "launch",
"launchCompleteCommand": "exec-run",
"miDebuggerPath": "/path/to/gnu-gdb",
"miDebuggerArgs": "--interpreter=mi2",
"stopAtEntry": false,
"externalConsole": true,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
]
}
]
}

25
.vs/tasks.vs.json Normal file
View File

@ -0,0 +1,25 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"type": "shell",
"command": "nasm -f elf32 -o main.o main.asm && gcc -m32 -o main main.o",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
},
{
"label": "Run",
"type": "shell",
"command": "qemu-system-i386 -kernel main",
"group": {
"kind": "test",
"isDefault": true
},
"problemMatcher": []
}
]
}

11
.vscode/ClassicOS.code-workspace vendored Normal file
View File

@ -0,0 +1,11 @@
{
"folders": [
{
"path": "."
}
],
"settings": {},
"extensions": {
"recommendations": []
}
}

BIN
.vscode/browse.vc.db vendored Normal file

Binary file not shown.

BIN
.vscode/browse.vc.db-shm vendored Normal file

Binary file not shown.

0
.vscode/browse.vc.db-wal vendored Normal file
View File

34
.vscode/c_cpp_properties.json vendored Normal file
View File

@ -0,0 +1,34 @@
{
"env": {
"myDefaultIncludePath": [
"${workspaceFolder}/ClassicOS/include"
],
"myCompilerPath": "/usr/bin/gcc"
},
"configurations": [
{
"name": "Linux",
"intelliSenseMode": "linux-gcc-x64",
"compilerArgs": [
""
],
"includePath": [
"${workspaceFolder}/**"
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"cStandard": "c11",
"cppStandard": "c++17",
"compileCommands": "build/compile_commands.json",
"browse": {
"path": [
"${workspaceFolder}/src"
],
"limitSymbolsToIncludedHeaders": true,
"databaseFilename": "${workspaceFolder}/.vscode/browse.vc.db"
},
"configurationProvider": "ms-vscode.cmake-tools"
}
],
"version": 4
}

11
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,11 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"13xforever.language-x86-64-assembly",
"franneck94.c-cpp-runner",
"formulahendry.code-runner",
"ms-vscode.cpptools",
"ms-vscode.cpptools-extension-pack"
]
}

43
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,43 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "gcc-8 - Build and debug active file Level 1",
"type": "cppdbg",
"request": "launch",
"program": "/home/gbowne1/Documents/ClassicOS/build/ClassicOS",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"externalConsole": false,
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"preLaunchTask": "Debug Build Level 1",
"miDebuggerPath": "/usr/bin/gdb",
"logging": {
"engineLogging": true
}
},
{
"name": "Debug with QEMU",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/boot.bin",
"miDebuggerPath": "/usr/bin/qemu-system-i386",
"miDebuggerArgs": "-kernel",
"cwd": "${workspaceFolder}",
"preLaunchTask": "build"
}
]
}

66
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,66 @@
{
// General C/C++ settings
"C_Cpp.autoAddFileAssociations": true,
"C_Cpp.autocompleteAddParentheses": true,
"C_Cpp.clang_format_sortIncludes": true,
"C_Cpp.codeAnalysis.clangTidy.enabled": true,
"C_Cpp.configurationWarnings": "enabled",
"C_Cpp.default.browse.limitSymbolsToIncludedHeaders": false,
"C_Cpp.default.cStandard": "c11",
"C_Cpp.default.compilerPath": "/usr/bin/gcc",
"C_Cpp.default.cppStandard": "c++11",
"C_Cpp.default.enableConfigurationSquiggles": true,
"C_Cpp.errorSquiggles": "enabledIfIncludesResolve",
"C_Cpp.formatting": "default",
"C_Cpp.loggingLevel": "Debug",
"C_Cpp.vcFormat.indent.caseContentsWhenBlock": true,
"C_Cpp.vcFormat.indent.namespaceContents": false,
"C_Cpp.vcFormat.indent.preserveComments": true,
"C_Cpp.vcFormat.space.pointerReferenceAlignment": "right",
// CMake integration settings
"cmake.autoSelectActiveFolder": false,
"cmake.configureOnEdit": false,
"cmake.configureOnOpen": false,
"cmake.cmakePath": "/usr/bin/cmake",
"cmake.sourceDirectory": "${workspaceFolder}/",
// Language-specific settings
"[c]": {
"editor.defaultFormatter": "ms-vscode.cpptools",
"editor.formatOnSave": true
},
"[cpp]": {
"editor.defaultFormatter": "ms-vscode.cpptools",
"editor.formatOnSave": true
},
// File associations
"files.associations": {
"*.c": "c",
"*.cpp": "cpp",
"*.h": "c",
"*.hpp": "c"
},
"workbench.editorAssociations": {
"*.c": "default",
"*.cpp": "default",
"*.h": "default",
"*.hpp": "default"
},
// IntelliSense configuration
"C_Cpp.default.includePath": [
"/usr/include",
"${workspaceFolder}/**",
"${workspaceFolder}/src/include",
"${workspaceFolder}/include"
],
"C_Cpp.default.defines": [],
"C_Cpp.default.compileCommands": "build/compile_commands.json",
"C_Cpp.default.browse.path": [
"/usr/include",
"${workspaceFolder}/**",
"${workspaceFolder}/src/include",
"${workspaceFolder}/include"
],
"C_Cpp.default.browse.databaseFilename": "${workspaceFolder}/.vscode/browse.vc.db",
"C_Cpp.default.configurationProvider": "ms-vscode.cpptools",
"C_Cpp.default.intelliSenseMode": "linux-gcc-x64"
}

85
.vscode/tasks.json vendored Normal file
View File

@ -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
}
}
]
}

35
ABOUT.md Normal file
View File

@ -0,0 +1,35 @@
# About ClassicOS
I am making a custom operating system as an OSDev project. I am calling it ClassicOS!
We are using C11/C17 standard code.
This OS is x86 32 bit meant to be run on any 32 bit Intel processor including:
- 386
- 486
- Pentium
- Pentium Pro
- Pentium II
- Pentium 3
- "Prescott" & "Northwood" Pentium 4
Able to run on systems with EISA, VESA, MCA, PCI or ISA architecture.
This will include:
- a GUI
- a shell/terminal/tty/console
- 16 bit Real mode bootloader
- NE2000 compatible Network drivers
- FAT Filesystem support including FAT12, FAT16, FAT32
- ext2 Filesystem support
- NTFS Filesystem support
- Supports ATA, IDE, EIDE, UltraATA 33 and 66, PATA drives
- Supports Floppy to 1.2MB 5.25" and 1.44MB 3.5"
- Supports ISO9660
- DOS mode
Features:
Note: This OS eventually may ship for 64 bit architecture and support legacy LGA775 and LGA115x processors.

View File

@ -1,2 +1,127 @@
cmake_minimum_required(VERSION 3.13.4)
set(CMAKE_SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/src)
set(CMAKE_BINARY_DIR ${CMAKE_CURRENT_LIST_DIR}/build)
include(x86-baremetal-toolchain.cmake)
project(ClassicOSBL VERSION 0.0.1 LANGUAGES ASM_NASM)
project(ClassicOS VERSION 0.0.1 LANGUAGES C CXX ASM_NASM)
enable_language(ASM_NASM)
set(CMAKE_ASM_NASM_OBJECT_FORMAT elf32)
set(IS_OS_WINDOWS FALSE)
set(IS_OS_LINUX FALSE)
set(IS_OS_MAC FALSE)
if (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
set(IS_OS_WINDOWS TRUE)
message("Building on the Windows operating system.")
elseif (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Linux")
set(IS_OS_LINUX TRUE)
message("Building on the Linux operating system.")
elseif (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Darwin")
set(IS_OS_MAC TRUE)
message("Building on the Mac operating system.")
endif ()
# Source files
set(BOOT_SOURCE_FILES
src/boot/boot.asm
src/boot/linker.ld
)
set(GRUB_SOURCE_FILES
src/boot/grub/grub.cfg
src/boot/grub/menu.lst
)
set(DRIVERS_SOURCE_FILES
src/drivers/audio/audio.c
src/drivers/audio/audio.h
src/drivers/bus/eisa.c
src/drivers/bus/eisa.h
src/drivers/bus/isa.c
src/drivers/bus/isa.h
src/drivers/bus/mca.c
src/drivers/bus/mca.h
#src/drivers/bus/pci.asm
src/drivers/bus/pci.c
src/drivers/bus/pci.h
src/drivers/bus/vesa.c
src/drivers/bus/vesa.h
src/drivers/display/display.c
src/drivers/display/display.h
src/drivers/io/io.c
src/drivers/io/io.asm
src/drivers/io/io.h
src/drivers/keyboard/keyboard.c
src/drivers/keyboard/keyboard.h
src/drivers/screen/screen.c
src/drivers/screen/screen.h
src/drivers/tty/tty.c
src/drivers/tty/tty.h
)
set(KERNEL_SOURCE_FILES
src/kernel/arch/x86/include/memory.h
src/kernel/arch/x86/include/types.h
src/kernel/arch/x86/include/types.h
src/kernel/arch/x86/memory/memory.c
src/kernel/arch/x86/gdt.c
src/kernel/arch/x86/gdt.asm
src/kernel/arch/x86/gdt.h
src/kernel/arch/x86/idt.c
src/kernel/arch/x86/idt.asm
src/kernel/arch/x86/idt.h
src/kernel/arch/x86/isr/isr.c
src/kernel/arch/x86/isr/isr.h
src/kernel/arch/x86/isr/exceptions.c
src/kernel/arch/x86/isr/exceptions.h
src/kernel/kernel.c
src/kernel/kernel.h
src/kernel/linker.ld
src/kernel/print.c
src/kernel/stack.c
src/kernel/stack.h
)
set(UTIL_SOURCE_FILES
src/EHS.h
src/sys/CPU.h src/sys/CPU.cpp src/sys/CPU_GCC_AMD64.asm
src/Util.h src/Util.cpp
src/Version.h src/Version.cpp
src/Serializer.h
src/Array.h
src/Vector.h
src/SArray.h
src/Str.h
src/PRNG.h
src/HRNG.h src/HRNG_GCC.s
src/Math.h src/Math.cpp src/Math_GCC_AMD64.s
src/Rect.h
src/Range.h src/Range.cpp
src/Color4.h src/Color4.cpp
src/Color3.h src/Color3.cpp
src/Quat.h
src/Vec4.h
src/Vec3.h
src/Vec2.h
src/Mat4.h
src/Mat3.h
src/Mat2.h
)
set_source_files_properties(src/boot/boot.asm PROPERTIES LANGUAGE ASM_NASM)
add_executable(ClassicOS
${KERNEL_SOURCE_FILES}
${DRIVERS_SOURCE_FILES}
)
add_executable(ClassicOSBL
${BOOT_SOURCE_FILES}
${GRUB_SOURCE_FILES}
)
message("${CMAKE_EXE_LINKER_FLAGS}")

107
CONTRIBUTING.md Normal file
View File

@ -0,0 +1,107 @@
# Contributing Guidelines
Thank you for considering contributing to our open-source project! We appreciate your interest and support. To ensure a smooth collaboration, please review and adhere to the following guidelines.
## Table of Contents
- [Contributing Guidelines](#contributing-guidelines)
- [Table of Contents](#table-of-contents)
- [Getting Started](#getting-started)
- [Prerequisites](#prerequisites)
- [Fork the Repository](#fork-the-repository)
- [Clone the Repository](#clone-the-repository)
- [Making Contributions](#making-contributions)
- [Branches](#branches)
- [Coding Standards](#coding-standards)
- [Commit Messages](#commit-messages)
- [Testing](#testing)
- [Submitting Changes](#submitting-changes)
- [Pull Requests](#pull-requests)
- [Issues](#issues)
- [Community and Communication](#community-and-communication)
- [Code of Conduct](#code-of-conduct)
## Getting Started
### Prerequisites
Before you start contributing, please make sure you have the following:
- [Git](https://git-scm.com/) installed
- [A GitHub account](https://github.com/)
- A text editor or integrated development environment (IDE) of your choice
- Knowledge of the programming language(s) used in this project
### Fork the Repository
Fork our repository by clicking the "Fork" button on the top right of the repository page. This will create a copy of the project in your GitHub account.
### Clone the Repository
After forking the repository, clone it to your local machine using the following command, replacing `[your-username]` with your GitHub username:
```bash
git clone https://github.com/gbowne1/[repository-name].git
```
## Making Contributions
### Branches
Create a new branch for your work. It's important to keep your changes isolated from the `main` or `master` branch to prevent conflicts. Name your branch descriptively, such as `feature/your-feature-name` or `bugfix/issue-number`.
```bash
git checkout -b feature/your-feature-name
```
### Coding Standards
Please follow the coding standards and style guide of the project. If there are no established standards, maintain consistency with the existing codebase.
A few notes about this project's coding standards.
We use the C11 and/or C17 standard in this project.
Use whatever editor or IDE you prefer. We have toolchain recommendations including versions in the main README.md file.
### Commit Messages
Write clear, concise, and meaningful commit messages. A good commit message should:
- Begin with a verb in the imperative mood (e.g., "Add", "Fix" "Update", etc. ).
- Be concise and focused on a single change.
- Keep your changes limited to the issue.
- Reference related issues or pull requests, if applicable.
- Do not be afraid to post any issues you encounter
Example: "Fix #123: Add validation for user email input"
### Testing
Make sure your changes do not break existing functionality. Write tests for new features and update existing tests as needed.
## Submitting Changes
### Pull Requests
When your contribution is ready, open a pull request (PR) from your branch to the main repository's branch (e.g., `main` or `master`). Be sure to:
- Give the PR a descriptive title.
- Provide a clear and detailed description of your changes.
- Do NOT screenshot code, rather copy and paste into code blocks in Markdown.
- Reference related issues, if any.
- Be prepared to respond to feedback and make necessary adjustments.
### Issues
If you find a bug, have a suggestion, or want to work on an issue, please check the project's issue tracker. If the issue doesn't exist yet, feel free to open a new one to discuss the problem or feature request.
## Community and Communication
Join our community on [GitHub Discussions](https://github.com/gbowne1/ClassicOS/discussions) or [our Discord](https://discord.gg/QusyDYeh) or [our Slack server/channel](https://join.slack.com/t/connectcoders/shared_invite/zt-23ajnvegn-0nUuIlxhSDU8tQrPBL~riQ)to connect with other contributors and maintainers. This is the place to seek help, discuss ideas, and stay updated on project developments.
## Code of Conduct
Please adhere to our [Code of Conduct](CODE_OF_CONDUCT.md) to ensure a welcoming and inclusive environment for all contributors.
Thank you for your interest in contributing to our project! Your contributions make a significant impact on the success and growth of the project.

0
Config.cmake Normal file
View File

674
LICENSE Normal file
View File

@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

View File

@ -0,0 +1,51 @@
# Compiler and flags
CC = gcc
CXX = g++
AS = nasm
LD = ld
CFLAGS = -g -Wall
CXXFLAGS = -g -Wall -Werror -Wpedantic -Wextra
LDFLAGS = -T linker.ld
# Source files
BOOT_SOURCE_FILES = src/boot/boot.asm src/boot/linker.ld
GRUB_SOURCE_FILES = src/boot/grub/grub.cfg src/boot/grub/menu.lst
DRIVERS_SOURCE_FILES = src/drivers/audio/audio.c src/drivers/audio/audio.h \
src/drivers/bus/eisa.c src/drivers/bus/eisa.h \
src/drivers/bus/isa.c src/drivers/bus/isa.h \
src/drivers/bus/mca.c src/drivers/bus/mca.h \
src/drivers/bus/pci.c src/drivers/bus/pci.h \
src/drivers/bus/vesa.c src/drivers/bus/vesa.h \
src/drivers/display/display.c src/drivers/display/display.h \
src/drivers/io/io.c src/drivers/io/io.h \
src/drivers/keyboard/keyboard.c src/drivers/keyboard/keyboard.h \
src/drivers/screen/screen.c src/drivers/screen/screen.h \
src/drivers/tty/tty.c src/drivers/tty/tty.h
KERNEL_SOURCE_FILES = src/kernel/arch/x86/include/memory.h \
src/kernel/arch/x86/include/types.h \
src/kernel/arch/x86/memory/memory.c \
src/kernel/arch/x86/gdt.c \
src/kernel/arch/x86/idt.c src/kernel/arch/x86/idt.h \
src/kernel/arch/x86/isr.c src/kernel/arch/x86/isr.h \
src/kernel/kernel.c src/kernel/kernel.h \
src/kernel/linker.ld src/kernel/print.c
# Object files
BOOT_OBJECT_FILES = $(patsubst %.asm, %.o, $(filter %.asm, $(BOOT_SOURCE_FILES)))
KERNEL_OBJECT_FILES = $(patsubst %.c, %.o, $(filter %.c, $(KERNEL_SOURCE_FILES)))
# Executable
ClassicOS: $(BOOT_OBJECT_FILES) $(KERNEL_OBJECT_FILES)
$(LD) $(LDFLAGS) -o $@ $^
# Assembly files
%.o: %.asm
$(AS) -f elf32 -o $@ $<
# C files
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<
# Clean
clean:
rm -f $(BOOT_OBJECT_FILES) $(KERNEL_OBJECT_FILES) ClassicOS

201
README.md
View File

@ -1,175 +1,48 @@
# ClassicOS
This operating system uses standard operating system concepts used in the 32 bit environment. It will eventually be ported to 64 bit including IA64.
This ClassicOS operating system, aims to support major hardware and software technology existing from when the first 32 bit systems appeared on the market through the early 2000's and most of those have been listed below.
An x86 Operating System for 386, 486, Pentium class (P-75, 100, Pentium II, P3, P4, etc) CPU's
## Programming
## Tooling
This project uses the C library and Assembly language.
These are the versions I use, but please use the latest possible versions.
## Toolchain
- NASM version 2.14
- QEMU x86_64
- GNU ld (GNU Binutils for Debian) 2.31.1 or newer
- dd (coreutils) 8.30
- as (GNU Binutils for Debian) 2.31.1 or newer
- ld (GNU Binutils for Debian) 2.31.1 or newer
- cc (Debian 8.3.0-6) 8.3.0
GNU Make 4.2.1
CMake 3.13.4
GNU 8.3.0
gcc (Debian 8.3.0-6) 8.3.0
nasm 2.14
GNU ld (GNU Binutils for Debian) 2.31.1
binutils
The C and C++ standards we are using for this are C17 and C++20
For testing, QEMU i386 and TigerVNC/VNCViewer on ::1:5900
For C/C++:
## Development (Team, etc)
This project will use MIT or the GPL license and will be fully open source.
Ideal situations aside, My goal has always been:
1-2 person working on bootloader
1-2 person working on kernel
1-2 person working on drivers
1-2 person working on issues/bugs
1-2 people working on applications/user-space
1-2 people working on Networking
1-2 people working on memmory issues, stack issues, etc.
at least one person doing hardware and software testing and writing tests in a test framework
At least one major bug fix a week
At least one minor buf fix a week
At least one new feature a month (or more)
## CPU Processor Support
This project initially aims to support all 32 bit Intel and AMD processors Including;
-- Intel --
i386 SX and DX Processors
i486 SX and DX Processors
Pentium Processors (60 to 120MHz)
Pentium Pro Processors
Pentium II Processors
Pentium II Xeon Processors
Pentium III Processors
Pentium III Xeon Processors
early Pentium 4 Processors (Willamette, Prescott, Northwood)
-- AMD --
AMD k5
AMD K6
AMD am386
AMD am486
Athlon
Duron
Sempron
## Device Support
USB 1.0
USB 1.1
USB 2.0
USB 2.1
SATA 1
UDMA
UltraATA 66/100/133
SCSI-1
SCSI-2
SCSI-3
Ultra-2 SCSI
Ultra-3 SCSI
ESDI
MFM/RLL
## Booting
BIOS from
- primary hard disk partition
- primary floppy
- ISO 9660 CD-ROM, CD-R,CD-RW,
- DVD
- Removable media (Zip, Jaz, USB, Tape, Syquest, Bernoulli, CF, SmartMedia, SD etc)
Might eventually support GRUB/GRUB2 and/or UEFI/EFI.
Include support for AHCI and ACPI
## Bus Support
ISA
EISA
VESA/VESA Local Bus (VLB)
PCI
PCI-X
PCIe 1.0, 1.1, 2.0
AGP
DIN 41416/NuBUS
## Hardware support
This OS aims to support major hardware existing from 1985 to early 2k's.
## Memory Support
up to 4GB
- clang version 7.0.1-8+deb10u2 (tags/RELEASE_701/final)
- gcc version 8.3.0 (Debian 8.3.0-6)
- g++ version 8.3.0 (Debian 8.3.0-6)
- GNU gdb (Debian 8.2.1-2+b3) 8.2.1
- lldb version 7.0.1
- Coreutils 8.30
- Binutils 2.31.1
- Bison 3.3.2
- Diffutils 3.7
- Findutils 4.6.0.225
- Gawk 4.2.1
- Grep 3.3
- Gzip 1.9
- M4 1.4.18
- Make 4.2.1
- Patch 2.7.6
- Perl 5.28.1
- Python 3.7.3
- Sed 4.7
- Tar 1.30
- Texinfo 6.5, Xz 5.2.4
## Features
Has a GUI
Has a IDE
Has a text editor
Has compilers for compiled lanugages (C, C++, C#, Go, Java, Fortran, Pascal, Objective C, Haskell, ADA, Scala, Rust, Zig, Ocaml, Julia, Dart, Erlang, Elixir)
Has a Web Browser
Has a shell, tty, console, terminal
Has interpreters for interpreted languages like python 2 and python 3, JavaScript, BASIC, PHP, etc.
Has a git client
Has a video, audio editing and playing suite
Has a file browser (in GUI)
Has debuggers for languages/compilers, etc that output symbols, etc.
## Video Support
-- Modes --
CGA
EGA
VGA
SVGA
MCGA
XGA
HGA / Hercules
XGA-2
SXGA
UXGA
WXGA
8514/a
VESA SVGA
VESA/VLB
AGP (1.0, 2.0, 3.0, 3.5, Pro) - 66MHz - aka AGP 1X, 2X, 4X, 8X
PCI Graphics
-- Resolutions --
## Networking
Novell NE1000
Novell NE2000
## Drivers
-- Video card(s)
-- NIC's (3Com, Intel, etc.)
-- Audio
## Filesystems
- FAT12
- FAT16/FAT16B/FAT16X
- FAT32/FAT32X
- NTFS
- HPFS
- HFS / HFS+
- ext / ext2 / ext3
- exFAT
- ZFS
- JFS
- Booting from 1.2M, 1.44MB, hard drive or ISO9660
- FAT12, FAT16, FAT32, NTFS and ext2 support
- GUI
-

276
ask.txt Normal file
View File

@ -0,0 +1,276 @@
I am making a fully custom x86 32 bit IA32 Operating System in Visual Studio Code 1.81 for Debian Linux. This will not be a linux based OS. It's also not posix, linux, unix, windows, bsd or any other derivitive thereof but does use the same concepts. The system I am developing on has a Intel i7-3770k and is an x86_64 bit and runs Debian 10 Buster Linux with Linux Kernel version 4.19.0-25-amd64 (supports UNIX 98 PTY) and Bash 5.0.3 and the drive has an ext4 partition and a tempfs partition. I have the extension ms-vscode.cpptools installed on VSCode. I also have both gcc 8.3.0 and clang 7.0.1-8+deb10u2 installed. All of my compilers, debuggers, linkers are in /usr/bin. I have Coreutils 8.30, Binutils 2.31.1, Bison 3.3.2, Diffutils 3.7, Findutils 4.6.0.225, Gawk 4.2.1, Grep 3.3, Gzip 1.9, M4 1.4.18, Make 4.2.1, Patch 2.7.6, Perl 5.28.1, Python 3.7.3, Sed 4.7, Tar 1.30, Texinfo 6.5, Xz 5.2.4. The operating system would run on any system that has a 386 CPU up to a 32 bit only Prescott Pentium 4 released in 2004 including i386, i486, i586 and i686. I am using gcc to compile, ld to link, gdb to debug, nasm to do the assembly and qemu to emulate the system. it has a two stage bootloader. The os should boot from floppy, hard drive and optical media.
Here is the system ,emory map
BIOS: The Basic Input/Output System often resides in the lower 64KB (first 65536 bytes) of memory.
MBR (Master Boot Record): The first sector of the boot disk (usually 512 bytes) is typically located at 0x00007C00.
VGA Memory: The memory used for graphics display might be mapped in this region (e.g., 0xB8000 for text mode).
Legacy Device Memory: Memory-mapped I/O (MMIO) regions for legacy devices like keyboard, mouse, or floppy controller could be present.
Lower 1GB of RAM: This is the main usable memory region for the kernel, applications, and data. The kernel might load itself here after being booted by the bootloader.
the kernel.c should be kernel_main() and
Kernel Stack Implementation:
Memory Allocation: The kernel reserves a dedicated memory region for the kernel stack during boot or early initialization. This region typically resides within the usable portion of memory allocated for the kernel itself (often within the first 1GB on IA32 systems).
Stack Pointer (ESP): The kernel maintains a stack pointer register (often ESP or RSP on x86 architectures) that points to the top of the kernel stack. Initially, this pointer is set to the end of the allocated stack memory region, indicating an empty stack.
Stack Growth: When a function is called in kernel space, the required data (arguments, local variables, return address) is pushed onto the stack. This decrements the stack pointer value, effectively "growing" the stack downwards in memory.
Stack Protection: The kernel sets up memory protection mechanisms to ensure the stack doesn't grow beyond its allocated region or overwrite other critical kernel data structures.
Stack Overflow Protection: The kernel might implement stack overflow protection mechanisms to detect and handle situations where the stack grows too large and threatens to overwrite other memory areas. This can involve setting up guard pages below the allocated stack space to trigger exceptions if accessed.
here is the file structure:
ClassicOS/
├── .github/
├── .vs/
├── .vscode/
├── CMakeLists.txt
├── README.md
├── build/
│ ├── boot.bin
│ ├── boot.o
├── include/
├── src/
│ ├── boot/
│ │ ├── grub/
│ │ │ ├── grub.cfg
│ │ │ └── menu.lst
│ │ ├── boot.asm
│ │ ├── boot.o
│ │ ├── boot2.asm
│ │ ├── linker.ld
│ ├── cpu/
│ │ ├── cpu.c
│ │ ├── cpu.h
│ ├── drivers/
│ │ ├── audio/
│ │ │ ├── audio.c
│ │ │ └── audio.h
│ │ ├── bus/
│ │ │ ├── eisa.c
│ │ │ ├── eisa.h
│ │ │ ├── isa.c
│ │ │ ├── isa.h
│ │ │ ├── mca.c
│ │ │ ├── mca.h
│ │ │ ├── pci.c
│ │ │ ├── pci.h
│ │ │ ├── vesa.c
│ │ │ └── vesa.h
│ │ ├── display/
│ │ │ ├── display.c
│ │ │ ├── display.h
│ │ │ ├── vga.c
│ │ │ └── vga.h
│ │ ├── io/
│ │ │ ├── io.c
│ │ │ ├── io.c
│ │ │ ├── serial.c
│ │ │ └── serial.h
│ │ ├── keyboard/
│ │ │ ├── keyboard.c
│ │ │ └── keyboard.h
│ │ ├── mouse/
│ │ │ ├── mouse.c
│ │ │ └── mouse.h
│ │ ├── network/
│ │ │ ├── ne2000.c
│ │ │ └── ne2000.h
│ │ ├── screen/
│ │ │ ├── console.c
│ │ │ ├── console.c
│ │ │ ├── screen.c
│ │ │ └── screen.h
│ │ ├── tty/
│ │ │ ├── tty.c
│ │ │ └── tty.h
│ ├── filesystem/
│ │ ├── fat16/
│ │ │ ├── fat16.h
│ │ │ └── fat16.h
│ │ ├── fat32/
│ │ │ ├── fat32.c
│ │ │ └── fat32.h
│ ├── gui/
│ │ ├── gui.c
│ │ ├── gui.h
│ ├── kernel/
│ │ ├── arch/
│ │ │ └── x86/
│ │ │ │ └── include/
│ │ │ │ │ ├── memory.h
│ │ │ │ │ ├── types.h
│ │ │ │ │ └── types.h
│ │ │ │ └── isr/
│ │ │ │ │ ├── exceptions.c
│ │ │ │ │ ├── exceptions.h
│ │ │ │ │ ├── isr.asm
│ │ │ │ │ ├── isr.c
│ │ │ │ │ └── isr.h
│ │ │ │ └── memory/
│ │ │ │ │ ├── memory.c
│ │ │ │ │ └── memory.o
│ │ │ ├── gdt.asm
│ │ │ ├── gdt.c
│ │ │ ├── gdt.h
│ │ │ ├── gdt.o
│ │ │ ├── idt.asm
│ │ │ ├── idt.c
│ │ │ ├── idt.h
│ │ │ ├── gdt.o
│ │ │ ├── isr.c
│ │ │ └── isr.h
│ │ └── malloc/
│ │ │ ├── kmalloc.c
│ │ │ └── kmalloc.h
│ │ ├── acpi.c
│ │ ├── acpi.h
│ │ ├── kernel.c
│ │ ├── kernel.h
│ │ ├── kernel.o
│ │ ├── linker.ld
│ │ ├── print.c
│ │ ├── print.h
│ │ ├── stack.c
│ │ ├── stack.h
│ │ ├── timer.c
│ │ └── timer.h
│ └── shell/
│ ├── shell.c
│ └── shell.h
│ ├── elf.C
│ └── elf.h
└── std/
This is my CMakeLists.txt
cmake_minimum_required(VERSION 3.13.4)
set(CMAKE_SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/src)
set(CMAKE_BINARY_DIR ${CMAKE_CURRENT_LIST_DIR}/build)
include(x86-baremetal-toolchain.cmake)
project(ClassicOSBL VERSION 0.0.1 LANGUAGES ASM_NASM)
project(ClassicOS VERSION 0.0.1 LANGUAGES C CXX ASM_NASM)
enable_language(ASM_NASM)
set(CMAKE_ASM_NASM_OBJECT_FORMAT elf32)
set(IS_OS_WINDOWS FALSE)
set(IS_OS_LINUX FALSE)
set(IS_OS_MAC FALSE)
if (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Windows")
set(IS_OS_WINDOWS TRUE)
message("Building on the Windows operating system.")
elseif (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Linux")
set(IS_OS_LINUX TRUE)
message("Building on the Linux operating system.")
elseif (${CMAKE_HOST_SYSTEM_NAME} STREQUAL "Darwin")
set(IS_OS_MAC TRUE)
message("Building on the Mac operating system.")
endif ()
# Source files
set(BOOT_SOURCE_FILES
src/boot/boot.asm
src/boot/linker.ld
)
set(GRUB_SOURCE_FILES
src/boot/grub/grub.cfg
src/boot/grub/menu.lst
)
set(DRIVERS_SOURCE_FILES
src/drivers/audio/audio.c
src/drivers/audio/audio.h
src/drivers/bus/eisa.c
src/drivers/bus/eisa.h
src/drivers/bus/isa.c
src/drivers/bus/isa.h
src/drivers/bus/mca.c
src/drivers/bus/mca.h
#src/drivers/bus/pci.asm
src/drivers/bus/pci.c
src/drivers/bus/pci.h
src/drivers/bus/vesa.c
src/drivers/bus/vesa.h
src/drivers/display/display.c
src/drivers/display/display.h
src/drivers/io/io.c
src/drivers/io/io.asm
src/drivers/io/io.h
src/drivers/keyboard/keyboard.c
src/drivers/keyboard/keyboard.h
src/drivers/screen/screen.c
src/drivers/screen/screen.h
src/drivers/tty/tty.c
src/drivers/tty/tty.h
)
set(KERNEL_SOURCE_FILES
src/kernel/arch/x86/include/memory.h
src/kernel/arch/x86/include/types.h
src/kernel/arch/x86/include/types.h
src/kernel/arch/x86/memory/memory.c
src/kernel/arch/x86/gdt.c
src/kernel/arch/x86/gdt.asm
src/kernel/arch/x86/gdt.h
src/kernel/arch/x86/idt.c
src/kernel/arch/x86/idt.asm
src/kernel/arch/x86/idt.h
src/kernel/arch/x86/isr/isr.c
src/kernel/arch/x86/isr/isr.h
src/kernel/arch/x86/isr/exceptions.c
src/kernel/arch/x86/isr/exceptions.h
src/kernel/kernel.c
src/kernel/kernel.h
src/kernel/linker.ld
src/kernel/print.c
src/kernel/stack.c
src/kernel/stack.h
)
set(UTIL_SOURCE_FILES
src/EHS.h
src/sys/CPU.h src/sys/CPU.cpp src/sys/CPU_GCC_AMD64.asm
src/Util.h src/Util.cpp
src/Version.h src/Version.cpp
src/Serializer.h
src/Array.h
src/Vector.h
src/SArray.h
src/Str.h
src/PRNG.h
src/HRNG.h src/HRNG_GCC.s
src/Math.h src/Math.cpp src/Math_GCC_AMD64.s
src/Rect.h
src/Range.h src/Range.cpp
src/Color4.h src/Color4.cpp
src/Color3.h src/Color3.cpp
src/Quat.h
src/Vec4.h
src/Vec3.h
src/Vec2.h
src/Mat4.h
src/Mat3.h
src/Mat2.h
)
set_source_files_properties(src/boot/boot.asm PROPERTIES LANGUAGE ASM_NASM)
add_executable(ClassicOS
${KERNEL_SOURCE_FILES}
${DRIVERS_SOURCE_FILES}
)
add_executable(ClassicOSBL
${BOOT_SOURCE_FILES}
${GRUB_SOURCE_FILES}
)
message("${CMAKE_EXE_LINKER_FLAGS}")

View File

@ -1,85 +0,0 @@
section .boot
bits 16
global boot
boot:
mov ax, 0x2401
int 0x15
mov ax, 0x3
int 0x10
mov [disk],dl
mov ah, 0x2 ;read sectors
mov al, 6 ;sectors to read
mov ch, 0 ;cylinder idx
mov dh, 0 ;head idx
mov cl, 2 ;sector idx
mov dl, [disk] ;disk idx
mov bx, copy_target;target pointer
int 0x13
cli
lgdt [gdt_pointer]
mov eax, cr0
or eax,0x1
mov cr0, eax
mov ax, DATA_SEG
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov ss, ax
jmp CODE_SEG:boot2
gdt_start:
dq 0x0
gdt_code:
dw 0xFFFF
dw 0x0
db 0x0
db 10011010b
db 11001111b
db 0x0
gdt_data:
dw 0xFFFF
dw 0x0
db 0x0
db 10010010b
db 11001111b
db 0x0
gdt_end:
gdt_pointer:
dw gdt_end - gdt_start
dd gdt_start
disk:
db 0x0
CODE_SEG equ gdt_code - gdt_start
DATA_SEG equ gdt_data - gdt_start
times 510 - ($-$$) db 0
dw 0xaa55
copy_target:
bits 32
hello: db "Hello more than 512 bytes world!!",0
boot2:
mov esi,hello
mov ebx,0xb8000
.loop:
lodsb
or al,al
jz halt
or eax,0x0F00
mov word [ebx], ax
add ebx,2
jmp .loop
halt:
mov esp,kernel_stack_top
extern kmain
call kmain
cli
hlt
section .bss
align 4
kernel_stack_bottom: equ $
resb 16384 ; 16 KB
kernel_stack_top:

View File

@ -1,44 +0,0 @@
#!/bin/bash
# Exit immediately if a command exits with a non-zero status.
set -e
# Function to check if a command exists
command_exists() {
command -v "$1" >/dev/null 2>&1
}
# Check for required commands
for cmd in nasm gcc qemu-system-i386; do
if ! command_exists "$cmd"; then
echo "Error: $cmd is not installed or not in PATH" >&2
exit 1
fi
done
# Compile the assembly file
echo "Compiling boot.asm..."
nasm -f elf32 boot.asm -o boot.o
# Compile and link the kernel
echo "Compiling and linking kernel..."
gcc -m32 -ffreestanding -nostdlib -fno-pic -fno-pie kernel.c boot.o -o kernel.bin -T linker.ld
# Check if compilation was successful
if [ -f kernel.bin ]; then
echo "Build successful. kernel.bin created."
# Ask user if they want to run QEMU
read -p "Do you want to run QEMU now? (y/n) " -n 1 -r
echo # Move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]; then
echo "Running QEMU..."
qemu-system-i386 -enable-kvm -net none -fda kernel.bin
else
echo "QEMU not started. You can run it later with:"
echo "qemu-system-i386 -enable-kvm -net none -fda kernel.bin"
fi
else
echo "Build failed. Check for errors above." >&2
exit 1
fi

393
build/CMakeCache.txt Normal file
View File

@ -0,0 +1,393 @@
# This is the CMakeCache file.
# For build in directory: /home/gbowne1/Documents/ClassicOS/build
# 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_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
//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-8
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-8
//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
//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_C_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar-8
//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_C_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib-8
//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
//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=OFF
//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=ClassicOS
//Value Computed by CMake
CMAKE_PROJECT_VERSION:STATIC=0.0.1
//Value Computed by CMake
CMAKE_PROJECT_VERSION_MAJOR:STATIC=0
//Value Computed by CMake
CMAKE_PROJECT_VERSION_MINOR:STATIC=0
//Value Computed by CMake
CMAKE_PROJECT_VERSION_PATCH:STATIC=1
//Value Computed by CMake
CMAKE_PROJECT_VERSION_TWEAK:STATIC=
//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
//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
ClassicOSBL_BINARY_DIR:STATIC=/home/gbowne1/Documents/ClassicOS/build
//Value Computed by CMake
ClassicOSBL_SOURCE_DIR:STATIC=/home/gbowne1/Documents/ClassicOS
//Value Computed by CMake
ClassicOS_BINARY_DIR:STATIC=/home/gbowne1/Documents/ClassicOS/build
//Value Computed by CMake
ClassicOS_SOURCE_DIR:STATIC=/home/gbowne1/Documents/ClassicOS
########################
# INTERNAL cache entries
########################
//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/gbowne1/Documents/ClassicOS/build
//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=13
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=4
//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_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_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
//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/gbowne1/Documents/ClassicOS
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
//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
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.13
//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

View File

@ -0,0 +1,17 @@
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_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_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
set(CMAKE_ASM_NASM_LINKER_PREFERENCE 0)

View File

@ -0,0 +1,73 @@
set(CMAKE_C_COMPILER "/usr/bin/gcc")
set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "GNU")
set(CMAKE_C_COMPILER_VERSION "8.3.0")
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
set(CMAKE_C_COMPILER_WRAPPER "")
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "11")
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_restrict;c_static_assert;c_variadic_macros;c_std_99;c_std_11")
set(CMAKE_C90_COMPILE_FEATURES "c_std_90;c_function_prototypes;c_restrict;c_static_assert;c_variadic_macros")
set(CMAKE_C99_COMPILE_FEATURES "c_std_99")
set(CMAKE_C11_COMPILE_FEATURES "c_std_11")
set(CMAKE_C_PLATFORM_ID "Linux")
set(CMAKE_C_SIMULATE_ID "")
set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_C_COMPILER_AR "/usr/bin/gcc-ar-8")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_C_COMPILER_RANLIB "/usr/bin/gcc-ranlib-8")
set(CMAKE_LINKER "/usr/bin/ld")
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_COMPILER_IS_MINGW )
set(CMAKE_COMPILER_IS_CYGWIN )
if(CMAKE_COMPILER_IS_CYGWIN)
set(CYGWIN 1)
set(UNIX 1)
endif()
set(CMAKE_C_COMPILER_ENV_VAR "CC")
if(CMAKE_COMPILER_IS_MINGW)
set(MINGW 1)
endif()
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 "4")
set(CMAKE_C_COMPILER_ABI "ELF")
set(CMAKE_C_LIBRARY_ARCHITECTURE "i386-linux-gnu")
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 "i386-linux-gnu")
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_LINK_LIBRARIES "")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/8/32;/usr/x86_64-linux-gnu/lib32;/usr/lib/i386-linux-gnu;/usr/lib32;/lib/i386-linux-gnu;/lib32;/usr/lib/gcc/x86_64-linux-gnu/8;/usr/x86_64-linux-gnu/lib;/usr/lib")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

View File

@ -0,0 +1,76 @@
set(CMAKE_CXX_COMPILER "/usr/bin/g++")
set(CMAKE_CXX_COMPILER_ARG1 "")
set(CMAKE_CXX_COMPILER_ID "GNU")
set(CMAKE_CXX_COMPILER_VERSION "8.3.0")
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
set(CMAKE_CXX_COMPILER_WRAPPER "")
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "14")
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98;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_template_template_parameters;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_11;cxx_std_14;cxx_std_17;cxx_std_20")
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98;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_template_template_parameters;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_CXX11_COMPILE_FEATURES "cxx_std_11")
set(CMAKE_CXX14_COMPILE_FEATURES "cxx_std_14")
set(CMAKE_CXX17_COMPILE_FEATURES "cxx_std_17")
set(CMAKE_CXX20_COMPILE_FEATURES "cxx_std_20")
set(CMAKE_CXX_PLATFORM_ID "Linux")
set(CMAKE_CXX_SIMULATE_ID "")
set(CMAKE_CXX_SIMULATE_VERSION "")
set(CMAKE_AR "/usr/bin/ar")
set(CMAKE_CXX_COMPILER_AR "/usr/bin/gcc-ar-8")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_CXX_COMPILER_RANLIB "/usr/bin/gcc-ranlib-8")
set(CMAKE_LINKER "/usr/bin/ld")
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_COMPILER_IS_MINGW )
set(CMAKE_COMPILER_IS_CYGWIN )
if(CMAKE_COMPILER_IS_CYGWIN)
set(CYGWIN 1)
set(UNIX 1)
endif()
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
if(CMAKE_COMPILER_IS_MINGW)
set(MINGW 1)
endif()
set(CMAKE_CXX_COMPILER_ID_RUN 1)
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;mm;CPP)
set(CMAKE_CXX_LINKER_PREFERENCE 30)
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
# Save compiler ABI information.
set(CMAKE_CXX_SIZEOF_DATA_PTR "4")
set(CMAKE_CXX_COMPILER_ABI "ELF")
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "i386-linux-gnu")
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 "i386-linux-gnu")
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_LINK_LIBRARIES "")
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/x86_64-linux-gnu/8/32;/usr/x86_64-linux-gnu/lib32;/usr/lib/i386-linux-gnu;/usr/lib32;/lib/i386-linux-gnu;/lib32;/usr/lib/gcc/x86_64-linux-gnu/8;/usr/x86_64-linux-gnu/lib;/usr/lib")
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,15 @@
set(CMAKE_HOST_SYSTEM "Linux-4.19.0-16-amd64")
set(CMAKE_HOST_SYSTEM_NAME "Linux")
set(CMAKE_HOST_SYSTEM_VERSION "4.19.0-16-amd64")
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_SYSTEM "Linux-4.19.0-16-amd64")
set(CMAKE_SYSTEM_NAME "Linux")
set(CMAKE_SYSTEM_VERSION "4.19.0-16-amd64")
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_CROSSCOMPILING "FALSE")
set(CMAKE_SYSTEM_LOADED 1)

View File

@ -0,0 +1,623 @@
#ifdef __cplusplus
# error "A C++ compiler has been selected for C."
#endif
#if defined(__18CXX)
# define ID_VOID_MAIN
#endif
#if defined(__CLASSIC_C__)
/* cv-qualifiers did not exist in K&R C */
# define const
# define volatile
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
/* __INTEL_COMPILER = VRP */
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# 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(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>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"
# if defined(__ibmxl__)
# 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__)
# else
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
# endif
#elif defined(__ibmxl__) || (defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800)
# define COMPILER_ID "XL"
# if defined(__ibmxl__)
# 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__)
# else
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
# endif
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
# define COMPILER_ID "VisualAge"
# if defined(__ibmxl__)
# 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__)
# else
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
# 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(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
# define COMPILER_ID "Fujitsu"
#elif defined(__TINYC__)
# define COMPILER_ID "TinyCC"
#elif defined(__BCC__)
# define COMPILER_ID "Bruce"
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#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__)
# 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(__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(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
# define COMPILER_ID "ADSP"
#if defined(__VISUALDSPVERSION__)
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
# if defined(__VER__)
# 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__)
# endif
#elif defined(__ARMCC_VERSION)
# 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(__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
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
# define COMPILER_ID "MIPSpro"
# if defined(_SGI_COMPILER_VERSION)
/* _SGI_COMPILER_VERSION = VRP */
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
# else
/* _COMPILER_VERSION = VRP */
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 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(__sgi)
# define COMPILER_ID "MIPSpro"
#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(__CRAYXE) || defined(__CRAYXC)
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(__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(__sgi) || defined(__sgi__) || defined(_SGI)
# define PLATFORM_ID "IRIX"
#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"
# else /* unknown platform */
# define PLATFORM_ID
# endif
#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_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(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
# else /* unknown architecture */
# 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 components. */
#ifdef 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'};
#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__)
# if (defined(_MSC_VER) && !defined(__clang__)) \
|| (defined(__ibmxl__) || defined(__IBMC__))
# define C_DIALECT "90"
# else
# define C_DIALECT
# endif
#elif __STDC_VERSION__ >= 201000L
# define C_DIALECT "11"
#elif __STDC_VERSION__ >= 199901L
# define C_DIALECT "99"
#else
# define C_DIALECT "90"
#endif
const char* info_language_dialect_default =
"INFO" ":" "dialect_default[" C_DIALECT "]";
/*--------------------------------------------------------------------------*/
#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(__CRAYXE) || defined(__CRAYXC)
require += info_cray[argc];
#endif
require += info_language_dialect_default[argc];
(void)argv;
return require;
}
#endif

View File

@ -0,0 +1,602 @@
/* This source file must have a .cpp extension so that all C++ compilers
recognize the extension without flags. Borland does not know .cxx for
example. */
#ifndef __cplusplus
# error "A C compiler has been selected for C++."
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__COMO__)
# define COMPILER_ID "Comeau"
/* __COMO_VERSION__ = VRR */
# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
#elif defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
/* __INTEL_COMPILER = VRP */
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# 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(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>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_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"
# if defined(__ibmxl__)
# 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__)
# else
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
# endif
#elif defined(__ibmxl__) || (defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800)
# define COMPILER_ID "XL"
# if defined(__ibmxl__)
# 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__)
# else
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
# endif
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
# define COMPILER_ID "VisualAge"
# if defined(__ibmxl__)
# 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__)
# else
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
# 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(__FUJITSU) || defined(__FCC_VERSION) || defined(__fcc_version)
# define COMPILER_ID "Fujitsu"
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#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__)
# 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(__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(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
# define COMPILER_ID "ADSP"
#if defined(__VISUALDSPVERSION__)
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
# if defined(__VER__)
# 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__)
# endif
#elif defined(__ARMCC_VERSION)
# 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(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
# define COMPILER_ID "MIPSpro"
# if defined(_SGI_COMPILER_VERSION)
/* _SGI_COMPILER_VERSION = VRP */
# define COMPILER_VERSION_MAJOR DEC(_SGI_COMPILER_VERSION/100)
# define COMPILER_VERSION_MINOR DEC(_SGI_COMPILER_VERSION/10 % 10)
# define COMPILER_VERSION_PATCH DEC(_SGI_COMPILER_VERSION % 10)
# else
/* _COMPILER_VERSION = VRP */
# define COMPILER_VERSION_MAJOR DEC(_COMPILER_VERSION/100)
# define COMPILER_VERSION_MINOR DEC(_COMPILER_VERSION/10 % 10)
# define COMPILER_VERSION_PATCH DEC(_COMPILER_VERSION % 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(__sgi)
# define COMPILER_ID "MIPSpro"
#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(__CRAYXE) || defined(__CRAYXC)
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(__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(__sgi) || defined(__sgi__) || defined(_SGI)
# define PLATFORM_ID "IRIX"
#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"
# else /* unknown platform */
# define PLATFORM_ID
# endif
#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_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(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
# else /* unknown architecture */
# 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 components. */
#ifdef 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'};
#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(_MSC_VER) && defined(_MSVC_LANG)
#define CXX_STD _MSVC_LANG
#else
#define CXX_STD __cplusplus
#endif
const char* info_language_dialect_default = "INFO" ":" "dialect_default["
#if CXX_STD > 201703L
"20"
#elif CXX_STD >= 201703L
"17"
#elif CXX_STD >= 201402L
"14"
#elif CXX_STD >= 201103L
"11"
#else
"98"
#endif
"]";
/*--------------------------------------------------------------------------*/
int main(int argc, char* argv[])
{
int require = 0;
require += info_compiler[argc];
require += info_platform[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(__CRAYXE) || defined(__CRAYXC)
require += info_cray[argc];
#endif
require += info_language_dialect_default[argc];
(void)argv;
return require;
}

View File

@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/gbowne1/Documents/ClassicOS")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/gbowne1/Documents/ClassicOS/build")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View File

@ -0,0 +1,116 @@
Checking whether the ASM_NASM compiler is GNU using "--version" terminated after 10 s due to timeout.Checking whether the ASM_NASM compiler is Clang using "--version" terminated after 10 s due to timeout.Checking whether the ASM_NASM compiler is AppleClang using "--version" did not match "(Apple LLVM version)":
NASM version 2.14
Checking whether the ASM_NASM compiler is HP using "-V" did not match "HP C":
nasm:error: unrecognised option `-V'
type `nasm -h' for help
Checking whether the ASM_NASM compiler is Intel using "--version" did not match "(ICC)":
NASM version 2.14
Checking whether the ASM_NASM compiler is SunPro using "-V" did not match "Sun C":
nasm:error: unrecognised option `-V'
type `nasm -h' for help
Checking whether the ASM_NASM compiler is XL using "-qversion" did not match "XL C":
nasm:error: unrecognised option `-q'
type `nasm -h' for help
Checking whether the ASM_NASM compiler is MSVC using "/?" did not match "Microsoft":
nasm:fatal: unable to open output file `/?'
Checking whether the ASM_NASM compiler is TI using "-h" did not match "Texas Instruments":
usage: nasm [-@ response file] [-o outfile] [-f format] [-l listfile]
[options...] [--] filename
or nasm -v (or --v) for version info
Response files should contain command line parameters,
one per line.
-t assemble in SciTech TASM compatible mode
-E (or -e) preprocess only (writes output to stdout by default)
-a don't preprocess (assemble only)
-M generate Makefile dependencies on stdout
-MG d:o, missing files assumed generated
-MF file set Makefile dependency file
-MD file assemble and generate dependencies
-MT file dependency target name
-MQ file dependency target name (quoted)
-MP emit phony target
-Zfile redirect error messages to file
-s redirect error messages to stdout
-g generate debugging information
-F format select a debugging format
-gformat same as -g -F format
-o outfile write output to an outfile
-f format select an output format
-l listfile write listing to a listfile
-Ipath add a pathname to the include file path
-Olevel optimize opcodes, immediates and branch offsets
-O0 no optimization
-O1 minimal optimization
-Ox multipass optimization (default)
-Pfile pre-include a file (also --include)
-Dmacro[=str] pre-define a macro
-Umacro undefine a macro
-Xformat specifiy error reporting format (gnu or vc)
-w+foo enable warning foo (equiv. -Wfoo)
-w-foo disable warning foo (equiv. -Wno-foo)
-w[+-]error[=foo]
promote [specific] warnings to errors
-h show invocation summary and exit (also --help)
--pragma str pre-executes a specific %pragma
--before str add line (usually a preprocessor statement) before the input
--prefix str prepend the given string to all the given string
to all extern, common and global symbols (also --gprefix)
--postfix str append the given string to all the given string
to all extern, common and global symbols (also --gpostfix)
--lprefix str prepend the given string to all other symbols
--lpostfix str append the given string to all other symbols
--keep-all output files will not be removed even if an error happens
--limit-X val set execution limit X
passes total number of passes (default unlimited)
stalled-passes number of passes without forward progress (default 1000)
macro-levels levels of macro expansion (default 1000000)
rep %rep count (default 1000000)
eval expression evaluation descent (default 1000000)
lines total source lines processed (default 2000000000)
Warnings for the -W/-w options:
other any warning not specifially mentioned below (default on)
macro-params macro calls with wrong parameter count (default on)
macro-selfref cyclic macro references (default off)
macro-defaults macros with more default than optional parameters (default on)
orphan-labels labels alone on lines without trailing `:' (default on)
number-overflow numeric constant does not fit (default on)
gnu-elf-extensions using 8- or 16-bit relocation in ELF32, a GNU extension (default off)
float-overflow floating point overflow (default on)
float-denorm floating point denormal (default off)
float-underflow floating point underflow (default off)
float-toolong too many digits in floating-point number (default on)
user %warning directives (default on)
lock lock prefix on unlockable instructions (default on)
hle invalid hle prefixes (default on)
bnd invalid bnd prefixes (default on)
zext-reloc relocation zero-extended to match output format (default on)
ptr non-NASM keyword used in other assemblers (default on)
bad-pragma empty or malformed %pragma (default off)
unknown-pragma unknown %pragma facility or directive (default off)
not-my-pragma %pragma not applicable to this compilation (default off)
unknown-warning unknown warning in -W/-w or warning directive (default off)
negative-rep regative %rep count (default on)
phase phase error during stabilization (default off)
all all possible warnings
For a list of valid output formats, use -hf.
For a list of debug formats, use -f <format> -y.
Checking whether the ASM_NASM compiler is IAR using "" did not match "IAR Assembler":
nasm:fatal: no input file specified
type `nasm -h' for help
Checking whether the ASM_NASM compiler is ARMCC using "" did not match "(ARM Compiler)|(ARM Assembler)":
nasm:fatal: no input file specified
type `nasm -h' for help

View File

@ -0,0 +1,710 @@
The system is: Linux - 4.19.0-16-amd64 - x86_64
Checking whether the ASM_NASM compiler is NASM using "-v" matched "(NASM version)":
NASM version 2.14
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/gcc
Build flags: -m32;-ffreestanding;-nostdlib
Id flags:
The output was:
0
/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000001000
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
The C compiler identification is GNU, found in "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/3.13.4/CompilerIdC/a.out"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/bin/g++
Build flags: -m32;-ffreestanding;-nostdlib
Id flags:
The output was:
0
/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000001000
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
The CXX compiler identification is GNU, found in "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/3.13.4/CompilerIdCXX/a.out"
Determining if the C compiler works passed with the following output:
Change Dir: /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_950ed/fast"
/usr/bin/make -f CMakeFiles/cmTC_950ed.dir/build.make CMakeFiles/cmTC_950ed.dir/build
make[1]: Entering directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_950ed.dir/testCCompiler.c.o
/usr/bin/gcc -m32 -ffreestanding -nostdlib -std=gnu11 -o CMakeFiles/cmTC_950ed.dir/testCCompiler.c.o -c /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_950ed
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_950ed.dir/link.txt --verbose=1
/usr/bin/gcc -m32 -ffreestanding -nostdlib -e kernel_main -T/home/gbowne1/Documents/ClassicOS/linker.ld -m32 -z noexecstack CMakeFiles/cmTC_950ed.dir/testCCompiler.c.o -o cmTC_950ed
/usr/bin/ld: warning: cannot find entry symbol kernel_main; defaulting to 0000000000100000
make[1]: Leaving directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Detecting C compiler ABI info compiled with the following output:
Change Dir: /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_50241/fast"
/usr/bin/make -f CMakeFiles/cmTC_50241.dir/build.make CMakeFiles/cmTC_50241.dir/build
make[1]: Entering directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_50241.dir/CMakeCCompilerABI.c.o
/usr/bin/gcc -m32 -ffreestanding -nostdlib -std=gnu11 -o CMakeFiles/cmTC_50241.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.13/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_50241
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_50241.dir/link.txt --verbose=1
/usr/bin/gcc -m32 -ffreestanding -nostdlib -e kernel_main -T/home/gbowne1/Documents/ClassicOS/linker.ld -m32 -z noexecstack -v CMakeFiles/cmTC_50241.dir/CMakeCCompilerABI.c.o -o cmTC_50241
Using built-in specs.
COLLECT_GCC=/usr/bin/gcc
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
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/32/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/../lib32/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib32/:/lib/i386-linux-gnu/:/lib/../lib32/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib32/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../:/lib/i386-linux-gnu/:/lib/:/usr/lib/i386-linux-gnu/:/usr/lib/
COLLECT_GCC_OPTIONS='-ffreestanding' '-nostdlib' '-e' 'kernel_main' '-T' '/home/gbowne1/Documents/ClassicOS/linker.ld' '-m32' '-z' 'noexecstack' '-v' '-o' 'cmTC_50241' '-mtune=generic' '-march=i686'
/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/ccSAGcU0.res --build-id --eh-frame-hdr -m elf_i386 --hash-style=gnu -dynamic-linker /lib/ld-linux.so.2 -pie -o cmTC_50241 -e kernel_main -z noexecstack -L/usr/lib/gcc/x86_64-linux-gnu/8/32 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/../lib32 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib32 -L/lib/i386-linux-gnu -L/lib/../lib32 -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib32 -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu CMakeFiles/cmTC_50241.dir/CMakeCCompilerABI.c.o -T /home/gbowne1/Documents/ClassicOS/linker.ld
/usr/bin/ld: warning: cannot find entry symbol kernel_main; defaulting to 0000000000100000
COLLECT_GCC_OPTIONS='-ffreestanding' '-nostdlib' '-e' 'kernel_main' '-T' '/home/gbowne1/Documents/ClassicOS/linker.ld' '-m32' '-z' 'noexecstack' '-v' '-o' 'cmTC_50241' '-mtune=generic' '-march=i686'
make[1]: Leaving directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Parsed C implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_50241/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_50241.dir/build.make CMakeFiles/cmTC_50241.dir/build]
ignore line: [make[1]: Entering directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp']
ignore line: [Building C object CMakeFiles/cmTC_50241.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/gcc -m32 -ffreestanding -nostdlib -std=gnu11 -o CMakeFiles/cmTC_50241.dir/CMakeCCompilerABI.c.o -c /usr/share/cmake-3.13/Modules/CMakeCCompilerABI.c]
ignore line: [Linking C executable cmTC_50241]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_50241.dir/link.txt --verbose=1]
ignore line: [/usr/bin/gcc -m32 -ffreestanding -nostdlib -e kernel_main -T/home/gbowne1/Documents/ClassicOS/linker.ld -m32 -z noexecstack -v CMakeFiles/cmTC_50241.dir/CMakeCCompilerABI.c.o -o cmTC_50241 ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/gcc]
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: [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/32/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/../lib32/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib32/:/lib/i386-linux-gnu/:/lib/../lib32/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib32/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../:/lib/i386-linux-gnu/:/lib/:/usr/lib/i386-linux-gnu/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-ffreestanding' '-nostdlib' '-e' 'kernel_main' '-T' '/home/gbowne1/Documents/ClassicOS/linker.ld' '-m32' '-z' 'noexecstack' '-v' '-o' 'cmTC_50241' '-mtune=generic' '-march=i686']
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/ccSAGcU0.res --build-id --eh-frame-hdr -m elf_i386 --hash-style=gnu -dynamic-linker /lib/ld-linux.so.2 -pie -o cmTC_50241 -e kernel_main -z noexecstack -L/usr/lib/gcc/x86_64-linux-gnu/8/32 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/../lib32 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib32 -L/lib/i386-linux-gnu -L/lib/../lib32 -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib32 -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu CMakeFiles/cmTC_50241.dir/CMakeCCompilerABI.c.o -T /home/gbowne1/Documents/ClassicOS/linker.ld]
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/ccSAGcU0.res] ==> ignore
arg [--build-id] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [-m] ==> ignore
arg [elf_i386] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib/ld-linux.so.2] ==> ignore
arg [-pie] ==> ignore
arg [-o] ==> ignore
arg [cmTC_50241] ==> ignore
arg [-e] ==> ignore
arg [kernel_main] ==> ignore
arg [-znoexecstack] ==> ignore
arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/32] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/32]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/../lib32] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/../lib32]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib32] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib32]
arg [-L/lib/i386-linux-gnu] ==> dir [/lib/i386-linux-gnu]
arg [-L/lib/../lib32] ==> dir [/lib/../lib32]
arg [-L/usr/lib/i386-linux-gnu] ==> dir [/usr/lib/i386-linux-gnu]
arg [-L/usr/lib/../lib32] ==> dir [/usr/lib/../lib32]
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/lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../..]
arg [-L/lib/i386-linux-gnu] ==> dir [/lib/i386-linux-gnu]
arg [-L/usr/lib/i386-linux-gnu] ==> dir [/usr/lib/i386-linux-gnu]
arg [CMakeFiles/cmTC_50241.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-T] ==> ignore
arg [/home/gbowne1/Documents/ClassicOS/linker.ld] ==> ignore
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/32] ==> [/usr/lib/gcc/x86_64-linux-gnu/8/32]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/../lib32] ==> [/usr/x86_64-linux-gnu/lib32]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu] ==> [/usr/lib/i386-linux-gnu]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib32] ==> [/usr/lib32]
collapse library dir [/lib/i386-linux-gnu] ==> [/lib/i386-linux-gnu]
collapse library dir [/lib/../lib32] ==> [/lib32]
collapse library dir [/usr/lib/i386-linux-gnu] ==> [/usr/lib/i386-linux-gnu]
collapse library dir [/usr/lib/../lib32] ==> [/usr/lib32]
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/lib] ==> [/usr/x86_64-linux-gnu/lib]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu] ==> [/usr/lib/i386-linux-gnu]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../..] ==> [/usr/lib]
collapse library dir [/lib/i386-linux-gnu] ==> [/lib/i386-linux-gnu]
collapse library dir [/usr/lib/i386-linux-gnu] ==> [/usr/lib/i386-linux-gnu]
implicit libs: []
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/8/32;/usr/x86_64-linux-gnu/lib32;/usr/lib/i386-linux-gnu;/usr/lib32;/lib/i386-linux-gnu;/lib32;/usr/lib/gcc/x86_64-linux-gnu/8;/usr/x86_64-linux-gnu/lib;/usr/lib]
implicit fwks: []
Detecting C [-std=c11] compiler features compiled with the following output:
Change Dir: /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_a8f4a/fast"
/usr/bin/make -f CMakeFiles/cmTC_a8f4a.dir/build.make CMakeFiles/cmTC_a8f4a.dir/build
make[1]: Entering directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_a8f4a.dir/feature_tests.c.o
/usr/bin/gcc -m32 -ffreestanding -nostdlib -std=c11 -std=gnu11 -o CMakeFiles/cmTC_a8f4a.dir/feature_tests.c.o -c /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_a8f4a
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_a8f4a.dir/link.txt --verbose=1
/usr/bin/gcc -m32 -ffreestanding -nostdlib -e kernel_main -T/home/gbowne1/Documents/ClassicOS/linker.ld -m32 -z noexecstack CMakeFiles/cmTC_a8f4a.dir/feature_tests.c.o -o cmTC_a8f4a
/usr/bin/ld: warning: cannot find entry symbol kernel_main; defaulting to 0000000000100000
make[1]: Leaving directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:1c_static_assert
Feature record: C_FEATURE:1c_variadic_macros
Detecting C [-std=c99] compiler features compiled with the following output:
Change Dir: /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_3fc08/fast"
/usr/bin/make -f CMakeFiles/cmTC_3fc08.dir/build.make CMakeFiles/cmTC_3fc08.dir/build
make[1]: Entering directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3fc08.dir/feature_tests.c.o
/usr/bin/gcc -m32 -ffreestanding -nostdlib -std=c99 -std=gnu11 -o CMakeFiles/cmTC_3fc08.dir/feature_tests.c.o -c /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_3fc08
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3fc08.dir/link.txt --verbose=1
/usr/bin/gcc -m32 -ffreestanding -nostdlib -e kernel_main -T/home/gbowne1/Documents/ClassicOS/linker.ld -m32 -z noexecstack CMakeFiles/cmTC_3fc08.dir/feature_tests.c.o -o cmTC_3fc08
/usr/bin/ld: warning: cannot find entry symbol kernel_main; defaulting to 0000000000100000
make[1]: Leaving directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:1c_static_assert
Feature record: C_FEATURE:1c_variadic_macros
Detecting C [-std=c90] compiler features compiled with the following output:
Change Dir: /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_f007b/fast"
/usr/bin/make -f CMakeFiles/cmTC_f007b.dir/build.make CMakeFiles/cmTC_f007b.dir/build
make[1]: Entering directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f007b.dir/feature_tests.c.o
/usr/bin/gcc -m32 -ffreestanding -nostdlib -std=c90 -std=gnu11 -o CMakeFiles/cmTC_f007b.dir/feature_tests.c.o -c /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_f007b
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f007b.dir/link.txt --verbose=1
/usr/bin/gcc -m32 -ffreestanding -nostdlib -e kernel_main -T/home/gbowne1/Documents/ClassicOS/linker.ld -m32 -z noexecstack CMakeFiles/cmTC_f007b.dir/feature_tests.c.o -o cmTC_f007b
/usr/bin/ld: warning: cannot find entry symbol kernel_main; defaulting to 0000000000100000
make[1]: Leaving directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Feature record: C_FEATURE:1c_function_prototypes
Feature record: C_FEATURE:1c_restrict
Feature record: C_FEATURE:1c_static_assert
Feature record: C_FEATURE:1c_variadic_macros
Determining if the CXX compiler works passed with the following output:
Change Dir: /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_3279a/fast"
/usr/bin/make -f CMakeFiles/cmTC_3279a.dir/build.make CMakeFiles/cmTC_3279a.dir/build
make[1]: Entering directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_3279a.dir/testCXXCompiler.cxx.o
/usr/bin/g++ -m32 -ffreestanding -nostdlib -std=gnu++11 -o CMakeFiles/cmTC_3279a.dir/testCXXCompiler.cxx.o -c /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTC_3279a
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3279a.dir/link.txt --verbose=1
/usr/bin/g++ -m32 -ffreestanding -nostdlib -e kernel_main -T/home/gbowne1/Documents/ClassicOS/linker.ld -m32 -z noexecstack CMakeFiles/cmTC_3279a.dir/testCXXCompiler.cxx.o -o cmTC_3279a
/usr/bin/ld: warning: cannot find entry symbol kernel_main; defaulting to 0000000000100000
make[1]: Leaving directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_8ccc6/fast"
/usr/bin/make -f CMakeFiles/cmTC_8ccc6.dir/build.make CMakeFiles/cmTC_8ccc6.dir/build
make[1]: Entering directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_8ccc6.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/g++ -m32 -ffreestanding -nostdlib -std=gnu++11 -o CMakeFiles/cmTC_8ccc6.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.13/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTC_8ccc6
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8ccc6.dir/link.txt --verbose=1
/usr/bin/g++ -m32 -ffreestanding -nostdlib -e kernel_main -T/home/gbowne1/Documents/ClassicOS/linker.ld -m32 -z noexecstack -v CMakeFiles/cmTC_8ccc6.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_8ccc6
Using built-in specs.
COLLECT_GCC=/usr/bin/g++
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
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/32/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/../lib32/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib32/:/lib/i386-linux-gnu/:/lib/../lib32/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib32/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../:/lib/i386-linux-gnu/:/lib/:/usr/lib/i386-linux-gnu/:/usr/lib/
COLLECT_GCC_OPTIONS='-ffreestanding' '-nostdlib' '-e' 'kernel_main' '-T' '/home/gbowne1/Documents/ClassicOS/linker.ld' '-m32' '-z' 'noexecstack' '-v' '-o' 'cmTC_8ccc6' '-shared-libgcc' '-mtune=generic' '-march=i686'
/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/ccCahleH.res --build-id --eh-frame-hdr -m elf_i386 --hash-style=gnu -dynamic-linker /lib/ld-linux.so.2 -pie -o cmTC_8ccc6 -e kernel_main -z noexecstack -L/usr/lib/gcc/x86_64-linux-gnu/8/32 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/../lib32 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib32 -L/lib/i386-linux-gnu -L/lib/../lib32 -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib32 -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu CMakeFiles/cmTC_8ccc6.dir/CMakeCXXCompilerABI.cpp.o -T /home/gbowne1/Documents/ClassicOS/linker.ld
/usr/bin/ld: warning: cannot find entry symbol kernel_main; defaulting to 0000000000100000
COLLECT_GCC_OPTIONS='-ffreestanding' '-nostdlib' '-e' 'kernel_main' '-T' '/home/gbowne1/Documents/ClassicOS/linker.ld' '-m32' '-z' 'noexecstack' '-v' '-o' 'cmTC_8ccc6' '-shared-libgcc' '-mtune=generic' '-march=i686'
make[1]: Leaving directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Parsed CXX implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTC_8ccc6/fast"]
ignore line: [/usr/bin/make -f CMakeFiles/cmTC_8ccc6.dir/build.make CMakeFiles/cmTC_8ccc6.dir/build]
ignore line: [make[1]: Entering directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp']
ignore line: [Building CXX object CMakeFiles/cmTC_8ccc6.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/g++ -m32 -ffreestanding -nostdlib -std=gnu++11 -o CMakeFiles/cmTC_8ccc6.dir/CMakeCXXCompilerABI.cpp.o -c /usr/share/cmake-3.13/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Linking CXX executable cmTC_8ccc6]
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_8ccc6.dir/link.txt --verbose=1]
ignore line: [/usr/bin/g++ -m32 -ffreestanding -nostdlib -e kernel_main -T/home/gbowne1/Documents/ClassicOS/linker.ld -m32 -z noexecstack -v CMakeFiles/cmTC_8ccc6.dir/CMakeCXXCompilerABI.cpp.o -o cmTC_8ccc6 ]
ignore line: [Using built-in specs.]
ignore line: [COLLECT_GCC=/usr/bin/g++]
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: [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/32/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/../lib32/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib32/:/lib/i386-linux-gnu/:/lib/../lib32/:/usr/lib/i386-linux-gnu/:/usr/lib/../lib32/:/usr/lib/gcc/x86_64-linux-gnu/8/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu/:/usr/lib/gcc/x86_64-linux-gnu/8/../../../:/lib/i386-linux-gnu/:/lib/:/usr/lib/i386-linux-gnu/:/usr/lib/]
ignore line: [COLLECT_GCC_OPTIONS='-ffreestanding' '-nostdlib' '-e' 'kernel_main' '-T' '/home/gbowne1/Documents/ClassicOS/linker.ld' '-m32' '-z' 'noexecstack' '-v' '-o' 'cmTC_8ccc6' '-shared-libgcc' '-mtune=generic' '-march=i686']
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/ccCahleH.res --build-id --eh-frame-hdr -m elf_i386 --hash-style=gnu -dynamic-linker /lib/ld-linux.so.2 -pie -o cmTC_8ccc6 -e kernel_main -z noexecstack -L/usr/lib/gcc/x86_64-linux-gnu/8/32 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/../lib32 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib32 -L/lib/i386-linux-gnu -L/lib/../lib32 -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib32 -L/usr/lib/gcc/x86_64-linux-gnu/8 -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib -L/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/8/../../.. -L/lib/i386-linux-gnu -L/usr/lib/i386-linux-gnu CMakeFiles/cmTC_8ccc6.dir/CMakeCXXCompilerABI.cpp.o -T /home/gbowne1/Documents/ClassicOS/linker.ld]
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/ccCahleH.res] ==> ignore
arg [--build-id] ==> ignore
arg [--eh-frame-hdr] ==> ignore
arg [-m] ==> ignore
arg [elf_i386] ==> ignore
arg [--hash-style=gnu] ==> ignore
arg [-dynamic-linker] ==> ignore
arg [/lib/ld-linux.so.2] ==> ignore
arg [-pie] ==> ignore
arg [-o] ==> ignore
arg [cmTC_8ccc6] ==> ignore
arg [-e] ==> ignore
arg [kernel_main] ==> ignore
arg [-znoexecstack] ==> ignore
arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/32] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/32]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/../lib32] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/../lib32]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib32] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib32]
arg [-L/lib/i386-linux-gnu] ==> dir [/lib/i386-linux-gnu]
arg [-L/lib/../lib32] ==> dir [/lib/../lib32]
arg [-L/usr/lib/i386-linux-gnu] ==> dir [/usr/lib/i386-linux-gnu]
arg [-L/usr/lib/../lib32] ==> dir [/usr/lib/../lib32]
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/lib] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu]
arg [-L/usr/lib/gcc/x86_64-linux-gnu/8/../../..] ==> dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../..]
arg [-L/lib/i386-linux-gnu] ==> dir [/lib/i386-linux-gnu]
arg [-L/usr/lib/i386-linux-gnu] ==> dir [/usr/lib/i386-linux-gnu]
arg [CMakeFiles/cmTC_8ccc6.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-T] ==> ignore
arg [/home/gbowne1/Documents/ClassicOS/linker.ld] ==> ignore
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/32] ==> [/usr/lib/gcc/x86_64-linux-gnu/8/32]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../../x86_64-linux-gnu/lib/../lib32] ==> [/usr/x86_64-linux-gnu/lib32]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu] ==> [/usr/lib/i386-linux-gnu]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../../lib32] ==> [/usr/lib32]
collapse library dir [/lib/i386-linux-gnu] ==> [/lib/i386-linux-gnu]
collapse library dir [/lib/../lib32] ==> [/lib32]
collapse library dir [/usr/lib/i386-linux-gnu] ==> [/usr/lib/i386-linux-gnu]
collapse library dir [/usr/lib/../lib32] ==> [/usr/lib32]
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/lib] ==> [/usr/x86_64-linux-gnu/lib]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../../i386-linux-gnu] ==> [/usr/lib/i386-linux-gnu]
collapse library dir [/usr/lib/gcc/x86_64-linux-gnu/8/../../..] ==> [/usr/lib]
collapse library dir [/lib/i386-linux-gnu] ==> [/lib/i386-linux-gnu]
collapse library dir [/usr/lib/i386-linux-gnu] ==> [/usr/lib/i386-linux-gnu]
implicit libs: []
implicit dirs: [/usr/lib/gcc/x86_64-linux-gnu/8/32;/usr/x86_64-linux-gnu/lib32;/usr/lib/i386-linux-gnu;/usr/lib32;/lib/i386-linux-gnu;/lib32;/usr/lib/gcc/x86_64-linux-gnu/8;/usr/x86_64-linux-gnu/lib;/usr/lib]
implicit fwks: []
Detecting CXX [-std=c++2a] compiler features compiled with the following output:
Change Dir: /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_c3946/fast"
/usr/bin/make -f CMakeFiles/cmTC_c3946.dir/build.make CMakeFiles/cmTC_c3946.dir/build
make[1]: Entering directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_c3946.dir/feature_tests.cxx.o
/usr/bin/g++ -m32 -ffreestanding -nostdlib -std=c++2a -std=gnu++11 -o CMakeFiles/cmTC_c3946.dir/feature_tests.cxx.o -c /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_c3946
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c3946.dir/link.txt --verbose=1
/usr/bin/g++ -m32 -ffreestanding -nostdlib -e kernel_main -T/home/gbowne1/Documents/ClassicOS/linker.ld -m32 -z noexecstack CMakeFiles/cmTC_c3946.dir/feature_tests.cxx.o -o cmTC_c3946
/usr/bin/ld: warning: cannot find entry symbol kernel_main; defaulting to 0000000000100000
make[1]: Leaving directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:0cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:0cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:0cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:0cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:0cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:0cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:0cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
Feature record: CXX_FEATURE:0cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:0cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates
Detecting CXX [-std=c++17] compiler features compiled with the following output:
Change Dir: /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_3ec97/fast"
/usr/bin/make -f CMakeFiles/cmTC_3ec97.dir/build.make CMakeFiles/cmTC_3ec97.dir/build
make[1]: Entering directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_3ec97.dir/feature_tests.cxx.o
/usr/bin/g++ -m32 -ffreestanding -nostdlib -std=c++17 -std=gnu++11 -o CMakeFiles/cmTC_3ec97.dir/feature_tests.cxx.o -c /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_3ec97
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3ec97.dir/link.txt --verbose=1
/usr/bin/g++ -m32 -ffreestanding -nostdlib -e kernel_main -T/home/gbowne1/Documents/ClassicOS/linker.ld -m32 -z noexecstack CMakeFiles/cmTC_3ec97.dir/feature_tests.cxx.o -o cmTC_3ec97
/usr/bin/ld: warning: cannot find entry symbol kernel_main; defaulting to 0000000000100000
make[1]: Leaving directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:0cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:0cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:0cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:0cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:0cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:0cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:0cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
Feature record: CXX_FEATURE:0cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:0cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates
Detecting CXX [-std=c++14] compiler features compiled with the following output:
Change Dir: /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_3c0b3/fast"
/usr/bin/make -f CMakeFiles/cmTC_3c0b3.dir/build.make CMakeFiles/cmTC_3c0b3.dir/build
make[1]: Entering directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_3c0b3.dir/feature_tests.cxx.o
/usr/bin/g++ -m32 -ffreestanding -nostdlib -std=c++14 -std=gnu++11 -o CMakeFiles/cmTC_3c0b3.dir/feature_tests.cxx.o -c /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_3c0b3
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3c0b3.dir/link.txt --verbose=1
/usr/bin/g++ -m32 -ffreestanding -nostdlib -e kernel_main -T/home/gbowne1/Documents/ClassicOS/linker.ld -m32 -z noexecstack CMakeFiles/cmTC_3c0b3.dir/feature_tests.cxx.o -o cmTC_3c0b3
/usr/bin/ld: warning: cannot find entry symbol kernel_main; defaulting to 0000000000100000
make[1]: Leaving directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:0cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:0cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:0cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:0cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:0cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:0cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:0cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
Feature record: CXX_FEATURE:0cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:0cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates
Detecting CXX [-std=c++11] compiler features compiled with the following output:
Change Dir: /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_b477f/fast"
/usr/bin/make -f CMakeFiles/cmTC_b477f.dir/build.make CMakeFiles/cmTC_b477f.dir/build
make[1]: Entering directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_b477f.dir/feature_tests.cxx.o
/usr/bin/g++ -m32 -ffreestanding -nostdlib -std=c++11 -std=gnu++11 -o CMakeFiles/cmTC_b477f.dir/feature_tests.cxx.o -c /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_b477f
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b477f.dir/link.txt --verbose=1
/usr/bin/g++ -m32 -ffreestanding -nostdlib -e kernel_main -T/home/gbowne1/Documents/ClassicOS/linker.ld -m32 -z noexecstack CMakeFiles/cmTC_b477f.dir/feature_tests.cxx.o -o cmTC_b477f
/usr/bin/ld: warning: cannot find entry symbol kernel_main; defaulting to 0000000000100000
make[1]: Leaving directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:0cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:0cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:0cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:0cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:0cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:0cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:0cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
Feature record: CXX_FEATURE:0cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:0cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates
Detecting CXX [-std=c++98] compiler features compiled with the following output:
Change Dir: /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_35b7b/fast"
/usr/bin/make -f CMakeFiles/cmTC_35b7b.dir/build.make CMakeFiles/cmTC_35b7b.dir/build
make[1]: Entering directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_35b7b.dir/feature_tests.cxx.o
/usr/bin/g++ -m32 -ffreestanding -nostdlib -std=c++98 -std=gnu++11 -o CMakeFiles/cmTC_35b7b.dir/feature_tests.cxx.o -c /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/feature_tests.cxx
Linking CXX executable cmTC_35b7b
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_35b7b.dir/link.txt --verbose=1
/usr/bin/g++ -m32 -ffreestanding -nostdlib -e kernel_main -T/home/gbowne1/Documents/ClassicOS/linker.ld -m32 -z noexecstack CMakeFiles/cmTC_35b7b.dir/feature_tests.cxx.o -o cmTC_35b7b
/usr/bin/ld: warning: cannot find entry symbol kernel_main; defaulting to 0000000000100000
make[1]: Leaving directory '/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/CMakeTmp'
Feature record: CXX_FEATURE:0cxx_aggregate_default_initializers
Feature record: CXX_FEATURE:1cxx_alias_templates
Feature record: CXX_FEATURE:1cxx_alignas
Feature record: CXX_FEATURE:1cxx_alignof
Feature record: CXX_FEATURE:1cxx_attributes
Feature record: CXX_FEATURE:0cxx_attribute_deprecated
Feature record: CXX_FEATURE:1cxx_auto_type
Feature record: CXX_FEATURE:0cxx_binary_literals
Feature record: CXX_FEATURE:1cxx_constexpr
Feature record: CXX_FEATURE:0cxx_contextual_conversions
Feature record: CXX_FEATURE:1cxx_decltype
Feature record: CXX_FEATURE:0cxx_decltype_auto
Feature record: CXX_FEATURE:1cxx_decltype_incomplete_return_types
Feature record: CXX_FEATURE:1cxx_default_function_template_args
Feature record: CXX_FEATURE:1cxx_defaulted_functions
Feature record: CXX_FEATURE:1cxx_defaulted_move_initializers
Feature record: CXX_FEATURE:1cxx_delegating_constructors
Feature record: CXX_FEATURE:1cxx_deleted_functions
Feature record: CXX_FEATURE:0cxx_digit_separators
Feature record: CXX_FEATURE:1cxx_enum_forward_declarations
Feature record: CXX_FEATURE:1cxx_explicit_conversions
Feature record: CXX_FEATURE:1cxx_extended_friend_declarations
Feature record: CXX_FEATURE:1cxx_extern_templates
Feature record: CXX_FEATURE:1cxx_final
Feature record: CXX_FEATURE:1cxx_func_identifier
Feature record: CXX_FEATURE:1cxx_generalized_initializers
Feature record: CXX_FEATURE:0cxx_generic_lambdas
Feature record: CXX_FEATURE:1cxx_inheriting_constructors
Feature record: CXX_FEATURE:1cxx_inline_namespaces
Feature record: CXX_FEATURE:1cxx_lambdas
Feature record: CXX_FEATURE:0cxx_lambda_init_captures
Feature record: CXX_FEATURE:1cxx_local_type_template_args
Feature record: CXX_FEATURE:1cxx_long_long_type
Feature record: CXX_FEATURE:1cxx_noexcept
Feature record: CXX_FEATURE:1cxx_nonstatic_member_init
Feature record: CXX_FEATURE:1cxx_nullptr
Feature record: CXX_FEATURE:1cxx_override
Feature record: CXX_FEATURE:1cxx_range_for
Feature record: CXX_FEATURE:1cxx_raw_string_literals
Feature record: CXX_FEATURE:1cxx_reference_qualified_functions
Feature record: CXX_FEATURE:0cxx_relaxed_constexpr
Feature record: CXX_FEATURE:0cxx_return_type_deduction
Feature record: CXX_FEATURE:1cxx_right_angle_brackets
Feature record: CXX_FEATURE:1cxx_rvalue_references
Feature record: CXX_FEATURE:1cxx_sizeof_member
Feature record: CXX_FEATURE:1cxx_static_assert
Feature record: CXX_FEATURE:1cxx_strong_enums
Feature record: CXX_FEATURE:1cxx_template_template_parameters
Feature record: CXX_FEATURE:1cxx_thread_local
Feature record: CXX_FEATURE:1cxx_trailing_return_types
Feature record: CXX_FEATURE:1cxx_unicode_literals
Feature record: CXX_FEATURE:1cxx_uniform_initialization
Feature record: CXX_FEATURE:1cxx_unrestricted_unions
Feature record: CXX_FEATURE:1cxx_user_literals
Feature record: CXX_FEATURE:0cxx_variable_templates
Feature record: CXX_FEATURE:1cxx_variadic_macros
Feature record: CXX_FEATURE:1cxx_variadic_templates

View File

@ -0,0 +1,112 @@
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
/home/gbowne1/Documents/ClassicOS/src/kernel/./arch/x86/gdt.h
stdbool.h
-
stdint.h
-
/home/gbowne1/Documents/ClassicOS/src/kernel/./arch/x86/idt.h
include/types.h
/home/gbowne1/Documents/ClassicOS/src/kernel/./arch/x86/include/types.h
stdbool.h
-
/home/gbowne1/Documents/ClassicOS/src/kernel/./arch/x86/include/memory.h
stddef.h
-
stdint.h
-
/home/gbowne1/Documents/ClassicOS/src/kernel/./arch/x86/include/types.h
stdint.h
-
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/gdt.c
gdt.h
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/gdt.h
idt.h
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/idt.h
isr/isr.h
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/isr.h
inttypes.h
-
stdbool.h
-
stddef.h
-
stdint.h
-
stdio.h
-
stdlib.h
-
string.h
-
sys/cdefs.h
-
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/gdt.h
stdbool.h
-
stdint.h
-
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/idt.h
include/types.h
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/include/types.h
stdbool.h
-
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/include/types.h
stdint.h
-
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/isr.h
../include/types.h
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/include/types.h
/home/gbowne1/Documents/ClassicOS/src/kernel/kernel.c
kernel.h
/home/gbowne1/Documents/ClassicOS/src/kernel/kernel.h
../kernel/malloc/kmalloc.h
/home/gbowne1/Documents/ClassicOS/src/kernel/malloc/kmalloc.h
../kernel/malloc/malloc.h
/home/gbowne1/Documents/ClassicOS/src/kernel/malloc/malloc.h
./arch/x86/gdt.h
/home/gbowne1/Documents/ClassicOS/src/kernel/./arch/x86/gdt.h
./arch/x86/idt.h
/home/gbowne1/Documents/ClassicOS/src/kernel/./arch/x86/idt.h
./arch/x86/include/memory.h
/home/gbowne1/Documents/ClassicOS/src/kernel/./arch/x86/include/memory.h
stdbool.h
-
stddef.h
-
stdint.h
-
stdio.h
-
string.h
-
/home/gbowne1/Documents/ClassicOS/src/kernel/kernel.h
kernel.h
/home/gbowne1/Documents/ClassicOS/src/kernel/kernel.h
/home/gbowne1/Documents/ClassicOS/src/kernel/malloc/kmalloc.h
stdint.h
-
stddef.h
-
/home/gbowne1/Documents/ClassicOS/src/kernel/malloc/malloc.h
stddef.h
-

View File

@ -0,0 +1,49 @@
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"ASM_NASM"
"C"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_ASM_NASM
"/home/gbowne1/Documents/ClassicOS/src/drivers/io/io.asm" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/drivers/io/io.asm.o"
"/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/gdt.asm" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.asm.o"
"/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/idt.asm" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.asm.o"
)
set(CMAKE_ASM_NASM_COMPILER_ID "NASM")
# The include file search paths:
set(CMAKE_ASM_NASM_TARGET_INCLUDE_PATH
)
set(CMAKE_DEPENDS_CHECK_C
"/home/gbowne1/Documents/ClassicOS/src/drivers/audio/audio.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.o"
"/home/gbowne1/Documents/ClassicOS/src/drivers/bus/eisa.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.o"
"/home/gbowne1/Documents/ClassicOS/src/drivers/bus/isa.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.o"
"/home/gbowne1/Documents/ClassicOS/src/drivers/bus/mca.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.o"
"/home/gbowne1/Documents/ClassicOS/src/drivers/bus/pci.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.o"
"/home/gbowne1/Documents/ClassicOS/src/drivers/bus/vesa.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.o"
"/home/gbowne1/Documents/ClassicOS/src/drivers/display/display.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.o"
"/home/gbowne1/Documents/ClassicOS/src/drivers/io/io.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.o"
"/home/gbowne1/Documents/ClassicOS/src/drivers/keyboard/keyboard.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.o"
"/home/gbowne1/Documents/ClassicOS/src/drivers/screen/screen.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.o"
"/home/gbowne1/Documents/ClassicOS/src/drivers/tty/tty.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.o"
"/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/gdt.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.o"
"/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/idt.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.o"
"/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/exceptions.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.o"
"/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/isr.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.o"
"/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/memory/memory.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.o"
"/home/gbowne1/Documents/ClassicOS/src/kernel/kernel.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o"
"/home/gbowne1/Documents/ClassicOS/src/kernel/print.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/kernel/print.c.o"
"/home/gbowne1/Documents/ClassicOS/src/kernel/stack.c" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/src/kernel/stack.c.o"
)
set(CMAKE_C_COMPILER_ID "GNU")
# The include file search paths:
set(CMAKE_C_TARGET_INCLUDE_PATH
)
# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

View File

@ -0,0 +1,389 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# 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 remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/gbowne1/Documents/ClassicOS
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/gbowne1/Documents/ClassicOS/build
# Include any dependencies generated for this target.
include CMakeFiles/ClassicOS.dir/depend.make
# Include the progress variables for this target.
include CMakeFiles/ClassicOS.dir/progress.make
# Include the compile flags for this target's objects.
include CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.o: ../src/kernel/arch/x86/memory/memory.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building C object CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.o -c /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/memory/memory.c
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/memory/memory.c > CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.i
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/memory/memory.c -o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.s
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.o: ../src/kernel/arch/x86/gdt.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building C object CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.o -c /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/gdt.c
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/gdt.c > CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.i
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/gdt.c -o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.s
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.asm.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.asm.o: ../src/kernel/arch/x86/gdt.asm
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building ASM_NASM object CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.asm.o"
/usr/bin/nasm $(ASM_NASM_INCLUDES) $(ASM_NASM_FLAGS) -f elf -o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.asm.o /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/gdt.asm
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.o: ../src/kernel/arch/x86/idt.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building C object CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.o -c /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/idt.c
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/idt.c > CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.i
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/idt.c -o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.s
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.asm.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.asm.o: ../src/kernel/arch/x86/idt.asm
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Building ASM_NASM object CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.asm.o"
/usr/bin/nasm $(ASM_NASM_INCLUDES) $(ASM_NASM_FLAGS) -f elf -o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.asm.o /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/idt.asm
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.o: ../src/kernel/arch/x86/isr/isr.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "Building C object CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.o -c /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/isr.c
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/isr.c > CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.i
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/isr.c -o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.s
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.o: ../src/kernel/arch/x86/isr/exceptions.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_7) "Building C object CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.o -c /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/exceptions.c
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/exceptions.c > CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.i
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/exceptions.c -o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.s
CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o: ../src/kernel/kernel.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_8) "Building C object CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o -c /home/gbowne1/Documents/ClassicOS/src/kernel/kernel.c
CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/kernel/kernel.c > CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.i
CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/kernel/kernel.c -o CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.s
CMakeFiles/ClassicOS.dir/src/kernel/print.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/kernel/print.c.o: ../src/kernel/print.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_9) "Building C object CMakeFiles/ClassicOS.dir/src/kernel/print.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/kernel/print.c.o -c /home/gbowne1/Documents/ClassicOS/src/kernel/print.c
CMakeFiles/ClassicOS.dir/src/kernel/print.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/kernel/print.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/kernel/print.c > CMakeFiles/ClassicOS.dir/src/kernel/print.c.i
CMakeFiles/ClassicOS.dir/src/kernel/print.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/kernel/print.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/kernel/print.c -o CMakeFiles/ClassicOS.dir/src/kernel/print.c.s
CMakeFiles/ClassicOS.dir/src/kernel/stack.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/kernel/stack.c.o: ../src/kernel/stack.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_10) "Building C object CMakeFiles/ClassicOS.dir/src/kernel/stack.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/kernel/stack.c.o -c /home/gbowne1/Documents/ClassicOS/src/kernel/stack.c
CMakeFiles/ClassicOS.dir/src/kernel/stack.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/kernel/stack.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/kernel/stack.c > CMakeFiles/ClassicOS.dir/src/kernel/stack.c.i
CMakeFiles/ClassicOS.dir/src/kernel/stack.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/kernel/stack.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/kernel/stack.c -o CMakeFiles/ClassicOS.dir/src/kernel/stack.c.s
CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.o: ../src/drivers/audio/audio.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_11) "Building C object CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/audio/audio.c
CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/drivers/audio/audio.c > CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.i
CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/drivers/audio/audio.c -o CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.s
CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.o: ../src/drivers/bus/eisa.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_12) "Building C object CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/bus/eisa.c
CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/drivers/bus/eisa.c > CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.i
CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/drivers/bus/eisa.c -o CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.s
CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.o: ../src/drivers/bus/isa.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_13) "Building C object CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/bus/isa.c
CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/drivers/bus/isa.c > CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.i
CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/drivers/bus/isa.c -o CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.s
CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.o: ../src/drivers/bus/mca.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_14) "Building C object CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/bus/mca.c
CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/drivers/bus/mca.c > CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.i
CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/drivers/bus/mca.c -o CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.s
CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.o: ../src/drivers/bus/pci.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_15) "Building C object CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/bus/pci.c
CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/drivers/bus/pci.c > CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.i
CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/drivers/bus/pci.c -o CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.s
CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.o: ../src/drivers/bus/vesa.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_16) "Building C object CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/bus/vesa.c
CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/drivers/bus/vesa.c > CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.i
CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/drivers/bus/vesa.c -o CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.s
CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.o: ../src/drivers/display/display.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_17) "Building C object CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/display/display.c
CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/drivers/display/display.c > CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.i
CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/drivers/display/display.c -o CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.s
CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.o: ../src/drivers/io/io.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_18) "Building C object CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/io/io.c
CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/drivers/io/io.c > CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.i
CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/drivers/io/io.c -o CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.s
CMakeFiles/ClassicOS.dir/src/drivers/io/io.asm.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/drivers/io/io.asm.o: ../src/drivers/io/io.asm
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_19) "Building ASM_NASM object CMakeFiles/ClassicOS.dir/src/drivers/io/io.asm.o"
/usr/bin/nasm $(ASM_NASM_INCLUDES) $(ASM_NASM_FLAGS) -f elf -o CMakeFiles/ClassicOS.dir/src/drivers/io/io.asm.o /home/gbowne1/Documents/ClassicOS/src/drivers/io/io.asm
CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.o: ../src/drivers/keyboard/keyboard.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_20) "Building C object CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/keyboard/keyboard.c
CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/drivers/keyboard/keyboard.c > CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.i
CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/drivers/keyboard/keyboard.c -o CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.s
CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.o: ../src/drivers/screen/screen.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_21) "Building C object CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/screen/screen.c
CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/drivers/screen/screen.c > CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.i
CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/drivers/screen/screen.c -o CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.s
CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.o: CMakeFiles/ClassicOS.dir/flags.make
CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.o: ../src/drivers/tty/tty.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_22) "Building C object CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.o"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -o CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/tty/tty.c
CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.i"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -E /home/gbowne1/Documents/ClassicOS/src/drivers/tty/tty.c > CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.i
CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.s"
/usr/bin/gcc $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) -S /home/gbowne1/Documents/ClassicOS/src/drivers/tty/tty.c -o CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.s
# Object files for target ClassicOS
ClassicOS_OBJECTS = \
"CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.o" \
"CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.o" \
"CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.asm.o" \
"CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.o" \
"CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.asm.o" \
"CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.o" \
"CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.o" \
"CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o" \
"CMakeFiles/ClassicOS.dir/src/kernel/print.c.o" \
"CMakeFiles/ClassicOS.dir/src/kernel/stack.c.o" \
"CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.o" \
"CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.o" \
"CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.o" \
"CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.o" \
"CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.o" \
"CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.o" \
"CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.o" \
"CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.o" \
"CMakeFiles/ClassicOS.dir/src/drivers/io/io.asm.o" \
"CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.o" \
"CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.o" \
"CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.o"
# External object files for target ClassicOS
ClassicOS_EXTERNAL_OBJECTS =
ClassicOS: CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.asm.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.asm.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/kernel/print.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/kernel/stack.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/drivers/io/io.asm.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.o
ClassicOS: CMakeFiles/ClassicOS.dir/build.make
ClassicOS: CMakeFiles/ClassicOS.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_23) "Linking C executable ClassicOS"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/ClassicOS.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
CMakeFiles/ClassicOS.dir/build: ClassicOS
.PHONY : CMakeFiles/ClassicOS.dir/build
CMakeFiles/ClassicOS.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/ClassicOS.dir/cmake_clean.cmake
.PHONY : CMakeFiles/ClassicOS.dir/clean
CMakeFiles/ClassicOS.dir/depend:
cd /home/gbowne1/Documents/ClassicOS/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/gbowne1/Documents/ClassicOS /home/gbowne1/Documents/ClassicOS /home/gbowne1/Documents/ClassicOS/build /home/gbowne1/Documents/ClassicOS/build /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/ClassicOS.dir/depend

View File

@ -0,0 +1,31 @@
file(REMOVE_RECURSE
"CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.o"
"CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.o"
"CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.asm.o"
"CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.o"
"CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.asm.o"
"CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.o"
"CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.o"
"CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o"
"CMakeFiles/ClassicOS.dir/src/kernel/print.c.o"
"CMakeFiles/ClassicOS.dir/src/kernel/stack.c.o"
"CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.o"
"CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.o"
"CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.o"
"CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.o"
"CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.o"
"CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.o"
"CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.o"
"CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.o"
"CMakeFiles/ClassicOS.dir/src/drivers/io/io.asm.o"
"CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.o"
"CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.o"
"CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.o"
"ClassicOS.pdb"
"ClassicOS"
)
# Per-language clean rules from dependency scanning.
foreach(lang ASM_NASM C)
include(CMakeFiles/ClassicOS.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@ -0,0 +1,78 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.o
/home/gbowne1/Documents/ClassicOS/src/drivers/audio/audio.c
/home/gbowne1/Documents/ClassicOS/src/drivers/audio/audio.h
CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.o
/home/gbowne1/Documents/ClassicOS/src/drivers/bus/eisa.c
/home/gbowne1/Documents/ClassicOS/src/drivers/bus/eisa.h
CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.o
/home/gbowne1/Documents/ClassicOS/src/drivers/bus/isa.c
/home/gbowne1/Documents/ClassicOS/src/drivers/bus/isa.h
CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.o
/home/gbowne1/Documents/ClassicOS/src/drivers/bus/mca.c
/home/gbowne1/Documents/ClassicOS/src/drivers/bus/mca.h
CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.o
/home/gbowne1/Documents/ClassicOS/src/drivers/bus/pci.c
/home/gbowne1/Documents/ClassicOS/src/drivers/bus/pci.h
CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.o
/home/gbowne1/Documents/ClassicOS/src/drivers/bus/vesa.c
/home/gbowne1/Documents/ClassicOS/src/drivers/bus/vesa.h
CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.o
/home/gbowne1/Documents/ClassicOS/src/drivers/display/display.c
/home/gbowne1/Documents/ClassicOS/src/drivers/display/display.h
CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.o
/home/gbowne1/Documents/ClassicOS/src/drivers/io/io.c
/home/gbowne1/Documents/ClassicOS/src/drivers/io/io.h
CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.o
/home/gbowne1/Documents/ClassicOS/src/drivers/io/io.h
/home/gbowne1/Documents/ClassicOS/src/drivers/keyboard/keyboard.c
/home/gbowne1/Documents/ClassicOS/src/drivers/keyboard/keyboard.h
CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.o
/home/gbowne1/Documents/ClassicOS/src/drivers/screen/screen.c
/home/gbowne1/Documents/ClassicOS/src/drivers/screen/screen.h
CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.o
/home/gbowne1/Documents/ClassicOS/src/drivers/display/display.h
/home/gbowne1/Documents/ClassicOS/src/drivers/io/io.h
/home/gbowne1/Documents/ClassicOS/src/drivers/keyboard/keyboard.h
/home/gbowne1/Documents/ClassicOS/src/drivers/screen/screen.h
/home/gbowne1/Documents/ClassicOS/src/drivers/tty/./tty.h
/home/gbowne1/Documents/ClassicOS/src/drivers/tty/tty.c
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.o
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/gdt.c
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/gdt.h
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/idt.h
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/include/types.h
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/isr.h
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.o
/home/gbowne1/Documents/ClassicOS/src/drivers/keyboard/keyboard.h
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/idt.c
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/idt.h
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/include/types.h
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/isr.h
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.o
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/exceptions.c
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/exceptions.h
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.o
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/include/types.h
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/isr.c
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/isr.h
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.o
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/include/memory.h
/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/memory/memory.c
CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o
/home/gbowne1/Documents/ClassicOS/src/kernel/./arch/x86/gdt.h
/home/gbowne1/Documents/ClassicOS/src/kernel/./arch/x86/idt.h
/home/gbowne1/Documents/ClassicOS/src/kernel/./arch/x86/include/memory.h
/home/gbowne1/Documents/ClassicOS/src/kernel/./arch/x86/include/types.h
/home/gbowne1/Documents/ClassicOS/src/kernel/kernel.c
/home/gbowne1/Documents/ClassicOS/src/kernel/kernel.h
/home/gbowne1/Documents/ClassicOS/src/kernel/malloc/kmalloc.h
/home/gbowne1/Documents/ClassicOS/src/kernel/malloc/malloc.h
CMakeFiles/ClassicOS.dir/src/kernel/print.c.o
/home/gbowne1/Documents/ClassicOS/src/kernel/kernel.h
/home/gbowne1/Documents/ClassicOS/src/kernel/print.c
CMakeFiles/ClassicOS.dir/src/kernel/stack.c.o
/home/gbowne1/Documents/ClassicOS/src/kernel/stack.c
/home/gbowne1/Documents/ClassicOS/src/kernel/stack.h

View File

@ -0,0 +1,78 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.o: ../src/drivers/audio/audio.c
CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.o: ../src/drivers/audio/audio.h
CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.o: ../src/drivers/bus/eisa.c
CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.o: ../src/drivers/bus/eisa.h
CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.o: ../src/drivers/bus/isa.c
CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.o: ../src/drivers/bus/isa.h
CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.o: ../src/drivers/bus/mca.c
CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.o: ../src/drivers/bus/mca.h
CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.o: ../src/drivers/bus/pci.c
CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.o: ../src/drivers/bus/pci.h
CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.o: ../src/drivers/bus/vesa.c
CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.o: ../src/drivers/bus/vesa.h
CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.o: ../src/drivers/display/display.c
CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.o: ../src/drivers/display/display.h
CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.o: ../src/drivers/io/io.c
CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.o: ../src/drivers/io/io.h
CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.o: ../src/drivers/io/io.h
CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.o: ../src/drivers/keyboard/keyboard.c
CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.o: ../src/drivers/keyboard/keyboard.h
CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.o: ../src/drivers/screen/screen.c
CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.o: ../src/drivers/screen/screen.h
CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.o: ../src/drivers/display/display.h
CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.o: ../src/drivers/io/io.h
CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.o: ../src/drivers/keyboard/keyboard.h
CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.o: ../src/drivers/screen/screen.h
CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.o: ../src/drivers/tty/./tty.h
CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.o: ../src/drivers/tty/tty.c
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.o: ../src/kernel/arch/x86/gdt.c
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.o: ../src/kernel/arch/x86/gdt.h
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.o: ../src/kernel/arch/x86/idt.h
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.o: ../src/kernel/arch/x86/include/types.h
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.o: ../src/kernel/arch/x86/isr/isr.h
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.o: ../src/drivers/keyboard/keyboard.h
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.o: ../src/kernel/arch/x86/idt.c
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.o: ../src/kernel/arch/x86/idt.h
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.o: ../src/kernel/arch/x86/include/types.h
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.o: ../src/kernel/arch/x86/isr/isr.h
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.o: ../src/kernel/arch/x86/isr/exceptions.c
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.o: ../src/kernel/arch/x86/isr/exceptions.h
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.o: ../src/kernel/arch/x86/include/types.h
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.o: ../src/kernel/arch/x86/isr/isr.c
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.o: ../src/kernel/arch/x86/isr/isr.h
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.o: ../src/kernel/arch/x86/include/memory.h
CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.o: ../src/kernel/arch/x86/memory/memory.c
CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o: ../src/kernel/./arch/x86/gdt.h
CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o: ../src/kernel/./arch/x86/idt.h
CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o: ../src/kernel/./arch/x86/include/memory.h
CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o: ../src/kernel/./arch/x86/include/types.h
CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o: ../src/kernel/kernel.c
CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o: ../src/kernel/kernel.h
CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o: ../src/kernel/malloc/kmalloc.h
CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o: ../src/kernel/malloc/malloc.h
CMakeFiles/ClassicOS.dir/src/kernel/print.c.o: ../src/kernel/kernel.h
CMakeFiles/ClassicOS.dir/src/kernel/print.c.o: ../src/kernel/print.c
CMakeFiles/ClassicOS.dir/src/kernel/stack.c.o: ../src/kernel/stack.c
CMakeFiles/ClassicOS.dir/src/kernel/stack.c.o: ../src/kernel/stack.h

View File

@ -0,0 +1,17 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
# compile ASM_NASM with /usr/bin/nasm
# compile C with /usr/bin/gcc
ASM_NASM_FLAGS = -f elf32
ASM_NASM_DEFINES =
ASM_NASM_INCLUDES =
C_FLAGS = -m32 -ffreestanding -nostdlib -std=gnu11
C_DEFINES =
C_INCLUDES =

View File

@ -0,0 +1 @@
/usr/bin/gcc -m32 -ffreestanding -nostdlib -e kernel_main -T/home/gbowne1/Documents/ClassicOS/linker.ld -m32 -z noexecstack CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.asm.o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.asm.o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.o CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o CMakeFiles/ClassicOS.dir/src/kernel/print.c.o CMakeFiles/ClassicOS.dir/src/kernel/stack.c.o CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.o CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.o CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.o CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.o CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.o CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.o CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.o CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.o CMakeFiles/ClassicOS.dir/src/drivers/io/io.asm.o CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.o CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.o CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.o -o ClassicOS

View File

@ -0,0 +1,24 @@
CMAKE_PROGRESS_1 = 1
CMAKE_PROGRESS_2 = 2
CMAKE_PROGRESS_3 = 3
CMAKE_PROGRESS_4 = 4
CMAKE_PROGRESS_5 = 5
CMAKE_PROGRESS_6 = 6
CMAKE_PROGRESS_7 = 7
CMAKE_PROGRESS_8 = 8
CMAKE_PROGRESS_9 = 9
CMAKE_PROGRESS_10 = 10
CMAKE_PROGRESS_11 = 11
CMAKE_PROGRESS_12 = 12
CMAKE_PROGRESS_13 = 13
CMAKE_PROGRESS_14 = 14
CMAKE_PROGRESS_15 = 15
CMAKE_PROGRESS_16 = 16
CMAKE_PROGRESS_17 = 17
CMAKE_PROGRESS_18 = 18
CMAKE_PROGRESS_19 = 19
CMAKE_PROGRESS_20 = 20
CMAKE_PROGRESS_21 = 21
CMAKE_PROGRESS_22 = 22
CMAKE_PROGRESS_23 = 23

View File

@ -0,0 +1,20 @@
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"ASM_NASM"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_ASM_NASM
"/home/gbowne1/Documents/ClassicOS/src/boot/boot.asm" "/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOSBL.dir/src/boot/boot.asm.o"
)
set(CMAKE_ASM_NASM_COMPILER_ID "NASM")
# The include file search paths:
set(CMAKE_ASM_NASM_TARGET_INCLUDE_PATH
)
# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

View File

@ -0,0 +1,90 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# 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 remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/gbowne1/Documents/ClassicOS
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/gbowne1/Documents/ClassicOS/build
# Include any dependencies generated for this target.
include CMakeFiles/ClassicOSBL.dir/depend.make
# Include the progress variables for this target.
include CMakeFiles/ClassicOSBL.dir/progress.make
# Include the compile flags for this target's objects.
include CMakeFiles/ClassicOSBL.dir/flags.make
CMakeFiles/ClassicOSBL.dir/src/boot/boot.asm.o: CMakeFiles/ClassicOSBL.dir/flags.make
CMakeFiles/ClassicOSBL.dir/src/boot/boot.asm.o: ../src/boot/boot.asm
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building ASM_NASM object CMakeFiles/ClassicOSBL.dir/src/boot/boot.asm.o"
/usr/bin/nasm $(ASM_NASM_INCLUDES) $(ASM_NASM_FLAGS) -f elf -o CMakeFiles/ClassicOSBL.dir/src/boot/boot.asm.o /home/gbowne1/Documents/ClassicOS/src/boot/boot.asm
# Object files for target ClassicOSBL
ClassicOSBL_OBJECTS = \
"CMakeFiles/ClassicOSBL.dir/src/boot/boot.asm.o"
# External object files for target ClassicOSBL
ClassicOSBL_EXTERNAL_OBJECTS =
ClassicOSBL: CMakeFiles/ClassicOSBL.dir/src/boot/boot.asm.o
ClassicOSBL: CMakeFiles/ClassicOSBL.dir/build.make
ClassicOSBL: CMakeFiles/ClassicOSBL.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Linking ASM_NASM executable ClassicOSBL"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/ClassicOSBL.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
CMakeFiles/ClassicOSBL.dir/build: ClassicOSBL
.PHONY : CMakeFiles/ClassicOSBL.dir/build
CMakeFiles/ClassicOSBL.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/ClassicOSBL.dir/cmake_clean.cmake
.PHONY : CMakeFiles/ClassicOSBL.dir/clean
CMakeFiles/ClassicOSBL.dir/depend:
cd /home/gbowne1/Documents/ClassicOS/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/gbowne1/Documents/ClassicOS /home/gbowne1/Documents/ClassicOS /home/gbowne1/Documents/ClassicOS/build /home/gbowne1/Documents/ClassicOS/build /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOSBL.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/ClassicOSBL.dir/depend

View File

@ -0,0 +1,10 @@
file(REMOVE_RECURSE
"CMakeFiles/ClassicOSBL.dir/src/boot/boot.asm.o"
"ClassicOSBL.pdb"
"ClassicOSBL"
)
# Per-language clean rules from dependency scanning.
foreach(lang ASM_NASM)
include(CMakeFiles/ClassicOSBL.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@ -0,0 +1,2 @@
# Empty dependencies file for ClassicOSBL.
# This may be replaced when dependencies are built.

View File

@ -0,0 +1,10 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
# compile ASM_NASM with /usr/bin/nasm
ASM_NASM_FLAGS = -f elf32
ASM_NASM_DEFINES =
ASM_NASM_INCLUDES =

View File

@ -0,0 +1 @@
/usr/bin/nasm -f elf32 -e kernel_main -T/home/gbowne1/Documents/ClassicOS/linker.ld -m32 -z noexecstack CMakeFiles/ClassicOSBL.dir/src/boot/boot.asm.o -o ClassicOSBL

View File

@ -0,0 +1,3 @@
CMAKE_PROGRESS_1 = 24
CMAKE_PROGRESS_2 = 25

View File

@ -0,0 +1,130 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
# 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"
"../CMakeLists.txt"
"CMakeFiles/3.13.4/CMakeASM_NASMCompiler.cmake"
"CMakeFiles/3.13.4/CMakeCCompiler.cmake"
"CMakeFiles/3.13.4/CMakeCXXCompiler.cmake"
"CMakeFiles/3.13.4/CMakeSystem.cmake"
"CMakeFiles/feature_tests.c"
"CMakeFiles/feature_tests.cxx"
"../x86-baremetal-toolchain.cmake"
"/usr/share/cmake-3.13/Modules/CMakeASMCompiler.cmake.in"
"/usr/share/cmake-3.13/Modules/CMakeASMInformation.cmake"
"/usr/share/cmake-3.13/Modules/CMakeASM_NASMInformation.cmake"
"/usr/share/cmake-3.13/Modules/CMakeCCompiler.cmake.in"
"/usr/share/cmake-3.13/Modules/CMakeCCompilerABI.c"
"/usr/share/cmake-3.13/Modules/CMakeCInformation.cmake"
"/usr/share/cmake-3.13/Modules/CMakeCXXCompiler.cmake.in"
"/usr/share/cmake-3.13/Modules/CMakeCXXCompilerABI.cpp"
"/usr/share/cmake-3.13/Modules/CMakeCXXInformation.cmake"
"/usr/share/cmake-3.13/Modules/CMakeCommonLanguageInclude.cmake"
"/usr/share/cmake-3.13/Modules/CMakeCompilerIdDetection.cmake"
"/usr/share/cmake-3.13/Modules/CMakeDetermineASMCompiler.cmake"
"/usr/share/cmake-3.13/Modules/CMakeDetermineASM_NASMCompiler.cmake"
"/usr/share/cmake-3.13/Modules/CMakeDetermineCCompiler.cmake"
"/usr/share/cmake-3.13/Modules/CMakeDetermineCXXCompiler.cmake"
"/usr/share/cmake-3.13/Modules/CMakeDetermineCompileFeatures.cmake"
"/usr/share/cmake-3.13/Modules/CMakeDetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/CMakeDetermineCompilerABI.cmake"
"/usr/share/cmake-3.13/Modules/CMakeDetermineCompilerId.cmake"
"/usr/share/cmake-3.13/Modules/CMakeDetermineSystem.cmake"
"/usr/share/cmake-3.13/Modules/CMakeFindBinUtils.cmake"
"/usr/share/cmake-3.13/Modules/CMakeGenericSystem.cmake"
"/usr/share/cmake-3.13/Modules/CMakeInitializeConfigs.cmake"
"/usr/share/cmake-3.13/Modules/CMakeLanguageInformation.cmake"
"/usr/share/cmake-3.13/Modules/CMakeParseImplicitLinkInfo.cmake"
"/usr/share/cmake-3.13/Modules/CMakeSystem.cmake.in"
"/usr/share/cmake-3.13/Modules/CMakeSystemSpecificInformation.cmake"
"/usr/share/cmake-3.13/Modules/CMakeSystemSpecificInitialize.cmake"
"/usr/share/cmake-3.13/Modules/CMakeTestASMCompiler.cmake"
"/usr/share/cmake-3.13/Modules/CMakeTestASM_NASMCompiler.cmake"
"/usr/share/cmake-3.13/Modules/CMakeTestCCompiler.cmake"
"/usr/share/cmake-3.13/Modules/CMakeTestCXXCompiler.cmake"
"/usr/share/cmake-3.13/Modules/CMakeTestCompilerCommon.cmake"
"/usr/share/cmake-3.13/Modules/CMakeUnixFindMake.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/ADSP-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/ARMCC-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/AppleClang-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/Borland-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/Bruce-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/Clang-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/Clang-DetermineCompilerInternal.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/Comeau-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/Compaq-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/Compaq-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/Cray-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/Embarcadero-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/Fujitsu-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/GHS-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/GNU-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/GNU-C-FeatureTests.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/GNU-C.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/GNU-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/GNU-CXX-FeatureTests.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/GNU-CXX.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/GNU-FindBinUtils.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/GNU.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/HP-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/HP-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/IAR-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/IBMCPP-C-DetermineVersionInternal.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/IBMCPP-CXX-DetermineVersionInternal.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/Intel-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/MIPSpro-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/MSVC-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/NVIDIA-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/OpenWatcom-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/PGI-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/PathScale-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/SCO-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/SDCC-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/SunPro-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/SunPro-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/TI-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/TinyCC-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/VisualAge-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/VisualAge-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/Watcom-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/XL-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/XL-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/zOS-C-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Compiler/zOS-CXX-DetermineCompiler.cmake"
"/usr/share/cmake-3.13/Modules/Internal/FeatureTesting.cmake"
"/usr/share/cmake-3.13/Modules/Platform/Linux-Determine-CXX.cmake"
"/usr/share/cmake-3.13/Modules/Platform/Linux-GNU-C.cmake"
"/usr/share/cmake-3.13/Modules/Platform/Linux-GNU-CXX.cmake"
"/usr/share/cmake-3.13/Modules/Platform/Linux-GNU.cmake"
"/usr/share/cmake-3.13/Modules/Platform/Linux.cmake"
"/usr/share/cmake-3.13/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/3.13.4/CMakeSystem.cmake"
"CMakeFiles/3.13.4/CMakeASM_NASMCompiler.cmake"
"CMakeFiles/3.13.4/CMakeCCompiler.cmake"
"CMakeFiles/3.13.4/CMakeCXXCompiler.cmake"
"CMakeFiles/3.13.4/CMakeCCompiler.cmake"
"CMakeFiles/3.13.4/CMakeCXXCompiler.cmake"
"CMakeFiles/CMakeDirectoryInformation.cmake"
)
# Dependency information for all targets:
set(CMAKE_DEPEND_INFO_FILES
"CMakeFiles/ClassicOS.dir/DependInfo.cmake"
"CMakeFiles/ClassicOSBL.dir/DependInfo.cmake"
)

150
build/CMakeFiles/Makefile2 Normal file
View File

@ -0,0 +1,150 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# The main recursive all target
all:
.PHONY : all
# The main recursive preinstall target
preinstall:
.PHONY : preinstall
# The main recursive clean target
clean:
.PHONY : clean
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# 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 remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/gbowne1/Documents/ClassicOS
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/gbowne1/Documents/ClassicOS/build
#=============================================================================
# Target rules for target CMakeFiles/ClassicOS.dir
# All Build rule for target.
CMakeFiles/ClassicOS.dir/all:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/depend
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 "Built target ClassicOS"
.PHONY : CMakeFiles/ClassicOS.dir/all
# Include target in all.
all: CMakeFiles/ClassicOS.dir/all
.PHONY : all
# Build rule for subdir invocation for target.
CMakeFiles/ClassicOS.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/gbowne1/Documents/ClassicOS/build/CMakeFiles 23
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/ClassicOS.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/gbowne1/Documents/ClassicOS/build/CMakeFiles 0
.PHONY : CMakeFiles/ClassicOS.dir/rule
# Convenience name for target.
ClassicOS: CMakeFiles/ClassicOS.dir/rule
.PHONY : ClassicOS
# clean rule for target.
CMakeFiles/ClassicOS.dir/clean:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/clean
.PHONY : CMakeFiles/ClassicOS.dir/clean
# clean rule for target.
clean: CMakeFiles/ClassicOS.dir/clean
.PHONY : clean
#=============================================================================
# Target rules for target CMakeFiles/ClassicOSBL.dir
# All Build rule for target.
CMakeFiles/ClassicOSBL.dir/all:
$(MAKE) -f CMakeFiles/ClassicOSBL.dir/build.make CMakeFiles/ClassicOSBL.dir/depend
$(MAKE) -f CMakeFiles/ClassicOSBL.dir/build.make CMakeFiles/ClassicOSBL.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/gbowne1/Documents/ClassicOS/build/CMakeFiles --progress-num=24,25 "Built target ClassicOSBL"
.PHONY : CMakeFiles/ClassicOSBL.dir/all
# Include target in all.
all: CMakeFiles/ClassicOSBL.dir/all
.PHONY : all
# Build rule for subdir invocation for target.
CMakeFiles/ClassicOSBL.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/gbowne1/Documents/ClassicOS/build/CMakeFiles 2
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/ClassicOSBL.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/gbowne1/Documents/ClassicOS/build/CMakeFiles 0
.PHONY : CMakeFiles/ClassicOSBL.dir/rule
# Convenience name for target.
ClassicOSBL: CMakeFiles/ClassicOSBL.dir/rule
.PHONY : ClassicOSBL
# clean rule for target.
CMakeFiles/ClassicOSBL.dir/clean:
$(MAKE) -f CMakeFiles/ClassicOSBL.dir/build.make CMakeFiles/ClassicOSBL.dir/clean
.PHONY : CMakeFiles/ClassicOSBL.dir/clean
# clean rule for target.
clean: CMakeFiles/ClassicOSBL.dir/clean
.PHONY : 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

View File

@ -0,0 +1 @@
empty

View File

@ -0,0 +1 @@
empty

View File

@ -0,0 +1 @@
empty

View File

@ -0,0 +1 @@
empty

View File

@ -0,0 +1 @@
empty

View File

@ -0,0 +1 @@
25

View File

@ -0,0 +1,4 @@
/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/rebuild_cache.dir
/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/edit_cache.dir
/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOS.dir
/home/gbowne1/Documents/ClassicOS/build/CMakeFiles/ClassicOSBL.dir

View File

@ -0,0 +1 @@
# This file is generated by cmake for dependency checking of the CMakeCache.txt file

Binary file not shown.

View File

@ -0,0 +1,34 @@
const char features[] = {"\n"
"C_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304
"1"
#else
"0"
#endif
"c_function_prototypes\n"
"C_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_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
"1"
#else
"0"
#endif
"c_static_assert\n"
"C_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 304 && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
"1"
#else
"0"
#endif
"c_variadic_macros\n"
};
int main(int argc, char** argv) { (void)argv; return features[argc]; }

View File

@ -0,0 +1,405 @@
const char features[] = {"\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
"1"
#else
"0"
#endif
"cxx_aggregate_default_initializers\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
"1"
#else
"0"
#endif
"cxx_alias_templates\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
"1"
#else
"0"
#endif
"cxx_alignas\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
"1"
#else
"0"
#endif
"cxx_alignof\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
"1"
#else
"0"
#endif
"cxx_attributes\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __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__))
"1"
#else
"0"
#endif
"cxx_auto_type\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
"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__))
"1"
#else
"0"
#endif
"cxx_constexpr\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
"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__))
"1"
#else
"0"
#endif
"cxx_decltype\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
"1"
#else
"0"
#endif
"cxx_decltype_auto\n"
"CXX_FEATURE:"
#if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L
"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__))
"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__))
"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__))
"1"
#else
"0"
#endif
"cxx_defaulted_move_initializers\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
"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__))
"1"
#else
"0"
#endif
"cxx_deleted_functions\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __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__))
"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__))
"1"
#else
"0"
#endif
"cxx_explicit_conversions\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __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__))
"1"
#else
"0"
#endif
"cxx_extern_templates\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
"1"
#else
"0"
#endif
"cxx_final\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
"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__))
"1"
#else
"0"
#endif
"cxx_generalized_initializers\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
"1"
#else
"0"
#endif
"cxx_generic_lambdas\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
"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__))
"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__))
"1"
#else
"0"
#endif
"cxx_lambdas\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
"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__))
"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__))
"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__))
"1"
#else
"0"
#endif
"cxx_noexcept\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
"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__))
"1"
#else
"0"
#endif
"cxx_nullptr\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
"1"
#else
"0"
#endif
"cxx_override\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 406 && (__cplusplus >= 201103L || (defined(__GXX_EXPERIMENTAL_CXX0X__) && __GXX_EXPERIMENTAL_CXX0X__))
"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__))
"1"
#else
"0"
#endif
"cxx_raw_string_literals\n"
"CXX_FEATURE:"
#if ((__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) >= 40801) && __cplusplus >= 201103L
"1"
#else
"0"
#endif
"cxx_reference_qualified_functions\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
"1"
#else
"0"
#endif
"cxx_relaxed_constexpr\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 409 && __cplusplus > 201103L
"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__))
"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__))
"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__))
"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__))
"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__))
"1"
#else
"0"
#endif
"cxx_strong_enums\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 404 && __cplusplus
"1"
#else
"0"
#endif
"cxx_template_template_parameters\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 408 && __cplusplus >= 201103L
"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__))
"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__))
"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__))
"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__))
"1"
#else
"0"
#endif
"cxx_unrestricted_unions\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 407 && __cplusplus >= 201103L
"1"
#else
"0"
#endif
"cxx_user_literals\n"
"CXX_FEATURE:"
#if (__GNUC__ * 100 + __GNUC_MINOR__) >= 500 && __cplusplus >= 201402L
"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__))
"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__))
"1"
#else
"0"
#endif
"cxx_variadic_templates\n"
};
int main(int argc, char** argv) { (void)argv; return features[argc]; }

View File

@ -0,0 +1 @@
25

772
build/Makefile Normal file
View File

@ -0,0 +1,772 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.13
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# 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 remove -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/gbowne1/Documents/ClassicOS
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/gbowne1/Documents/ClassicOS/build
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/gbowne1/Documents/ClassicOS/build/CMakeFiles /home/gbowne1/Documents/ClassicOS/build/CMakeFiles/progress.marks
$(MAKE) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /home/gbowne1/Documents/ClassicOS/build/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
$(MAKE) -f CMakeFiles/Makefile2 clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
$(MAKE) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
$(MAKE) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall/fast
# clear depends
depend:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
#=============================================================================
# Target rules for targets named ClassicOS
# Build rule for target.
ClassicOS: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 ClassicOS
.PHONY : ClassicOS
# fast build rule for target.
ClassicOS/fast:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/build
.PHONY : ClassicOS/fast
#=============================================================================
# Target rules for targets named ClassicOSBL
# Build rule for target.
ClassicOSBL: cmake_check_build_system
$(MAKE) -f CMakeFiles/Makefile2 ClassicOSBL
.PHONY : ClassicOSBL
# fast build rule for target.
ClassicOSBL/fast:
$(MAKE) -f CMakeFiles/ClassicOSBL.dir/build.make CMakeFiles/ClassicOSBL.dir/build
.PHONY : ClassicOSBL/fast
src/boot/boot.o: src/boot/boot.asm.o
.PHONY : src/boot/boot.o
# target to build an object file
src/boot/boot.asm.o:
$(MAKE) -f CMakeFiles/ClassicOSBL.dir/build.make CMakeFiles/ClassicOSBL.dir/src/boot/boot.asm.o
.PHONY : src/boot/boot.asm.o
src/drivers/audio/audio.o: src/drivers/audio/audio.c.o
.PHONY : src/drivers/audio/audio.o
# target to build an object file
src/drivers/audio/audio.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.o
.PHONY : src/drivers/audio/audio.c.o
src/drivers/audio/audio.i: src/drivers/audio/audio.c.i
.PHONY : src/drivers/audio/audio.i
# target to preprocess a source file
src/drivers/audio/audio.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.i
.PHONY : src/drivers/audio/audio.c.i
src/drivers/audio/audio.s: src/drivers/audio/audio.c.s
.PHONY : src/drivers/audio/audio.s
# target to generate assembly for a file
src/drivers/audio/audio.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.s
.PHONY : src/drivers/audio/audio.c.s
src/drivers/bus/eisa.o: src/drivers/bus/eisa.c.o
.PHONY : src/drivers/bus/eisa.o
# target to build an object file
src/drivers/bus/eisa.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.o
.PHONY : src/drivers/bus/eisa.c.o
src/drivers/bus/eisa.i: src/drivers/bus/eisa.c.i
.PHONY : src/drivers/bus/eisa.i
# target to preprocess a source file
src/drivers/bus/eisa.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.i
.PHONY : src/drivers/bus/eisa.c.i
src/drivers/bus/eisa.s: src/drivers/bus/eisa.c.s
.PHONY : src/drivers/bus/eisa.s
# target to generate assembly for a file
src/drivers/bus/eisa.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.s
.PHONY : src/drivers/bus/eisa.c.s
src/drivers/bus/isa.o: src/drivers/bus/isa.c.o
.PHONY : src/drivers/bus/isa.o
# target to build an object file
src/drivers/bus/isa.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.o
.PHONY : src/drivers/bus/isa.c.o
src/drivers/bus/isa.i: src/drivers/bus/isa.c.i
.PHONY : src/drivers/bus/isa.i
# target to preprocess a source file
src/drivers/bus/isa.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.i
.PHONY : src/drivers/bus/isa.c.i
src/drivers/bus/isa.s: src/drivers/bus/isa.c.s
.PHONY : src/drivers/bus/isa.s
# target to generate assembly for a file
src/drivers/bus/isa.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.s
.PHONY : src/drivers/bus/isa.c.s
src/drivers/bus/mca.o: src/drivers/bus/mca.c.o
.PHONY : src/drivers/bus/mca.o
# target to build an object file
src/drivers/bus/mca.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.o
.PHONY : src/drivers/bus/mca.c.o
src/drivers/bus/mca.i: src/drivers/bus/mca.c.i
.PHONY : src/drivers/bus/mca.i
# target to preprocess a source file
src/drivers/bus/mca.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.i
.PHONY : src/drivers/bus/mca.c.i
src/drivers/bus/mca.s: src/drivers/bus/mca.c.s
.PHONY : src/drivers/bus/mca.s
# target to generate assembly for a file
src/drivers/bus/mca.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.s
.PHONY : src/drivers/bus/mca.c.s
src/drivers/bus/pci.o: src/drivers/bus/pci.c.o
.PHONY : src/drivers/bus/pci.o
# target to build an object file
src/drivers/bus/pci.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.o
.PHONY : src/drivers/bus/pci.c.o
src/drivers/bus/pci.i: src/drivers/bus/pci.c.i
.PHONY : src/drivers/bus/pci.i
# target to preprocess a source file
src/drivers/bus/pci.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.i
.PHONY : src/drivers/bus/pci.c.i
src/drivers/bus/pci.s: src/drivers/bus/pci.c.s
.PHONY : src/drivers/bus/pci.s
# target to generate assembly for a file
src/drivers/bus/pci.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.s
.PHONY : src/drivers/bus/pci.c.s
src/drivers/bus/vesa.o: src/drivers/bus/vesa.c.o
.PHONY : src/drivers/bus/vesa.o
# target to build an object file
src/drivers/bus/vesa.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.o
.PHONY : src/drivers/bus/vesa.c.o
src/drivers/bus/vesa.i: src/drivers/bus/vesa.c.i
.PHONY : src/drivers/bus/vesa.i
# target to preprocess a source file
src/drivers/bus/vesa.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.i
.PHONY : src/drivers/bus/vesa.c.i
src/drivers/bus/vesa.s: src/drivers/bus/vesa.c.s
.PHONY : src/drivers/bus/vesa.s
# target to generate assembly for a file
src/drivers/bus/vesa.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.s
.PHONY : src/drivers/bus/vesa.c.s
src/drivers/display/display.o: src/drivers/display/display.c.o
.PHONY : src/drivers/display/display.o
# target to build an object file
src/drivers/display/display.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.o
.PHONY : src/drivers/display/display.c.o
src/drivers/display/display.i: src/drivers/display/display.c.i
.PHONY : src/drivers/display/display.i
# target to preprocess a source file
src/drivers/display/display.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.i
.PHONY : src/drivers/display/display.c.i
src/drivers/display/display.s: src/drivers/display/display.c.s
.PHONY : src/drivers/display/display.s
# target to generate assembly for a file
src/drivers/display/display.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.s
.PHONY : src/drivers/display/display.c.s
src/drivers/io/io.o: src/drivers/io/io.asm.o
.PHONY : src/drivers/io/io.o
# target to build an object file
src/drivers/io/io.asm.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/io/io.asm.o
.PHONY : src/drivers/io/io.asm.o
src/drivers/io/io.o: src/drivers/io/io.c.o
.PHONY : src/drivers/io/io.o
# target to build an object file
src/drivers/io/io.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.o
.PHONY : src/drivers/io/io.c.o
src/drivers/io/io.i: src/drivers/io/io.c.i
.PHONY : src/drivers/io/io.i
# target to preprocess a source file
src/drivers/io/io.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.i
.PHONY : src/drivers/io/io.c.i
src/drivers/io/io.s: src/drivers/io/io.c.s
.PHONY : src/drivers/io/io.s
# target to generate assembly for a file
src/drivers/io/io.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.s
.PHONY : src/drivers/io/io.c.s
src/drivers/keyboard/keyboard.o: src/drivers/keyboard/keyboard.c.o
.PHONY : src/drivers/keyboard/keyboard.o
# target to build an object file
src/drivers/keyboard/keyboard.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.o
.PHONY : src/drivers/keyboard/keyboard.c.o
src/drivers/keyboard/keyboard.i: src/drivers/keyboard/keyboard.c.i
.PHONY : src/drivers/keyboard/keyboard.i
# target to preprocess a source file
src/drivers/keyboard/keyboard.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.i
.PHONY : src/drivers/keyboard/keyboard.c.i
src/drivers/keyboard/keyboard.s: src/drivers/keyboard/keyboard.c.s
.PHONY : src/drivers/keyboard/keyboard.s
# target to generate assembly for a file
src/drivers/keyboard/keyboard.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.s
.PHONY : src/drivers/keyboard/keyboard.c.s
src/drivers/screen/screen.o: src/drivers/screen/screen.c.o
.PHONY : src/drivers/screen/screen.o
# target to build an object file
src/drivers/screen/screen.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.o
.PHONY : src/drivers/screen/screen.c.o
src/drivers/screen/screen.i: src/drivers/screen/screen.c.i
.PHONY : src/drivers/screen/screen.i
# target to preprocess a source file
src/drivers/screen/screen.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.i
.PHONY : src/drivers/screen/screen.c.i
src/drivers/screen/screen.s: src/drivers/screen/screen.c.s
.PHONY : src/drivers/screen/screen.s
# target to generate assembly for a file
src/drivers/screen/screen.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.s
.PHONY : src/drivers/screen/screen.c.s
src/drivers/tty/tty.o: src/drivers/tty/tty.c.o
.PHONY : src/drivers/tty/tty.o
# target to build an object file
src/drivers/tty/tty.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.o
.PHONY : src/drivers/tty/tty.c.o
src/drivers/tty/tty.i: src/drivers/tty/tty.c.i
.PHONY : src/drivers/tty/tty.i
# target to preprocess a source file
src/drivers/tty/tty.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.i
.PHONY : src/drivers/tty/tty.c.i
src/drivers/tty/tty.s: src/drivers/tty/tty.c.s
.PHONY : src/drivers/tty/tty.s
# target to generate assembly for a file
src/drivers/tty/tty.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.s
.PHONY : src/drivers/tty/tty.c.s
src/kernel/arch/x86/gdt.o: src/kernel/arch/x86/gdt.asm.o
.PHONY : src/kernel/arch/x86/gdt.o
# target to build an object file
src/kernel/arch/x86/gdt.asm.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.asm.o
.PHONY : src/kernel/arch/x86/gdt.asm.o
src/kernel/arch/x86/gdt.o: src/kernel/arch/x86/gdt.c.o
.PHONY : src/kernel/arch/x86/gdt.o
# target to build an object file
src/kernel/arch/x86/gdt.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.o
.PHONY : src/kernel/arch/x86/gdt.c.o
src/kernel/arch/x86/gdt.i: src/kernel/arch/x86/gdt.c.i
.PHONY : src/kernel/arch/x86/gdt.i
# target to preprocess a source file
src/kernel/arch/x86/gdt.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.i
.PHONY : src/kernel/arch/x86/gdt.c.i
src/kernel/arch/x86/gdt.s: src/kernel/arch/x86/gdt.c.s
.PHONY : src/kernel/arch/x86/gdt.s
# target to generate assembly for a file
src/kernel/arch/x86/gdt.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.s
.PHONY : src/kernel/arch/x86/gdt.c.s
src/kernel/arch/x86/idt.o: src/kernel/arch/x86/idt.asm.o
.PHONY : src/kernel/arch/x86/idt.o
# target to build an object file
src/kernel/arch/x86/idt.asm.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.asm.o
.PHONY : src/kernel/arch/x86/idt.asm.o
src/kernel/arch/x86/idt.o: src/kernel/arch/x86/idt.c.o
.PHONY : src/kernel/arch/x86/idt.o
# target to build an object file
src/kernel/arch/x86/idt.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.o
.PHONY : src/kernel/arch/x86/idt.c.o
src/kernel/arch/x86/idt.i: src/kernel/arch/x86/idt.c.i
.PHONY : src/kernel/arch/x86/idt.i
# target to preprocess a source file
src/kernel/arch/x86/idt.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.i
.PHONY : src/kernel/arch/x86/idt.c.i
src/kernel/arch/x86/idt.s: src/kernel/arch/x86/idt.c.s
.PHONY : src/kernel/arch/x86/idt.s
# target to generate assembly for a file
src/kernel/arch/x86/idt.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.s
.PHONY : src/kernel/arch/x86/idt.c.s
src/kernel/arch/x86/isr/exceptions.o: src/kernel/arch/x86/isr/exceptions.c.o
.PHONY : src/kernel/arch/x86/isr/exceptions.o
# target to build an object file
src/kernel/arch/x86/isr/exceptions.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.o
.PHONY : src/kernel/arch/x86/isr/exceptions.c.o
src/kernel/arch/x86/isr/exceptions.i: src/kernel/arch/x86/isr/exceptions.c.i
.PHONY : src/kernel/arch/x86/isr/exceptions.i
# target to preprocess a source file
src/kernel/arch/x86/isr/exceptions.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.i
.PHONY : src/kernel/arch/x86/isr/exceptions.c.i
src/kernel/arch/x86/isr/exceptions.s: src/kernel/arch/x86/isr/exceptions.c.s
.PHONY : src/kernel/arch/x86/isr/exceptions.s
# target to generate assembly for a file
src/kernel/arch/x86/isr/exceptions.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.s
.PHONY : src/kernel/arch/x86/isr/exceptions.c.s
src/kernel/arch/x86/isr/isr.o: src/kernel/arch/x86/isr/isr.c.o
.PHONY : src/kernel/arch/x86/isr/isr.o
# target to build an object file
src/kernel/arch/x86/isr/isr.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.o
.PHONY : src/kernel/arch/x86/isr/isr.c.o
src/kernel/arch/x86/isr/isr.i: src/kernel/arch/x86/isr/isr.c.i
.PHONY : src/kernel/arch/x86/isr/isr.i
# target to preprocess a source file
src/kernel/arch/x86/isr/isr.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.i
.PHONY : src/kernel/arch/x86/isr/isr.c.i
src/kernel/arch/x86/isr/isr.s: src/kernel/arch/x86/isr/isr.c.s
.PHONY : src/kernel/arch/x86/isr/isr.s
# target to generate assembly for a file
src/kernel/arch/x86/isr/isr.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.s
.PHONY : src/kernel/arch/x86/isr/isr.c.s
src/kernel/arch/x86/memory/memory.o: src/kernel/arch/x86/memory/memory.c.o
.PHONY : src/kernel/arch/x86/memory/memory.o
# target to build an object file
src/kernel/arch/x86/memory/memory.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.o
.PHONY : src/kernel/arch/x86/memory/memory.c.o
src/kernel/arch/x86/memory/memory.i: src/kernel/arch/x86/memory/memory.c.i
.PHONY : src/kernel/arch/x86/memory/memory.i
# target to preprocess a source file
src/kernel/arch/x86/memory/memory.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.i
.PHONY : src/kernel/arch/x86/memory/memory.c.i
src/kernel/arch/x86/memory/memory.s: src/kernel/arch/x86/memory/memory.c.s
.PHONY : src/kernel/arch/x86/memory/memory.s
# target to generate assembly for a file
src/kernel/arch/x86/memory/memory.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.s
.PHONY : src/kernel/arch/x86/memory/memory.c.s
src/kernel/kernel.o: src/kernel/kernel.c.o
.PHONY : src/kernel/kernel.o
# target to build an object file
src/kernel/kernel.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o
.PHONY : src/kernel/kernel.c.o
src/kernel/kernel.i: src/kernel/kernel.c.i
.PHONY : src/kernel/kernel.i
# target to preprocess a source file
src/kernel/kernel.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.i
.PHONY : src/kernel/kernel.c.i
src/kernel/kernel.s: src/kernel/kernel.c.s
.PHONY : src/kernel/kernel.s
# target to generate assembly for a file
src/kernel/kernel.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.s
.PHONY : src/kernel/kernel.c.s
src/kernel/print.o: src/kernel/print.c.o
.PHONY : src/kernel/print.o
# target to build an object file
src/kernel/print.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/print.c.o
.PHONY : src/kernel/print.c.o
src/kernel/print.i: src/kernel/print.c.i
.PHONY : src/kernel/print.i
# target to preprocess a source file
src/kernel/print.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/print.c.i
.PHONY : src/kernel/print.c.i
src/kernel/print.s: src/kernel/print.c.s
.PHONY : src/kernel/print.s
# target to generate assembly for a file
src/kernel/print.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/print.c.s
.PHONY : src/kernel/print.c.s
src/kernel/stack.o: src/kernel/stack.c.o
.PHONY : src/kernel/stack.o
# target to build an object file
src/kernel/stack.c.o:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/stack.c.o
.PHONY : src/kernel/stack.c.o
src/kernel/stack.i: src/kernel/stack.c.i
.PHONY : src/kernel/stack.i
# target to preprocess a source file
src/kernel/stack.c.i:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/stack.c.i
.PHONY : src/kernel/stack.c.i
src/kernel/stack.s: src/kernel/stack.c.s
.PHONY : src/kernel/stack.s
# target to generate assembly for a file
src/kernel/stack.c.s:
$(MAKE) -f CMakeFiles/ClassicOS.dir/build.make CMakeFiles/ClassicOS.dir/src/kernel/stack.c.s
.PHONY : src/kernel/stack.c.s
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... rebuild_cache"
@echo "... edit_cache"
@echo "... ClassicOS"
@echo "... ClassicOSBL"
@echo "... src/boot/boot.o"
@echo "... src/drivers/audio/audio.o"
@echo "... src/drivers/audio/audio.i"
@echo "... src/drivers/audio/audio.s"
@echo "... src/drivers/bus/eisa.o"
@echo "... src/drivers/bus/eisa.i"
@echo "... src/drivers/bus/eisa.s"
@echo "... src/drivers/bus/isa.o"
@echo "... src/drivers/bus/isa.i"
@echo "... src/drivers/bus/isa.s"
@echo "... src/drivers/bus/mca.o"
@echo "... src/drivers/bus/mca.i"
@echo "... src/drivers/bus/mca.s"
@echo "... src/drivers/bus/pci.o"
@echo "... src/drivers/bus/pci.i"
@echo "... src/drivers/bus/pci.s"
@echo "... src/drivers/bus/vesa.o"
@echo "... src/drivers/bus/vesa.i"
@echo "... src/drivers/bus/vesa.s"
@echo "... src/drivers/display/display.o"
@echo "... src/drivers/display/display.i"
@echo "... src/drivers/display/display.s"
@echo "... src/drivers/io/io.o"
@echo "... src/drivers/io/io.o"
@echo "... src/drivers/io/io.i"
@echo "... src/drivers/io/io.s"
@echo "... src/drivers/keyboard/keyboard.o"
@echo "... src/drivers/keyboard/keyboard.i"
@echo "... src/drivers/keyboard/keyboard.s"
@echo "... src/drivers/screen/screen.o"
@echo "... src/drivers/screen/screen.i"
@echo "... src/drivers/screen/screen.s"
@echo "... src/drivers/tty/tty.o"
@echo "... src/drivers/tty/tty.i"
@echo "... src/drivers/tty/tty.s"
@echo "... src/kernel/arch/x86/gdt.o"
@echo "... src/kernel/arch/x86/gdt.o"
@echo "... src/kernel/arch/x86/gdt.i"
@echo "... src/kernel/arch/x86/gdt.s"
@echo "... src/kernel/arch/x86/idt.o"
@echo "... src/kernel/arch/x86/idt.o"
@echo "... src/kernel/arch/x86/idt.i"
@echo "... src/kernel/arch/x86/idt.s"
@echo "... src/kernel/arch/x86/isr/exceptions.o"
@echo "... src/kernel/arch/x86/isr/exceptions.i"
@echo "... src/kernel/arch/x86/isr/exceptions.s"
@echo "... src/kernel/arch/x86/isr/isr.o"
@echo "... src/kernel/arch/x86/isr/isr.i"
@echo "... src/kernel/arch/x86/isr/isr.s"
@echo "... src/kernel/arch/x86/memory/memory.o"
@echo "... src/kernel/arch/x86/memory/memory.i"
@echo "... src/kernel/arch/x86/memory/memory.s"
@echo "... src/kernel/kernel.o"
@echo "... src/kernel/kernel.i"
@echo "... src/kernel/kernel.s"
@echo "... src/kernel/print.o"
@echo "... src/kernel/print.i"
@echo "... src/kernel/print.s"
@echo "... src/kernel/stack.o"
@echo "... src/kernel/stack.i"
@echo "... src/kernel/stack.s"
.PHONY : help
#=============================================================================
# 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

BIN
build/boot.bin Executable file

Binary file not shown.

49
build/cmake_install.cmake Normal file
View File

@ -0,0 +1,49 @@
# Install script for directory: /home/gbowne1/Documents/ClassicOS
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
if(BUILD_TYPE)
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
else()
set(CMAKE_INSTALL_CONFIG_NAME "")
endif()
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()
# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
if(COMPONENT)
message(STATUS "Install component: \"${COMPONENT}\"")
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
else()
set(CMAKE_INSTALL_COMPONENT)
endif()
endif()
# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
set(CMAKE_INSTALL_SO_NO_EXE "1")
endif()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()
if(CMAKE_INSTALL_COMPONENT)
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
else()
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
endif()
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
"${CMAKE_INSTALL_MANIFEST_FILES}")
file(WRITE "/home/gbowne1/Documents/ClassicOS/build/${CMAKE_INSTALL_MANIFEST}"
"${CMAKE_INSTALL_MANIFEST_CONTENT}")

View File

@ -0,0 +1,97 @@
[
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/memory/memory.c.o -c /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/memory/memory.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/memory/memory.c"
},
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/gdt.c.o -c /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/gdt.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/gdt.c"
},
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/idt.c.o -c /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/idt.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/idt.c"
},
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/isr.c.o -c /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/isr.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/isr.c"
},
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/kernel/arch/x86/isr/exceptions.c.o -c /home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/exceptions.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/kernel/arch/x86/isr/exceptions.c"
},
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/kernel/kernel.c.o -c /home/gbowne1/Documents/ClassicOS/src/kernel/kernel.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/kernel/kernel.c"
},
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/kernel/print.c.o -c /home/gbowne1/Documents/ClassicOS/src/kernel/print.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/kernel/print.c"
},
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/kernel/stack.c.o -c /home/gbowne1/Documents/ClassicOS/src/kernel/stack.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/kernel/stack.c"
},
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/drivers/audio/audio.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/audio/audio.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/drivers/audio/audio.c"
},
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/drivers/bus/eisa.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/bus/eisa.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/drivers/bus/eisa.c"
},
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/drivers/bus/isa.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/bus/isa.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/drivers/bus/isa.c"
},
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/drivers/bus/mca.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/bus/mca.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/drivers/bus/mca.c"
},
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/drivers/bus/pci.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/bus/pci.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/drivers/bus/pci.c"
},
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/drivers/bus/vesa.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/bus/vesa.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/drivers/bus/vesa.c"
},
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/drivers/display/display.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/display/display.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/drivers/display/display.c"
},
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/drivers/io/io.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/io/io.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/drivers/io/io.c"
},
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/drivers/keyboard/keyboard.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/keyboard/keyboard.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/drivers/keyboard/keyboard.c"
},
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/drivers/screen/screen.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/screen/screen.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/drivers/screen/screen.c"
},
{
"directory": "/home/gbowne1/Documents/ClassicOS/build",
"command": "/usr/bin/gcc -m32 -ffreestanding -nostdlib -g -std=gnu11 -o CMakeFiles/ClassicOS.dir/src/drivers/tty/tty.c.o -c /home/gbowne1/Documents/ClassicOS/src/drivers/tty/tty.c",
"file": "/home/gbowne1/Documents/ClassicOS/src/drivers/tty/tty.c"
}
]

16
debug.gdb Normal file
View File

@ -0,0 +1,16 @@
# Set the architecture
set architecture i386
# Set the target executable
file kernel
# Set the symbol file
symbol-file kernel
# Set the debugging options
set disassembly-flavor intel
set disassemble-next-line on
set print pretty on
# Set breakpoints
break main

BIN
kernel Executable file

Binary file not shown.

View File

@ -1,13 +0,0 @@
#include <stdint.h>
void kmain(void)
{
const uint16_t color = 0x0F00;
const char *hello = "Hello C world!";
volatile uint16_t *vga = (volatile uint16_t *)0xb8000;
for (int i = 0; i < 16; ++i)
{
vga[i + 80] = color | (uint16_t)hello[i];
}
}

View File

@ -1,26 +1,21 @@
ENTRY(boot)
OUTPUT_FORMAT("binary")
ENTRY(kernel_main)
SECTIONS {
. = 0x7c00;
.text :
{
*(.boot)
*(.text)
}
. = 0x100000;
.rodata :
{
*(.rodata)
.text : {
*(.text)
}
.data :
{
*(.data)
.rodata : {
*(.rodata)
}
.bss :
{
*(.bss)
.data : {
*(.data)
}
.bss : {
*(.bss)
}
}

2
make.config Normal file
View File

@ -0,0 +1,2 @@
CFLAGS=-Os -march=i386 -mtune=i386
LDFLAGS=-s

375
src/Array.h Normal file
View File

@ -0,0 +1,375 @@
#pragma once
#include "EHS.h"
#include <initializer_list>
#include <algorithm>
/// A helper class for C-style arrays.
/// @tparam T Array data type to use.
/// @tparam N Number data type to use.
template<typename T, typename N = USize>
class Array
{
protected:
T* data;
N size;
public:
/// Frees any data created on the heap.
~Array()
{
delete[] data;
}
/// Default members initialization.
Array()
: data(nullptr), size(0)
{
}
/// Initializes an empty array with the given size.
/// @note Data must be assigned manually using an index.
explicit Array(const N size)
: data(new T[size]), size(size)
{
}
/// Initializes this array with an initializer list object.
/// @param [in] list The given initializer list.
Array(std::initializer_list<T> list)
: data(new T[list.size()]), size(list.size())
{
N i = 0;
for (auto v = list.begin(); v != list.end(); ++v)
data[i++] = std::move(*v);
}
/// Initializes members with given C-style array.
/// @param [in] data The C-style array.
/// @param [in] size The size of the given C-style array.
Array(const T* const data, const N size)
: data(new T[size]), size(size)
{
for (N i = 0; i < size; ++i)
this->data[i] = data[i];
}
/// Copies all members from the given array object.
/// @param [in] array The array object to copy from.
Array(const Array& array)
: data(new T[array.size]), size(array.size)
{
for (N i = 0; i < size; ++i)
data[i] = array.data[i];
}
Array(Array&& array) noexcept
: data(array.data), size(array.size)
{
array.data = nullptr;
array.size = 0;
}
/// Copies all members from the given array object.
/// @param [in] array The array object to copy from.
/// @returns The array that has been assigned to.
Array<T, N>& operator=(const Array& array)
{
if (this == &array)
return *this;
delete[] data;
data = new T[array.size];
for (N i = 0; i < array.size; ++i)
data[i] = array.data[i];
size = array.size;
return *this;
}
Array<T, N>& operator=(Array&& array) noexcept
{
if (this == &array)
return *this;
delete[] data;
data = array.data;
size = array.size;
array.data = nullptr;
array.size = 0;
return *this;
}
/// Copies all members from the given initializer list object.
/// @param [in] list The initializer list object to copy from.
/// @returns The array that has been assigned to.
Array& operator=(std::initializer_list<T> list)
{
delete[] data;
data = new T[list.size];
N i = 0;
for (auto v = list.begin(); v != list.end(); ++v)
data[i++] = std::move(*v);
size = list.size();
return *this;
}
/// Adds a given array object at the end of the array.
/// @param [in] value The given array object to push to the end of the array.
Array& operator+=(Array value)
{
T* result = new T[size + value.size];
for (N i = 0; i < size; ++i)
result[i] = std::move(data[i]);
for (N i = 0; i < value.size; ++i)
result[size + i] = std::move(value[i]);
delete[] data;
data = result;
size += value.size;
return *this;
}
bool operator==(const Array<T, N>& array) const
{
if (size != array.size)
return false;
for (N i = 0; i < size; ++i)
if (data[i] != array[i])
return false;
return true;
}
bool operator!=(const Array<T, N>& array) const
{
if (size == array.size)
return false;
for (N i = 0; i < size; ++i)
if (data[i] != array[i])
return true;
return false;
}
/// Adds a given array object at the end of the array.
/// @param [in] value The given initializer list to push to the end of the array.
Array& operator+=(std::initializer_list<T> value)
{
T* result = new T[size + value.size()];
for (N i = 0; i < size; ++i)
result[i] = std::move(data[i]);
N i = 0;
for (auto v = value.begin(); v != value.end(); ++v)
result[size + i++] = std::move(*v);
delete[] data;
data = result;
size += value.size();
return *this;
}
/// Adds a given value at the end of the array.
/// @param [in] value The given value to push to the end of the array.
Array& operator+=(const T value)
{
T* result = new T[size + 1];
for (N i = 0; i < size; ++i)
result[i] = std::move(data[i]);
result[size] = std::move(value);
delete[] data;
data = result;
++size;
return *this;
}
/// Retrieves the raw C-style array from casting an array object.
operator T* () const
{
return data;
}
/// Swaps two values in the array.
/// @param a The first index to swap with.
/// @param b The second index to swap with.
void Swap(N a, N b) const
{
T tmp = std::move(data[a]);
data[a] = std::move(data[b]);
data[b] = std::move(tmp);
}
/// Adds a given C-style array at the end of the array.
/// @param [in] value The given C-style array to push to the end of the array.
/// @param [in] size The size of the given C-style array.
void Push(const T* const value, const N size)
{
T* result = new T[this->size + size];
for (N i = 0; i < this->size; ++i)
result[i] = std::move(this->data[i]);
for (N i = 0; i < size; ++i)
result[this->size + i] = value[i];
delete[] data;
this->data = result;
this->size += size;
}
/// Adds a given array object at the end of the array.
/// @param [in] value The given array object to push to the end of the array.
void Push(Array value)
{
T* result = new T[size + value.size];
for (N i = 0; i < size; ++i)
result[i] = std::move(data[i]);
for (N i = 0; i < value.size; ++i)
result[size + i] = std::move(value[i]);
delete[] data;
data = result;
size += value.size;
}
/// Adds a given array object at the end of the array.
/// @param [in] value The given initializer list to push to the end of the array.
void Push(std::initializer_list<T> value)
{
T* result = new T[size + value.size()];
for (N i = 0; i < size; ++i)
result[i] = std::move(data[i]);
N i = 0;
for (auto v = value.begin(); v != value.end(); ++v)
result[size + i++] = std::move(*v);
delete[] data;
data = result;
size += value.size();
}
/// Adds a given value at the end of the array.
/// @param [in] value The given value to push to the end of the array.
void Push(T value)
{
T* result = new T[size + 1];
for (N i = 0; i < size; ++i)
result[i] = std::move(data[i]);
result[size] = std::move(value);
delete[] data;
data = result;
++size;
}
/// Removes a value at the end of the array.
/// @returns The value that was popped.
T Pop()
{
T* result = new T[--size];
T value = std::move(data[size]);
for (N i = 0; i < size; ++i)
result[i] = std::move(data[i]);
delete[] data;
data = result;
return value;
}
/// Removes a value at a provided index.
/// @param [in] index The index of the value to remove.
/// @returns The value that was removed.
T Remove(const N index)
{
T* result = new T[--size];
T value = std::move(data[index]);
for (N i = 0, c = 0; i < size; ++i)
if (i != index)
result[c++] = std::move(data[i]);
delete[] data;
data = result;
return value;
}
void Clear()
{
if (!data)
return;
delete[] data;
data = nullptr;
size = 0;
}
/// Resizes the array.
/// @param [in] newSize The size to change to.
void Resize(const N newSize)
{
if (size == newSize)
return;
T* result = new T[newSize];
for (N i = 0; i < newSize && i < size; ++i)
result[i] = std::move(data[i]);
delete[] data;
data = result;
size = newSize;
}
/// Retrieves the size of the array.
/// @returns The resulting size.
N Size() const
{
return size;
}
N End() const
{
return size - 1;
}
};

89
src/Color3.cpp Normal file
View File

@ -0,0 +1,89 @@
#include "Color3.h"
#include "Math.h"
Color3::Color3()
: r(0.0f), g(0.0f), b(0.0f)
{
}
Color3::Color3(const float scalar)
: r(Math::Clamp(scalar, 0.0f, 1.0f)), g(Math::Clamp(scalar, 0.0f, 1.0f)), b(Math::Clamp(scalar, 0.0f, 1.0f))
{
}
Color3::Color3(const float r, const float g, const float b)
: r(Math::Clamp(r, 0.0f, 1.0f)), g(Math::Clamp(g, 0.0f, 1.0f)), b(Math::Clamp(b, 0.0f, 1.0f))
{
}
Color3::Color3(const Color3& color)
: r(color.r), g(color.g), b(color.b)
{
}
Color3& Color3::operator=(const Color3& color)
{
if (this == &color)
return *this;
r = color.r;
g = color.g;
b = color.b;
return *this;
}
bool Color3::operator==(const Color3& color) const
{
return r == color.r && g == color.g && b == color.b;
}
bool Color3::operator!=(const Color3& color) const
{
return r != color.r || g != color.g || b != color.b;
}
float Color3::operator[](const UInt_64 i) const
{
switch (i)
{
case 0:
return r;
case 1:
return g;
case 2:
return b;
default:
return r;
}
}
float& Color3::operator[](const UInt_64 i)
{
switch (i)
{
case 0:
return r;
case 1:
return g;
case 2:
return b;
default:
return r;
}
}
Color3& Color3::operator*=(const Color3& color)
{
r *= color.r;
g *= color.g;
b *= color.b;
return *this;
}
Color3 Color3::operator*(const Color3& color) const
{
return {r * color.r, g * color.g, b * color.b};
}

33
src/Color3.h Normal file
View File

@ -0,0 +1,33 @@
#pragma once
#include "EHS.h"
class Color3
{
public:
float r;
float g;
float b;
Color3();
Color3(const float scalar);
Color3(const float r, const float g, const float b);
Color3(const Color3& color);
Color3& operator=(const Color3& color);
bool operator==(const Color3& color) const;
bool operator!=(const Color3& color) const;
float operator[](const UInt_64 i) const;
float& operator[](const UInt_64 i);
Color3& operator*=(const Color3& color);
Color3 operator*(const Color3& color) const;
};

94
src/Color4.cpp Normal file
View File

@ -0,0 +1,94 @@
#include "Color4.h"
#include "Math.h"
Color4::Color4()
: r(0.0f), g(0.0f), b(0.0f), a(1.0f)
{
}
Color4::Color4(const float scalar, const float a)
: r(Math::Clamp(scalar, 0.0f, 1.0f)), g(Math::Clamp(scalar, 0.0f, 1.0f)), b(Math::Clamp(scalar, 0.0f, 1.0f)), a(a)
{
}
Color4::Color4(const float r, const float g, const float b, const float a)
: r(Math::Clamp(r, 0.0f, 1.0f)), g(Math::Clamp(g, 0.0f, 1.0f)), b(Math::Clamp(b, 0.0f, 1.0f)), a(Math::Clamp(a, 0.0f, 1.0f))
{
}
Color4::Color4(const Color4& color)
: r(color.r), g(color.g), b(color.b), a(color.a)
{
}
Color4& Color4::operator=(const Color4& color)
{
if (this == &color)
return *this;
r = color.r;
g = color.g;
b = color.b;
a = color.a;
return *this;
}
bool Color4::operator==(const Color4& color) const
{
return r == color.r && g == color.g && b == color.b && a == color.a;
}
bool Color4::operator!=(const Color4& color) const
{
return r != color.r || g != color.g || b != color.b || a != color.a;
}
float Color4::operator[](const UInt_64 i) const
{
switch (i)
{
case 0:
return r;
case 1:
return g;
case 2:
return b;
case 3:
return a;
default:
return r;
}
}
float& Color4::operator[](const UInt_64 i)
{
switch (i)
{
case 0:
return r;
case 1:
return g;
case 2:
return b;
case 3:
return a;
default:
return r;
}
}
Color4& Color4::operator*=(const Color4& color)
{
r *= color.r;
g *= color.g;
b *= color.b;
return *this;
}
Color4 Color4::operator*(const Color4& color) const
{
return {r * color.r, g * color.g, b * color.b, a};
}

34
src/Color4.h Normal file
View File

@ -0,0 +1,34 @@
#pragma once
#include "EHS.h"
class Color4
{
public:
float r;
float g;
float b;
float a;
Color4();
Color4(const float scalar, const float a = 1.0f);
Color4(const float r, const float g, const float b, const float a = 1.0f);
Color4(const Color4& color);
Color4& operator=(const Color4& color);
bool operator==(const Color4& color) const;
bool operator!=(const Color4& color) const;
float operator[](const UInt_64 i) const;
float& operator[](const UInt_64 i);
Color4& operator*=(const Color4& color);
Color4 operator*(const Color4& color) const;
};

72
src/EHS.h Normal file
View File

@ -0,0 +1,72 @@
#if defined(_M_AMD64) || defined(_M_X64) || defined(__x86_64__)
#define LITTLE_ENDIAN
#define ARCH_X64
#elif defined(__i386__)
#define LITTLE_ENDIAN
#define ARCH_X86
#elif defined(_M_ARM64) || defined(__aarch64__)
#define LITTLE_ENDIAN
#define ARCH_ARM64
#else
#error Unsupported architecture.
#endif
typedef unsigned char UInt_8;
typedef signed char SInt_8;
typedef char Int_8;
typedef unsigned short UInt_16;
typedef signed short SInt_16;
typedef short Int_16;
typedef unsigned int UInt_32;
typedef signed int SInt_32;
typedef int Int_32;
typedef UInt_8 Byte;
typedef Int_8 Char_8;
typedef Int_16 Char_16;
typedef Int_32 Char_32;
#if defined(__GNUC__)
typedef unsigned long long UInt_64;
typedef signed long long SInt_64;
typedef long long Int_64;
#elif defined(_WIN32)
typedef unsigned long UInt_64;
typedef signed long SInt_64;
typedef long Int_64;
#endif
#if defined(ARCH_X64)
typedef UInt_64 USize;
typedef SInt_64 SSize;
typedef Int_64 Size;
#elif defined(ARCH_X86)
typedef UInt_32 USize;
typedef SInt_32 SSize;
typedef Int_32 Size;
#endif
#define MAX_PATH 0x104
#define UINT_8_MAX 0xFF
#define SINT_8_MAX 0x7F
#define SINT_8_MIN 0x80
#define UINT_16_MAX 0xFFFF
#define SINT_16_MAX 0x7FFF
#define SINT_16_MIN 0x8000
#define UINT_24_MAX 0xFFFFFF
#define SINT_24_MAX 0x7FFFFF
#define SINT_24_MIN 0x800000
#define UINT_32_MAX 0xFFFFFFFF
#define SINT_32_MAX 0x7FFFFFFF
#define SINT_32_MIN 0x80000000
#define UINT_64_MAX 0xFFFFFFFFFFFFFFFF
#define SINT_64_MAX 0x7FFFFFFFFFFFFFFF
#define SINT_64_MIN 0x8000000000000000
#define FLOAT_MAX 3.40282e+038f
#define FLOAT_MIN 1.17549e-038f
#define DOUBLE_MAX 1.79769e+308
#define DOUBLE_MIN 2.22507e-308
#define LDOUBLE_MAX 1.79769e+308
#define LDOUBLE_MIN 2.22507e-308
#define INFINITE UINT_32_MAX

55
src/HRNG.h Normal file
View File

@ -0,0 +1,55 @@
#pragma once
#include "EHS.h"
class HRNG
{
public:
static UInt_64 GenerateSeed_u64();
static UInt_64 Generate_u64(const UInt_64 min, const UInt_64 max);
static UInt_64 Generate_u64();
static SInt_64 GenerateSeed_s64();
static SInt_64 Generate_s64(const SInt_64 min, const SInt_64 max);
static SInt_64 Generate_s64();
static UInt_32 GenerateSeed_u32();
static UInt_32 Generate_u32(const UInt_32 min, const UInt_32 max);
static UInt_32 Generate_u32();
static SInt_32 GenerateSeed_s32();
static SInt_32 Generate_s32(const SInt_32 min, const SInt_32 max);
static SInt_32 Generate_s32();
static UInt_32 GenerateSeed_u16();
static UInt_16 Generate_u16(const UInt_16 min, const UInt_16 max);
static UInt_16 Generate_u16();
static SInt_16 GenerateSeed_s16();
static SInt_16 Generate_s16(const SInt_16 min, const SInt_16 max);
static SInt_16 Generate_s16();
static UInt_8 GenerateSeed_u8();
static UInt_8 Generate_u8(const UInt_8 min, const UInt_8 max);
static UInt_8 Generate_u8();
static SInt_8 GenerateSeed_s8();
static SInt_8 Generate_s8(const SInt_8 min, const SInt_8 max);
static SInt_8 Generate_s8();
};

161
src/HRNG_GCC.s Normal file
View File

@ -0,0 +1,161 @@
global _ZN3lwe4HRNG16GenerateSeed_u64Ev
global _ZN3lwe4HRNG12Generate_u64Emm
global _ZN3lwe4HRNG12Generate_u64Ev
global _ZN3lwe4HRNG16GenerateSeed_s64Ev
global _ZN3lwe4HRNG12Generate_s64Ell
global _ZN3lwe4HRNG12Generate_s64Ev
global _ZN3lwe4HRNG16GenerateSeed_u32Ev
global _ZN3lwe4HRNG12Generate_u32Ejj
global _ZN3lwe4HRNG12Generate_u32Ev
global _ZN3lwe4HRNG16GenerateSeed_s32Ev
global _ZN3lwe4HRNG12Generate_s32Eii
global _ZN3lwe4HRNG12Generate_s32Ev
global _ZN3lwe4HRNG16GenerateSeed_u16Ev
global _ZN3lwe4HRNG12Generate_u16Ett
global _ZN3lwe4HRNG12Generate_u16Ev
global _ZN3lwe4HRNG16GenerateSeed_s16Ev
global _ZN3lwe4HRNG12Generate_s16Ess
global _ZN3lwe4HRNG12Generate_s16Ev
global _ZN3lwe4HRNG15GenerateSeed_u8Ev
global _ZN3lwe4HRNG11Generate_u8Ehh
global _ZN3lwe4HRNG11Generate_u8Ev
global _ZN3lwe4HRNG15GenerateSeed_s8Ev
global _ZN3lwe4HRNG11Generate_s8Eaa
global _ZN3lwe4HRNG11Generate_s8Ev
section .text
_ZN3lwe4HRNG16GenerateSeed_u64Ev:
RDSEED RAX
RET
_ZN3lwe4HRNG12Generate_u64Emm:
RDRAND RAX
SUB RDI, RCX
XOR RDX, RDX
DIV RDI
MOV RAX, RDX
ADD RAX, RCX
RET
_ZN3lwe4HRNG12Generate_u64Ev:
RDRAND RAX
RET
_ZN3lwe4HRNG16GenerateSeed_s64Ev:
RDSEED RAX
RET
_ZN3lwe4HRNG12Generate_s64Ell:
RDRAND RAX
SUB RDI, RCX
XOR RDX, RDX
DIV RDI
MOV RAX, RDX
ADD RAX, RCX
RET
_ZN3lwe4HRNG12Generate_s64Ev:
RDRAND RAX
RET
_ZN3lwe4HRNG16GenerateSeed_u32Ev:
RDSEED EAX
RET
_ZN3lwe4HRNG12Generate_u32Ejj:
RDRAND EAX
SUB EDI, ECX
XOR EDX, EDX
DIV EDI
MOV EAX, EDX
ADD EAX, ECX
RET
_ZN3lwe4HRNG12Generate_u32Ev:
RDRAND EAX
RET
_ZN3lwe4HRNG16GenerateSeed_s32Ev:
RDSEED EAX
RET
_ZN3lwe4HRNG12Generate_s32Eii:
RDRAND EAX
SUB EDI, ECX
XOR EDX, EDX
DIV EDI
MOV EAX, EDX
ADD EAX, ECX
RET
_ZN3lwe4HRNG12Generate_s32Ev:
RDRAND EAX
RET
_ZN3lwe4HRNG16GenerateSeed_u16Ev:
RDSEED AX
RET
_ZN3lwe4HRNG12Generate_u16Ett:
RDRAND AX
SUB DI, CX
XOR DX, DX
DIV DI
MOV AX, DX
ADD AX, CX
RET
_ZN3lwe4HRNG12Generate_u16Ev:
RDRAND AX
RET
_ZN3lwe4HRNG16GenerateSeed_s16Ev:
RDSEED AX
RET
_ZN3lwe4HRNG12Generate_s16Ess:
RDRAND AX
SUB DI, CX
XOR DX, DX
DIV DI
MOV AX, DX
ADD AX, CX
RET
_ZN3lwe4HRNG12Generate_s16Ev:
RDRAND AX
RET
_ZN3lwe4HRNG15GenerateSeed_u8Ev:
RDSEED AX
RET
_ZN3lwe4HRNG11Generate_u8Ehh:
RDRAND AX
SUB DI, CX
XOR DX, DX
DIV DI
MOV AX, DX
ADD AX, CX
RET
_ZN3lwe4HRNG11Generate_u8Ev:
RDRAND AX
RET
_ZN3lwe4HRNG15GenerateSeed_s8Ev:
RDSEED AX
RET
_ZN3lwe4HRNG11Generate_s8Eaa:
RDRAND AX
SUB DI, CX
XOR DX, DX
DIV DI
MOV AX, DX
ADD AX, CX
RET
_ZN3lwe4HRNG11Generate_s8Ev:
RDRAND AX
RET

169
src/HRNG_MSVC.s Normal file
View File

@ -0,0 +1,169 @@
global ?GenerateSeed_u64@HRNG@lwe@@SA_KXZ
global ?Generate_u64@HRNG@lwe@@SA_K_K0@Z
global ?Generate_u64@HRNG@lwe@@SA_KXZ
global ?GenerateSeed_s64@HRNG@lwe@@SA_JXZ
global ?Generate_s64@HRNG@lwe@@SA_J_J0@Z
global ?Generate_s64@HRNG@lwe@@SA_JXZ
global ?GenerateSeed_u32@HRNG@lwe@@SAIXZ
global ?Generate_u32@HRNG@lwe@@SAIII@Z
global ?Generate_u32@HRNG@lwe@@SAIXZ
global ?GenerateSeed_s32@HRNG@lwe@@SAHXZ
global ?Generate_s32@HRNG@lwe@@SAHHH@Z
global ?Generate_s32@HRNG@lwe@@SAHXZ
global ?GenerateSeed_u16@HRNG@lwe@@SAIXZ
global ?Generate_u16@HRNG@lwe@@SAGGG@Z
global ?Generate_u16@HRNG@lwe@@SAGXZ
global ?GenerateSeed_s16@HRNG@lwe@@SAFXZ
global ?Generate_s16@HRNG@lwe@@SAFFF@Z
global ?Generate_s16@HRNG@lwe@@SAFXZ
global ?GenerateSeed_u8@HRNG@lwe@@SAEXZ
global ?Generate_u8@HRNG@lwe@@SAEEE@Z
global ?Generate_u8@HRNG@lwe@@SAEXZ
global ?GenerateSeed_s8@HRNG@lwe@@SACXZ
global ?Generate_s8@HRNG@lwe@@SACCC@Z
global ?Generate_s8@HRNG@lwe@@SACXZ
section .text
?GenerateSeed_u64@HRNG@lwe@@SA_KXZ:
RDSEED RAX
RET
?Generate_u64@HRNG@lwe@@SA_K_K0@Z:
RDRAND RAX
MOV R8, RDX
SUB R8, RCX
XOR RDX, RDX
DIV R8
MOV RAX, RDX
ADD RAX, RCX
RET
?Generate_u64@HRNG@lwe@@SA_KXZ:
RDRAND RAX
RET
?GenerateSeed_s64@HRNG@lwe@@SA_JXZ:
RDSEED RAX
RET
?Generate_s64@HRNG@lwe@@SA_J_J0@Z:
RDRAND RAX
MOV R8, RDX
SUB R8, RCX
XOR RDX, RDX
DIV R8
MOV RAX, RDX
ADD RAX, RCX
RET
?Generate_s64@HRNG@lwe@@SA_JXZ:
RDRAND RAX
RET
?GenerateSeed_u32@HRNG@lwe@@SAIXZ:
RDSEED EAX
RET
?Generate_u32@HRNG@lwe@@SAIII@Z:
RDRAND EAX
MOV R8D, EDX
SUB R8D, ECX
XOR EDX, EDX
DIV R8D
MOV EAX, EDX
ADD EAX, ECX
RET
?Generate_u32@HRNG@lwe@@SAIXZ:
RDRAND EAX
RET
?GenerateSeed_s32@HRNG@lwe@@SAHXZ:
RDSEED EAX
RET
?Generate_s32@HRNG@lwe@@SAHHH@Z:
RDRAND EAX
MOV R8D, EDX
SUB R8D, ECX
XOR EDX, EDX
DIV R8D
MOV EAX, EDX
ADD EAX, ECX
RET
?Generate_s32@HRNG@lwe@@SAHXZ:
RDRAND EAX
RET
?GenerateSeed_u16@HRNG@lwe@@SAIXZ:
RDSEED AX
RET
?Generate_u16@HRNG@lwe@@SAGGG@Z:
RDRAND AX
MOV R8W, DX
SUB R8W, CX
XOR DX, DX
DIV R8W
MOV AX, DX
ADD AX, CX
RET
?Generate_u16@HRNG@lwe@@SAGXZ:
RDRAND AX
RET
?GenerateSeed_s16@HRNG@lwe@@SAFXZ:
RDSEED AX
RET
?Generate_s16@HRNG@lwe@@SAFFF@Z:
RDRAND AX
MOV R8W, DX
SUB R8W, CX
XOR DX, DX
DIV R8W
MOV AX, DX
ADD AX, CX
RET
?Generate_s16@HRNG@lwe@@SAFXZ:
RDRAND AX
RET
?GenerateSeed_u8@HRNG@lwe@@SAEXZ:
RDSEED AX
RET
?Generate_u8@HRNG@lwe@@SAEEE@Z:
RDRAND AX
MOV R8W, DX
SUB R8W, CX
XOR DX, DX
DIV R8W
MOV AX, DX
ADD AX, CX
RET
?Generate_u8@HRNG@lwe@@SAEXZ:
RDRAND AX
RET
?GenerateSeed_s8@HRNG@lwe@@SACXZ:
RDSEED AX
RET
?Generate_s8@HRNG@lwe@@SACCC@Z:
RDRAND AX
MOV R8W, DX
SUB R8W, CX
XOR DX, DX
DIV R8W
MOV AX, DX
ADD AX, CX
RET
?Generate_s8@HRNG@lwe@@SACXZ:
RDRAND AX
RET

66
src/Link.h Normal file
View File

@ -0,0 +1,66 @@
#pragma once
template<typename T>
class Link
{
public:
T value;
Link<T> *child;
~Link()
{
delete child;
}
Link()
: value(), child(nullptr)
{
}
Link(const T value, Link* child)
: value(value), child(child)
{
}
Link(const T value)
: value(value), child(nullptr)
{
}
Link(const Link& link)
: value(link.value), child(nullptr)
{
}
Link(Link&& link) noexcept
: value(link.value), child(link.child)
{
link.value = 0;
link.child = nullptr;
}
Link& operator=(const Link& link)
{
if (this == &link)
return *this;
value = link.value;
child = nullptr;
return *this;
}
Link& operator=(Link&& link) noexcept
{
if (this == &link)
return *this;
value = link.value;
child = link.child;
link.value = 0;
link.child = nullptr;
return *this;
}
};

236
src/LinkedList.h Normal file
View File

@ -0,0 +1,236 @@
#pragma once
#include "EHS.h"
#include "Link.h"
template<typename T, typename N = USize>
class LinkedList
{
private:
Link<T>* start;
Link<T>* end;
N size;
public:
~LinkedList()
{
delete start;
}
LinkedList()
: size(0), start(nullptr), end(nullptr)
{
}
LinkedList(const LinkedList& list)
: start(nullptr), end(nullptr), size(list.size)
{
const Link<T>* rLast = list.start;
Link<T>* last = new Link<T>(rLast->value);
start = last;
while (rLast->child)
{
last->child = new Link<T>(rLast->child->value);
last = last->child;
rLast = rLast->child;
}
end = last;
}
LinkedList(LinkedList&& list) noexcept
: start(list.start), end(list.end), size(list.size)
{
list.start = nullptr;
list.end = nullptr;
list.size = {};
}
LinkedList& operator=(const LinkedList& list)
{
if (this == &list)
return *this;
const Link<T>* rLast = list.start;
Link<T>* last = new Link<T>(rLast->value);
start = last;
while (rLast->child)
{
last->child = new Link<T>(rLast->child->value);
last = last->child;
rLast = rLast->child;
}
end = last;
size = list.size;
return *this;
}
LinkedList& operator=(LinkedList&& list) noexcept
{
if (this == &list)
return *this;
start = list.start;
end = list.end;
size = list.size;
list.start = nullptr;
list.end = nullptr;
list.size = {};
return *this;
}
const Link<T>* operator[](const N index) const
{
const Link<T>* result = start;
for (N i = 0; i != index; ++i)
result = result->child;
return result;
}
Link<T>* operator[](const N index)
{
Link<T>* result = start;
for (N i = 0; i != index; ++i)
result = result->child;
return result;
}
T& Insert(const N index, const T value)
{
if (index && index == size - 1)
{
end->child = new Link<T>(value);
end = end->child;
++size;
return end->value;
}
else if (index)
{
Link<T>* hierarchy = start;
for (N i = 0; i != index - 1; ++i)
hierarchy = hierarchy->child;
hierarchy->child = new Link<T>(value, hierarchy->child);
++size;
return hierarchy->child->value;
}
else
{
start = new Link<T>(value, start);
++size;
return start->value;
}
}
T Remove(const N index)
{
if (index && index == size - 1)
{
Link<T>* hierarchy = start;
while (hierarchy->child->child)
hierarchy = hierarchy->child;
T result = end->value;
delete end;
end = hierarchy;
--size;
return result;
}
else if (index)
{
Link<T>* hierarchy = start;
for (N i = 0; i != index - 1; ++i)
hierarchy = hierarchy->child;
Link<T>* tmp = hierarchy->child;
T result = tmp->value;
hierarchy->child = hierarchy->child->child;
tmp->child = nullptr;
delete tmp;
return result;
}
else
{
Link<T>* tmp = start;
T result = tmp->value;
start = start->child;
if (--size)
tmp->child = nullptr;
else
end = nullptr;
delete tmp;
return result;
}
}
T& Push(const T value)
{
if (size)
{
end->child = new Link<T>(value);
end = end->child;
++size;
return end->value;
}
else
{
start = new Link<T>(value);
end = start;
size = 1;
return start->value;
}
}
T Pop()
{
if (size == 1)
{
T result = start->value;
delete start;
start = nullptr;
end = nullptr;
size = 0;
return result;
}
if (size > 1)
{
Link<T>* hierarchy = start;
while (hierarchy->child->child)
hierarchy = hierarchy->child;
T result = hierarchy->child->value;
delete hierarchy->child;
hierarchy->child = nullptr;
end = hierarchy;
return result;
}
else
return {};
}
void Clear()
{
delete start;
start = nullptr;
end = nullptr;
size = 0;
}
N Size() const
{
return size;
}
};

214
src/Mat2.h Normal file
View File

@ -0,0 +1,214 @@
#pragma once
#include "EHS.h"
#include "Vec2.h"
template<typename T = float>
class Mat2
{
private:
T data[4];
public:
Mat2()
{
for (UInt_8 i = 0; i < 4; ++i)
data[i] = 0;
}
template<typename C>
Mat2(const Mat2<C>& mat)
{
for (UInt_8 i = 0; i < 4; ++i)
data[i] = mat.data[i];
}
template<typename C>
Mat2<T>& operator=(const Mat2<C>& mat)
{
if (this == &mat)
return *this;
for (UInt_8 i = 0; i < 4; ++i)
data[i] = mat.data[i];
return *this;
}
operator const T*() const
{
return data;
}
operator T*()
{
return data;
}
Vec2<T> operator*(Vec2<T> vec) const
{
Vec2<T> result;
result.x = vec.x * data[0] + vec.y * data[2];
result.y = vec.x * data[1] + vec.y * data[3];
return result;
}
Mat2<T>& operator*=(const T scalar)
{
for (UInt_8 i = 0; i < 4; ++i)
data[i] *= scalar;
return *this;
}
Mat2<T> operator*(const T scalar) const
{
Mat2<T> result;
for (UInt_8 i = 0; i < 4; ++i)
result.data[i] = data[i] * scalar;
return result;
}
Mat2<T>& operator*=(const Mat2<T>& mat)
{
Mat2<T> old = *this;
for (UInt_8 i = 0; i < 4; ++i)
{
UInt_8 row = i / 2;
UInt_8 column = i % 2;
data[i] = 0;
data[i] += old.data[0 * 2 + column] * mat.data[row * 2 + 0];
data[i] += old.data[1 * 2 + column] * mat.data[row * 2 + 1];
}
return *this;
}
Mat2<T> operator*(const Mat2<T>& mat) const
{
Mat2<T> result;
for (UInt_8 i = 0; i < 4; ++i)
{
UInt_8 row = i / 2;
UInt_8 column = i % 2;
result.data[i] += data[0 * 2 + column] * mat.data[row * 2 + 0];
result.data[i] += data[1 * 2 + column] * mat.data[row * 2 + 1];
}
return result;
}
Mat2<T> GetTranspose() const
{
Mat2<T> result;
for (UInt_8 i = 0; i < 4; ++i)
result.data[i] = data[2 * (i % 2) + i / 2];
return result;
}
void Transpose()
{
Mat2<T> old = *this;
for (UInt_8 i = 0; i < 4; ++i)
data[i] = old.data[2 * (i % 2) + i / 2];
}
Mat2<T> GetMinor() const
{
Mat2<T> result(0);
result.data[0] = data[3];
result.data[1] = data[2];
result.data[2] = data[1];
result.data[3] = data[0];
return result;
}
void Minor()
{
Mat2<T> old = *this;
data[0] = old.data[3];
data[1] = old.data[2];
data[2] = old.data[1];
data[3] = old.data[0];
}
T GetDeterminant() const
{
return data[0] * data[3] - data[1] * data[2];
}
Mat2<T> GetCofactor() const
{
Mat2<T> minor = GetMinor();
Mat2<T> result;
for (UInt_8 r = 0; r < 2; ++r)
{
for (UInt_8 c = 0; c < 2; ++c)
{
UInt_8 i = 2 * c + r;
result.data[i] = minor.data[i] * Math::Pow<T>(-1, r + c);
}
}
return result;
}
void Cofactor()
{
Mat2<T> minor = GetMinor();
for (UInt_8 r = 0; r < 2; ++r)
{
for (UInt_8 c = 0; c < 2; ++c)
{
UInt_8 i = 2 * c + r;
data[i] = minor.data[i] * Math::Pow<T>(-1, r + c);
}
}
}
Mat2<T> GetAdjugate() const
{
return GetCofactor().GetTranspose();
}
void Adjugate()
{
Cofactor();
Transpose();
}
Mat2<T> GetInverse() const
{
T det = GetDeterminant();
if (Math::ComCmp(det, 0.0f))
return {};
return GetAdjugate() * (1 / det);
}
void Inverse()
{
T det = GetDeterminant();
if (Math::ComCmp(det, 0.0f))
return;
Adjugate();
operator*=(1 / det);
}
static Mat2<T> Identity()
{
Mat2<T> result;
result[0] = 1;
result[3] = 1;
return result;
}
};
typedef Mat2<float> Mat2_f;
typedef Mat2<double> Mat2_d;

319
src/Mat3.h Normal file
View File

@ -0,0 +1,319 @@
#pragma once
#include "EHS.h"
#include "Vec3.h"
#include "Mat2.h"
template<typename T = float>
class Mat3
{
private:
T data[9];
public:
Mat3()
{
for (UInt_8 i = 0; i < 9; ++i)
data[i] = 0;
}
template<typename C>
Mat3(const Mat2<C>& mat)
{
for (UInt_8 i = 0; i < 4; ++i)
data[i / 2 * 4 + i % 2] = mat.data[i];
}
template<typename C>
Mat3(const Mat3<C>& mat)
{
for (UInt_8 i = 0; i < 9; ++i)
data[i] = mat.data[i];
}
template<typename C>
Mat3<T>& operator=(const Mat3<C>& mat)
{
if (this == &mat)
return *this;
for (UInt_8 i = 0; i < 9; ++i)
data[i] = mat.data[i];
return *this;
}
operator Mat2<T>() const
{
Mat2<T> result;
for (UInt_8 i = 0; i < 4; ++i)
result.data[i] = data[i / 2 * 4 + i % 2];
return result;
}
operator const T*() const
{
return data;
}
operator T*()
{
return data;
}
Vec3<T> operator*(Vec3<T> vec) const
{
Vec3<T> result;
result.x = vec.x * data[0] + vec.y * data[3] + vec.z * data[6];
result.y = vec.x * data[1] + vec.y * data[4] + vec.z * data[7];
result.z = vec.x * data[2] + vec.y * data[5] + vec.z * data[8];
return result;
}
Mat3<T>& operator*=(const T scalar)
{
for (UInt_8 i = 0; i < 9; ++i)
data[i] *= scalar;
return *this;
}
Mat3<T> operator*(const T scalar) const
{
Mat3<T> result;
for (UInt_8 i = 0; i < 9; ++i)
result.data[i] = data[i] * scalar;
return result;
}
Mat3<T>& operator*=(const Mat3<T>& mat)
{
Mat3<T> old = *this;
for (UInt_8 i = 0; i < 9; ++i)
{
UInt_8 row = i / 3;
UInt_8 column = i % 3;
data[i] = 0;
data[i] += old.data[0 * 3 + column] * mat.data[row * 3 + 0];
data[i] += old.data[1 * 3 + column] * mat.data[row * 3 + 1];
data[i] += old.data[2 * 3 + column] * mat.data[row * 3 + 2];
}
return *this;
}
Mat3<T> operator*(const Mat3<T>& mat) const
{
Mat3<T> result;
for (UInt_8 i = 0; i < 9; ++i)
{
UInt_8 row = i / 3;
UInt_8 column = i % 3;
result.data[i] += data[0 * 3 + column] * mat.data[row * 3 + 0];
result.data[i] += data[1 * 3 + column] * mat.data[row * 3 + 1];
result.data[i] += data[2 * 3 + column] * mat.data[row * 3 + 2];
}
return result;
}
Mat3<T> GetTranspose() const
{
Mat3<T> result;
for (UInt_8 i = 0; i < 9; ++i)
result.data[i] = data[3 * (i % 3) + i / 3];
return result;
}
void Transpose()
{
Mat3<T> old = *this;
for (UInt_8 i = 0; i < 9; ++i)
data[i] = old.data[3 * (i % 3) + i / 3];
}
Mat3<T> GetMinor() const
{
Mat3<T> result;
for (UInt_8 r = 0; r < 3; ++r)
for (UInt_8 c = 0; c < 3; ++c)
result[3 * r + c] = Cut(r, c).GetDeterminant();
return result;
}
void Minor()
{
Mat3<T> old = *this;
for (UInt_8 r = 0; r < 3; ++r)
for (UInt_8 c = 0; c < 3; ++c)
data[3 * r + c] = old.Cut(r, c).GetDeterminant();
}
Mat2<T> Cut(const UInt_8 row, const UInt_8 column) const
{
Mat2<T> result;
UInt_8 index = 0;
for (UInt_8 r = 0; r < 3; ++r)
{
for (UInt_8 c = 0; c < 3; ++c)
{
if (r == row || c == column)
continue;
result[index++] = data[3 * r + c];
}
}
return result;
}
T GetDeterminant() const
{
Mat3<T> cofactor = GetCofactor();
T result = 0;
for (UInt_8 c = 0; c < 3; ++c)
result += data[c] * cofactor[c];
return result;
}
Mat3<T> GetCofactor() const
{
Mat3<T> minor = GetMinor();
Mat3<T> result;
for (UInt_8 r = 0; r < 3; ++r)
{
for (UInt_8 c = 0; c < 3; ++c)
{
UInt_8 i = 3 * c + r;
result.data[i] = minor.data[i] * Math::Pow<T>(-1, r + c);
}
}
return result;
}
void Cofactor()
{
Mat3<T> minor = GetMinor();
for (UInt_8 r = 0; r < 3; ++r)
{
for (UInt_8 c = 0; c < 3; ++c)
{
UInt_8 i = 3 * c + r;
data[i] = minor.data[i] * Math::Pow<T>(-1, r + c);
}
}
}
Mat3<T> GetAdjugate() const
{
return GetCofactor().GetTranspose();
}
void Adjugate()
{
Cofactor();
Transpose();
}
Mat3<T> GetInverse() const
{
T det = GetDeterminant();
if (Math::ComCmp(det, 0.0f))
return {};
return GetAdjugate() * (1 / det);
}
void Inverse()
{
T det = GetDeterminant();
if (Math::ComCmp(det, 0.0f))
return;
Adjugate();
operator*=(1 / det);
}
static Mat3<T> Identity()
{
Mat3<T> result;
result.data[0] = 1;
result.data[4] = 1;
result.data[8] = 1;
return result;
}
static Mat3<T> Scale(const Vec3<T>& scale)
{
Mat3<T> result;
result.data[0] = scale.x;
result.data[4] = scale.y;
result.data[8] = scale.z;
return result;
}
static Mat3<T> PitchRotate(const T angle)
{
T radians = Math::Rads(angle);
Mat3<T> result;
result.data[0] = 1;
result.data[4] = Math::Cos(radians);
result.data[5] = Math::Sin(radians);
result.data[7] = -Math::Sin(radians);
result.data[8] = Math::Cos(radians);
return result;
}
static Mat3<T> YawRotate(const T angle)
{
T radians = Math::Rads(angle);
Mat3<T> result;
result.data[0] = Math::Cos(radians);
result.data[2] = -Math::Sin(radians);
result.data[4] = 1;
result.data[6] = Math::Sin(radians);
result.data[8] = Math::Cos(radians);
return result;
}
static Mat3<T> RollRotate(const T angle)
{
T radians = Math::Rads(angle);
Mat3<T> result;
result.data[0] = Math::Cos(radians);
result.data[1] = Math::Sin(radians);
result.data[3] = -Math::Sin(radians);
result.data[4] = Math::Cos(radians);
result.data[8] = 1;
return result;
}
static Mat3<T> Rotate(const Vec3<T>& vec)
{
return YawRotate(vec.y) * RollRotate(vec.z) * PitchRotate(vec.x);
}
};
typedef Mat3<float> Mat3_f;
typedef Mat3<double> Mat3_d;

420
src/Mat4.h Normal file
View File

@ -0,0 +1,420 @@
#pragma once
#include "EHS.h"
#include "Math.h"
#include "Mat3.h"
#include "Vec4.h"
#include "Vec3.h"
template <typename T = float>
class Mat4
{
private:
friend class Uniform;
T data[16];
public:
Mat4()
{
for (UInt_8 i = 0; i < 16; ++i)
data[i] = 0;
}
explicit Mat4(const T* data)
{
for (UInt_8 i = 0; i < 16; ++i)
this->data[i] = data[i];
}
template<typename C>
Mat4(const Mat3<C>& mat)
{
for (UInt_8 i = 0; i < 9; ++i)
{
UInt_8 row = i / 3;
UInt_8 column = i % 3;
UInt_8 dst = row * 4 + column;
data[dst] = (T)mat[i];
}
data[3] = 0;
data[7] = 0;
data[11] = 0;
data[12] = 0;
data[13] = 0;
data[14] = 0;
data[15] = 1;
}
template<typename C>
Mat4(const Mat4<C>& mat)
{
for (UInt_8 i = 0; i < 16; ++i)
data[i] = (T)mat.data[i];
}
template<typename C>
Mat4<T>& operator=(const Mat4<C>& mat)
{
if (this == &mat)
return *this;
for (UInt_8 i = 0; i < 16; ++i)
data[i] = (T)mat.data[i];
return *this;
}
Vec4<T> operator*(Vec4<T> vec) const
{
Vec4<T> result;
result.x = vec.x * data[0] + vec.y * data[4] + vec.z * data[8] + vec.w * data[12];
result.y = vec.x * data[1] + vec.y * data[5] + vec.z * data[9] + vec.w * data[13];
result.z = vec.x * data[2] + vec.y * data[6] + vec.z * data[10] + vec.w * data[14];
result.w = vec.x * data[3] + vec.y * data[7] + vec.z * data[11] + vec.w * data[15];
return result;
}
Mat4<T>& operator*=(const T scalar)
{
for (UInt_8 i = 0; i < 16; ++i)
data[i] *= scalar;
return *this;
}
Mat4<T> operator*(const T scalar) const
{
Mat4<T> result;
for (UInt_8 i = 0; i < 16; ++i)
result.data[i] = data[i] * scalar;
return result;
}
Mat4<T>& operator*=(const Mat4<T>& mat)
{
Mat4<T> old = *this;
for (UInt_8 i = 0; i < 16; ++i)
{
UInt_8 row = i / 4;
UInt_8 column = i % 4;
data[i] += old.data[0 * 4 + column] * mat.data[row * 4 + 0];
data[i] += old.data[1 * 4 + column] * mat.data[row * 4 + 1];
data[i] += old.data[2 * 4 + column] * mat.data[row * 4 + 2];
data[i] += old.data[3 * 4 + column] * mat.data[row * 4 + 3];
}
return *this;
}
Mat4<T> operator*(const Mat4<T>& mat) const
{
Mat4<T> result;
for (UInt_8 i = 0; i < 16; ++i)
{
UInt_8 row = i / 4;
UInt_8 column = i % 4;
result.data[i] += data[0 * 4 + column] * mat.data[row * 4 + 0];
result.data[i] += data[1 * 4 + column] * mat.data[row * 4 + 1];
result.data[i] += data[2 * 4 + column] * mat.data[row * 4 + 2];
result.data[i] += data[3 * 4 + column] * mat.data[row * 4 + 3];
}
return result;
}
operator const T*() const
{
return data;
}
operator T*()
{
return data;
}
Vec3<T> GetRight() const
{
return Vec3<T>(data[0], data[4], data[8]);
}
Vec3<T> GetUp() const
{
return Vec3<T>(data[1], data[5], data[9]);
}
Vec3<T> GetForward() const
{
return Vec3<T>(data[2], data[6], data[10]);
}
Mat4<T> GetTranspose() const
{
Mat4<T> result;
for (UInt_8 i = 0; i < 16; ++i)
result.data[i] = data[4 * (i % 4) + i / 4];
return result;
}
void Transpose()
{
Mat4<T> old = *this;
for (UInt_8 i = 0; i < 16; ++i)
data[i] = old.data[4 * (i % 4) + i / 4];
}
Mat3<T> Cut(const UInt_8 row, const UInt_8 column) const
{
Mat3<T> result;
UInt_8 index = 0;
for (UInt_8 r = 0; r < 4; ++r)
{
for (UInt_8 c = 0; c < 4; ++c)
{
if (r == row || c == column)
continue;
result[index++] = data[4 * r + c];
}
}
return result;
}
Mat4<T> GetMinor() const
{
Mat4<T> result;
for (UInt_8 r = 0; r < 4; ++r)
for (UInt_8 c = 0; c < 4; ++c)
result.data[4 * r + c] = Cut(r, c).GetDeterminant();
return result;
}
void Minor()
{
Mat4<T> old = *this;
for (UInt_8 r = 0; r < 4; ++r)
for (UInt_8 c = 0; c < 4; ++c)
data[4 * r + c] = old.Cut(r, c).GetDeterminant();
}
Mat4<T> GetCofactor() const
{
Mat4<T> minor = GetMinor();
Mat4<T> result;
for (UInt_8 r = 0; r < 4; ++r)
{
for (UInt_8 c = 0; c < 4; ++c)
{
UInt_8 i = 4 * c + r;
result.data[i] = minor.data[i] * Math::Pow<T>(-1, r + c);
}
}
return result;
}
void Cofactor()
{
Mat4<T> minor = GetMinor();
for (UInt_8 r = 0; r < 4; ++r)
{
for (UInt_8 c = 0; c < 4; ++c)
{
UInt_8 i = 4 * c + r;
data[i] = minor.data[i] * Math::Pow<T>(-1, r + c);
}
}
}
T GetDeterminant() const
{
Mat4<T> cofactor = GetCofactor();
T result = 0;
for (UInt_8 c = 0; c < 4; ++c)
result += data[c] * cofactor[c];
return result;
}
Mat4<T> GetAdjugate() const
{
return GetCofactor().GetTranspose();
}
void Adjugate()
{
Cofactor();
Transpose();
}
Mat4<T> GetInverse() const
{
T det = GetDeterminant();
if (Math::ComCmp(det, 0.0f))
return {};
return GetAdjugate() * (1 / det);
}
void Inverse()
{
T det = GetDeterminant();
if (Math::ComCmp(det, 0.0f))
return;
Adjugate();
operator*=(1 / det);
}
static Mat4<T> Identity()
{
Mat4<T> result;
result.data[0] = 1;
result.data[5] = 1;
result.data[10] = 1;
result.data[15] = 1;
return result;
}
static Mat4<T> Scale(const Vec3<T>& scale)
{
Mat4<T> result;
result.data[0] = scale.x;
result.data[5] = scale.y;
result.data[10] = scale.z;
result.data[15] = 1;
return result;
}
static Mat4<T> Translate(const Vec3<T>& pos)
{
Mat4<T> result = Identity();
result.data[12] = pos.x;
result.data[13] = pos.y;
result.data[14] = pos.z;
return result;
}
static Mat4<T> PitchRotate(const T angle)
{
T radians = Math::Rads(angle);
Mat4<T> result;
result.data[0] = 1;
result.data[5] = Math::Cos(radians);
result.data[6] = Math::Sin(radians);
result.data[9] = -Math::Sin(radians);
result.data[10] = Math::Cos(radians);
result.data[15] = 1;
return result;
}
static Mat4<T> YawRotate(const T angle)
{
T radians = Math::Rads(angle);
Mat4<T> result;
result.data[0] = Math::Cos(radians);
result.data[2] = -Math::Sin(radians);
result.data[5] = 1;
result.data[8] = Math::Sin(radians);
result.data[10] = Math::Cos(radians);
result.data[15] = 1;
return result;
}
static Mat4<T> RollRotate(const T angle)
{
T radians = Math::Rads(angle);
Mat4<T> result;
result.data[0] = Math::Cos(radians);
result.data[1] = Math::Sin(radians);
result.data[4] = -Math::Sin(radians);
result.data[5] = Math::Cos(radians);
result.data[10] = 1;
result.data[15] = 1;
return result;
}
static Mat4<T> Rotate(const Vec3<T>& vec)
{
return YawRotate(vec.y) * RollRotate(vec.z) * PitchRotate(vec.x);
}
static Mat4<T> RH_Perspective(const T fov, const T aspect, const T zNear, const T zFar)
{
const float tanHalfFovy = tan(Math::Rads(fov) / 2.0f);
Mat4<T> result;
result[0] = 1.0f / (aspect * tanHalfFovy);
result[5] = -1.0f / tanHalfFovy;
result[10] = zFar / (zFar - zNear);
result[14] = -(zFar * zNear) / (zFar - zNear);
return result;
}
static Mat4<T> LH_Perspective(const T fov, const T aspect, const T zNear, const T zFar)
{
const float tanHalfFovy = Math::Tan(Math::Rads(fov) / 2.0f);
Mat4<T> result;
result[0] = 1.0f / (aspect * tanHalfFovy);
result[5] = -1.0f / tanHalfFovy;
result[10] = zFar / (zFar - zNear);
result[11] = 1.0f;
result[14] = -(zFar * zNear) / (zFar - zNear);
result[15] = 0.0f;
return result;
}
static Mat4<T> LH_Orthographic(const T left, const T right, const T top, const T bottom, const T zNear, const T zFar)
{
Mat4<T> result;
result[0] = 2.0f / (right - left); // 0,0 entry
result[5] = 2.0f / (bottom - top); // 1,1 entry
result[10] = 1.0f / (zFar - zNear); // 2,2 entry
result[12] = -(right + left) / (right - left); // 3,0 entry
result[13] = -(bottom + top) / (bottom - top); // 3,1 entry
result[14] = -zNear / (zFar - zNear); // 3,2 entry
result[15] = 1.0f; // 3,3 entry
return result;
/*
Mat4<T> result;
result.data[0] = 2 / (right - left);
result.data[5] = 2 / (top - bottom);
result.data[10] = 1 / (zFar - zNear);
result.data[12] = (left + right) / (left - right);
result.data[13] = (top + bottom) / (bottom - top);
result.data[14] = zNear / (zNear - zFar);
result.data[15] = 1;
return result;
*/
}
};
typedef Mat4<float> Mat4_f;
typedef Mat4<double> Mat4_d;

Some files were not shown because too many files have changed in this diff Show More