{"id":20646287,"url":"https://github.com/boon-code/cross-tools","last_synced_at":"2026-04-20T17:01:38.422Z","repository":{"id":137247948,"uuid":"52201648","full_name":"boon-code/cross-tools","owner":"boon-code","description":"Script to get binutils and GDB for choosen architecture","archived":false,"fork":false,"pushed_at":"2016-02-21T10:42:26.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-09T16:36:15.614Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/boon-code.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}},"created_at":"2016-02-21T10:36:26.000Z","updated_at":"2016-02-21T10:42:29.000Z","dependencies_parsed_at":"2023-03-21T20:33:09.810Z","dependency_job_id":null,"html_url":"https://github.com/boon-code/cross-tools","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/boon-code/cross-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boon-code%2Fcross-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boon-code%2Fcross-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boon-code%2Fcross-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boon-code%2Fcross-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boon-code","download_url":"https://codeload.github.com/boon-code/cross-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boon-code%2Fcross-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32056876,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"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":[],"created_at":"2024-11-16T16:25:09.739Z","updated_at":"2026-04-20T17:01:38.371Z","avatar_url":"https://github.com/boon-code.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cross-Toolchain\n\nSimple bash script to install binutils and gdb for a specific architecture.\n\n## Install a tool-chain\n\nTo download and compile some cross-tool-chain, you only need to execute `setup.sh` on your linux host:\n\n    [you@your-host cross-tools]$ ./setup.sh all\n\nThis command will download and build _binutils_ and _GDB_ for `Renesas SuperH` architecture\nin your `/tmp` folder. Following environment variable can be modified to change various\nproperties:\n\n- `BINUTILS_VERSION`: Version number of _binutils_ to use\n- `GDB_VERSION`:      Version of _GDB_ to use\n- `MAKE_PARALLEL`:    Number of concurrent tasks that may run (typically you want to set it to _number of CPU's + 1_)\n- `TARGET`:           Target architecture short-name (see _binutils_, _GDB_ for a list of supported architectures)\n- `WORKDIR`:          Working directory where to build your tool-chain (default: `/tmp`)\n\nFor example to change the working directory to `./workdir` and your target architecture to sh64-elf\nuse following command:\n\n    [you@your-host cross-tools]$ mkdir -p workdir  # ensure it exists...\n    [you@your-host cross-tools]$ WORKDIR=./workdir TARGET=sh64-elf ./setup.sh all\n\n## Using the tool-chain:\n\nDuring build, a minimal bash script `environment-$TARGET` (where $TARGET is your choosen architecture)\nhas been generated in your choosen working directory. You can _source_ the file into your shell to override\nyour default tool-chain (by prepending `$PATH`) like this (assuming that `WORKDIR` has been set to `./workdir`\nand `TARGET` has been set to `sh64-elf`):\n\n    [you@your-host cross-tools]$ source ./workdir/environment-sh64-elf\n    (X) [you@your-host cross-tools]$ # Now you binutils and GDB as you wish...\n    ...\n    ...\n    (X) [you@your-host cross-tools]$ # To disable cross-tools run (deactivate alias or cross_deactivate)\n    (X) [you@your-host cross-tools]$ deactivate\n    [you@your-host cross-tools]$ # Back to normal...\n\n## Credits\n\nThe idea has been adopted from https://github.com/blukat29/docker-cross\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboon-code%2Fcross-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboon-code%2Fcross-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboon-code%2Fcross-tools/lists"}