{"id":34765311,"url":"https://github.com/mvaisakh/gcc-build","last_synced_at":"2026-06-07T11:01:08.110Z","repository":{"id":39901046,"uuid":"321672556","full_name":"mvaisakh/gcc-build","owner":"mvaisakh","description":"Bleeding Edge Bare Metal GCC build script.","archived":false,"fork":false,"pushed_at":"2026-05-03T04:49:13.000Z","size":158,"stargazers_count":69,"open_issues_count":1,"forks_count":38,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-05-03T06:36:41.565Z","etag":null,"topics":["arm","arm-gcc","arm64","arm64-gcc","cross-compiler","cross-compiler-toolchain","crosscompile","eva-gcc","gcc","ha","hacktoberfest","hacktoberfest-accepted","hacktoberfest23","linux","toolchain","toolchain-builder","toolchain-script","x86-64"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mvaisakh.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-12-15T13:14:38.000Z","updated_at":"2026-04-15T00:55:46.000Z","dependencies_parsed_at":"2026-02-22T06:02:13.487Z","dependency_job_id":null,"html_url":"https://github.com/mvaisakh/gcc-build","commit_stats":null,"previous_names":[],"tags_count":222,"template":false,"template_full_name":null,"purl":"pkg:github/mvaisakh/gcc-build","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvaisakh%2Fgcc-build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvaisakh%2Fgcc-build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvaisakh%2Fgcc-build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvaisakh%2Fgcc-build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mvaisakh","download_url":"https://codeload.github.com/mvaisakh/gcc-build/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvaisakh%2Fgcc-build/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34018405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["arm","arm-gcc","arm64","arm64-gcc","cross-compiler","cross-compiler-toolchain","crosscompile","eva-gcc","gcc","ha","hacktoberfest","hacktoberfest-accepted","hacktoberfest23","linux","toolchain","toolchain-builder","toolchain-script","x86-64"],"created_at":"2025-12-25T07:08:24.363Z","updated_at":"2026-06-07T11:01:08.090Z","avatar_url":"https://github.com/mvaisakh.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GCC Cross Compiler Toolchain Build Script\n\n[![GCC+LLD Build](https://github.com/mvaisakh/gcc-build/actions/workflows/toolchain-build.yml/badge.svg)](https://github.com/mvaisakh/gcc-build/actions/workflows/toolchain-build.yml)\n\nThis repository contains the script needed to compile bare metal GCC for various architectures using Linux distributions. The GCC source is fetched from the master branch hence, contains all the bleeding edge changes.\n\n## Before we start\n\n**Below are the packages you'll need**\n\n* **Ubuntu or other Debian based distros**\n\n    To install and set GCC 10 as the default compiler, you need to:\n\n    ```bash\n    sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y \u0026\u0026 sudo apt-get update\n    ```\n\n    ```bash\n    sudo apt-get install flex bison ncurses-dev texinfo gcc gperf patch libtool automake g++ libncurses5-dev gawk subversion expat libexpat1-dev python-all-dev binutils-dev bc libcap-dev autoconf libgmp-dev build-essential pkg-config libmpc-dev libmpfr-dev autopoint gettext txt2man liblzma-dev libssl-dev libz-dev mercurial wget tar gcc-10 g++-10 zstd --fix-broken --fix-missing\n    ```\n\n* **Arch Linux**\n\n    ```bash\n    sudo pacman -S base-devel clang cmake git libc++ lld lldb ninja\n    ```\n\n* **Fedora**\n\n    ```bash\n    sudo dnf groupinstall \"Development tools\"\n    sudo dnf install mpfr-devel gmp-devel libmpc-devel zlib-devel glibc-devel.i686 glibc-devel binutils-devel g++ texinfo bison flex cmake which clang ninja-build lld bzip2\n    ```\n\n## Usage\n\nRunning this script is quite simple. We start by cloning this repository:\n```bash\ngit clone https://github.com/mvaisakh/gcc-build.git gcc-build\n```\n```bash\n./build-gcc.sh -a \u003carchitechture\u003e\n```\n\u003e As of now, I only support **arm**, **arm64** and **x86 (compiles for x86_64 only)**. This list is subject to change as I receive requests.\n\n\u003e Keep in mind that this script contains just the bare minimum prerequisites.\n\n## Credits\n\n* [Vaisakh (me)](https://github.com/mvaisakh/) for writing this script.\n* [OS Dev Wiki](https://wiki.osdev.org) for knowledge base.\n* [USBHost's Amazing GCC Build script](https://github.com/USBhost/build-tools-gcc) for certain prerequisite dependencies.\n\n## Looking for precompiled toolchains?\n\nMy GCC Cross Compiler builds are automated and pushed biweekly i.e. on Sundays \u0026 Thursdays at 00:00 GMT+5:30 (IST). [They are pushed to the releases page](https://github.com/mvaisakh/gcc-build/releases/latest)!\n\n## Contributing to this repo\n\nYou're more than welcome to improve the contents within this script with a pull request. Enjoy :)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvaisakh%2Fgcc-build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmvaisakh%2Fgcc-build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvaisakh%2Fgcc-build/lists"}