{"id":28531133,"url":"https://github.com/nickscha/aiaos","last_synced_at":"2026-04-29T15:09:03.094Z","repository":{"id":297603760,"uuid":"997306575","full_name":"nickscha/aiaos","owner":"nickscha","description":"C89, nostdlib, bare metal x86_64 operating system","archived":false,"fork":false,"pushed_at":"2025-08-26T17:56:49.000Z","size":472,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-27T00:59:39.294Z","etag":null,"topics":["64bit","bare-metal","c89","from-scratch","nostdlib","operating-system"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nickscha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-06T09:56:20.000Z","updated_at":"2025-08-26T17:56:35.000Z","dependencies_parsed_at":"2025-06-21T20:26:03.278Z","dependency_job_id":"1956c9b7-6662-4d0f-ae5d-bbb6e0e6759b","html_url":"https://github.com/nickscha/aiaos","commit_stats":null,"previous_names":["nickscha/aiaos"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/nickscha/aiaos","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickscha%2Faiaos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickscha%2Faiaos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickscha%2Faiaos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickscha%2Faiaos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickscha","download_url":"https://codeload.github.com/nickscha/aiaos/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickscha%2Faiaos/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32430901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["64bit","bare-metal","c89","from-scratch","nostdlib","operating-system"],"created_at":"2025-06-09T15:09:25.222Z","updated_at":"2026-04-29T15:09:03.079Z","avatar_url":"https://github.com/nickscha.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aiaos\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://nickscha.github.io/\"\u003e\u003cimg src=\"assets/aiaos.jpg\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nA C89 nostdlib bare metal 64bit operating system with a custom bootloader.\n\nThe name **AIAOS** is a simplification and stands for \"Application is an Operating System\".\n \n\u003e [!WARNING]\n\u003e THIS PROJECT IS A WORK IN PROGRESS! ANYTHING CAN CHANGE AT ANY MOMENT WITHOUT ANY NOTICE! USE THIS PROJECT AT YOUR OWN RISK!\n\n## Quick Start\n\nOn **Windows** just run the \"**build.bat**\" file which compiles and links the bootloader and kernel and creates an elf bootable image.\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://nickscha.github.io/\"\u003e\u003cimg src=\"assets/aiaos_example.png\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Building Windows cross compilation setup\n\nIn this section we will build an **x86_64-elf** cross compiler based on GCC using the **MSYS2** subsystem.\n\nDownload and Install the MSYS2 package: \nhttps://www.msys2.org/wiki/MSYS2-installation/\n \nOnce you have it setup install nasm (needed for assembly files), gcc and other libraries needed for gcc cross compilation:\n \n```bat\npacman -S base-devel make nasm gcc mingw-w64-x86_64-gcc mingw-w64-x86_64-qemu git gmp-devel mpfr-devel mpc-devel mpc isl-devel zlib-devel\n```\n\nVerify in the MSYS2 shell that they are installed:\n\n```bat\nmake --version\nnasm --version\ngcc --version\n```\n\nBuild x86_64-elf binutils for objcopy and ld linker command:\n\n```bat\ngit clone --depth 1 https://sourceware.org/git/binutils-gdb.git\ncd binutils-gdb\n./configure --target=x86_64-elf --prefix=$HOME/opt/cross --disable-nls --disable-werror\nmake -j$(nproc)\nmake install\ncd ..\n```\n\nBuild x86_64-elf gcc cross compiler:\n\n```bat\ngit clone --depth 1 https://gcc.gnu.org/git/gcc.git gcc-src\ncd gcc-src\n./contrib/download_prerequisites\n\nmkdir build-gcc\ncd build-gcc\n../configure --target=x86_64-elf --prefix=$HOME/opt/cross --disable-nls --enable-languages=c --without-headers\nmake all-gcc -j$(nproc)\nmake all-target-libgcc -j$(nproc)\nmake install-gcc\nmake install-target-libgcc\n```\n\nAfterwards you should be able to call these executables:\n\n```bat\nx86_64-elf-gcc --version\nx86_64-elf-ld --version\nx86_64-elf-objcopy --version\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickscha%2Faiaos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickscha%2Faiaos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickscha%2Faiaos/lists"}