{"id":41294254,"url":"https://github.com/8dcc/i686-cross-compiler","last_synced_at":"2026-01-23T04:05:23.585Z","repository":{"id":164805219,"uuid":"579919001","full_name":"8dcc/i686-cross-compiler","owner":"8dcc","description":"Automated build and installation of an i686 GCC cross-compiler","archived":false,"fork":false,"pushed_at":"2025-09-14T19:16:07.000Z","size":64,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-11T22:30:58.912Z","etag":null,"topics":["cross-compiler","i686","i686-elf-gcc"],"latest_commit_sha":null,"homepage":"","language":"Makefile","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/8dcc.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}},"created_at":"2022-12-19T09:12:50.000Z","updated_at":"2025-09-14T19:16:10.000Z","dependencies_parsed_at":"2025-03-11T23:27:18.210Z","dependency_job_id":"d72e4a44-7c60-4221-aa7f-f27de36da278","html_url":"https://github.com/8dcc/i686-cross-compiler","commit_stats":null,"previous_names":["8dcc/i686-cross-compiler"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/8dcc/i686-cross-compiler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8dcc%2Fi686-cross-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8dcc%2Fi686-cross-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8dcc%2Fi686-cross-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8dcc%2Fi686-cross-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/8dcc","download_url":"https://codeload.github.com/8dcc/i686-cross-compiler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/8dcc%2Fi686-cross-compiler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28679591,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T04:02:18.746Z","status":"ssl_error","status_checked_at":"2026-01-23T04:01:41.298Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["cross-compiler","i686","i686-elf-gcc"],"created_at":"2026-01-23T04:03:23.759Z","updated_at":"2026-01-23T04:05:23.579Z","avatar_url":"https://github.com/8dcc.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# i686 cross-compiler\n\n**Automated build and installation of an i686 GCC cross-compiler.**\n\n## Installing the dependencies\n\nIn order to build the cross-compiler, you will need to have some packages\ninstalled in your host machine.\n\nIf you are using Arch Linux, you can run:\n\n```console\n$ sudo ./install-deps-arch.sh\n```\n\nIf you are using Gentoo, you can run:\n\n```console\n$ sudo ./install-deps-gentoo.sh\n```\n\nIf you are using Debian or Ubuntu, you can run:\n\n```console\n$ sudo ./install-deps-debian.sh\n```\n\nIn other systems, you will need to install the following packages to build the\ncross-compiler:\n\n- gcc\n- make\n- bison\n- flex\n- gmp\n- mpc\n- mpfr\n- texinfo\n\n## Building and installing the cross-compiler\n\nClone this repository, and run `make`.\n\n```console\n$ git clone https://github.com/fs-os/cross-compiler\n$ cd cross-compiler\n$ make  # Build Binutils 2.39 and GCC 12.2.0\n...\n```\n\nOr invoke the individual make targets.\n\n```console\n$ make deps-binutils   # Download and extract the Binutils 2.39 source\n...\n\n$ make build-binutils  # Build Binutils 2.39\n...\n\n$ make deps-gcc        # Download and extract the GCC 12.2.0 source\n...\n\n$ make build-gcc       # Build GCC 12.2.0\n...\n```\n\nAfter you have built the cross compiler, you can install it with the `install`\ntarget. Remember to use `sudo` or a similar command for installing them as\nroot. By default, the cross-compiler will be installed in\n`/usr/local/cross/bin/`, but this path can be overwritten with the `PREFIX`\nMakefile variable.\n\n```console\n$ sudo make install  # Install Binutils 2.39 and GCC 12.2.0\n...\n```\n\n## Building and installing the i686 debugger\n\nOptionally, you can compile the GNU debugger with a custom patch with the\n`build-gdb` target, and install it (to `/usr/local/cross/bin/i686-elf-gdb`) with\nthe `install-gdb` target. By default, this is not build when invoking the `all`\ntarget.\n\n```console\n$ make build-gdb  # For building GDB 12.1\n...\n\n$ sudo make install-gdb  # For installing it into '$PREFIX'\n...\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F8dcc%2Fi686-cross-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F8dcc%2Fi686-cross-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F8dcc%2Fi686-cross-compiler/lists"}