{"id":13566912,"url":"https://github.com/narke/gcc-cross-compiler","last_synced_at":"2025-04-04T00:32:28.048Z","repository":{"id":46973411,"uuid":"59770527","full_name":"narke/gcc-cross-compiler","owner":"narke","description":"A script to cross-compile GCC toolchain for various target architectures.","archived":false,"fork":false,"pushed_at":"2024-05-18T12:56:23.000Z","size":56,"stargazers_count":51,"open_issues_count":2,"forks_count":11,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-04T21:37:12.638Z","etag":null,"topics":["cross-compiler","cross-compiler-toolchain","gcc","gcc-cross-compiler"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/narke.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":"2016-05-26T17:39:58.000Z","updated_at":"2024-10-16T12:52:01.000Z","dependencies_parsed_at":"2024-05-18T12:41:39.613Z","dependency_job_id":"38397a98-1c57-4d39-bbe8-7c8e503fd1aa","html_url":"https://github.com/narke/gcc-cross-compiler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narke%2Fgcc-cross-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narke%2Fgcc-cross-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narke%2Fgcc-cross-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/narke%2Fgcc-cross-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/narke","download_url":"https://codeload.github.com/narke/gcc-cross-compiler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247103290,"owners_count":20884023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","cross-compiler-toolchain","gcc","gcc-cross-compiler"],"created_at":"2024-08-01T13:02:19.445Z","updated_at":"2025-04-04T00:32:27.794Z","avatar_url":"https://github.com/narke.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# GCC cross-compiler building script\n\nSupported architectures:\n\n        Cross-compiler toolchain build script\n        Possible target platforms are:\n         aarch64    ARM64\n         amd64      AMD64 (x86-64, x64)\n         arm32      ARM\n         armhf      ARM hard float\n         ia32       IA-32 (x86, i386)\n         ia64       IA-64 (Itanium)\n         mips32     MIPS little-endian 32b\n         mips32eb   MIPS big-endian 32b\n         mips64     MIPS little-endian 64b\n         ppc32      32-bit PowerPC\n         ppc64      64-bit PowerPC\n         sparc32    SPARC V8\n         sparc64    SPARC V9\n         lm32       LatticeMico32\n\n        The toolchain is installed into directory specified by the\n        CROSS_PREFIX environment variable. If the variable is not\n        defined, /usr/local/cross/ is used as default.\n        \n        If '--install no' is present, the toolchain still uses the\n        CROSS_PREFIX as the target directory but the installation\n        copies the files into PKG/ subdirectory without affecting\n        the actual root file system. That is only useful if you do\n        not want to run the script under the super user.\n        \n        If '--enable-cxx' is present, C++ tools (e. g. g++) are built.\n    \n\n# Dependencies to install on Debian-based distros\n\n    sudo apt install sed flex bison gzip gettext zlib1g texinfo libelf-dev libgomp1 make tar libgmp-dev libmpfr-dev libmpc-dev libisl-dev build-essential\n\n\n# Building\n\nAll currently available cpu cores are detected and used to build as faster as possible.\n\n**Example 1:** Build a cross-compiler for 32-bit PowerPC without installing:\n\n     ./toolchain.py --arch ppc32 --install no\n\n**Example 2:** Build a cross-compiler for 64-bit ARM with C++ support without installing:\n\n     ./toolchain.py --arch aarch64 --install no --enable-cxx\n\n**Example 3:**  Build and install a cross-compiler for 32-bit ARM (default install directory is\n/usr/local/cross, specify another one by exporting CROSS_PREFIX environment\nvariable), note that you need 'sudo' to install:\n\n     sudo ./toolchain.py --arch arm32 --install yes\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarke%2Fgcc-cross-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnarke%2Fgcc-cross-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnarke%2Fgcc-cross-compiler/lists"}