{"id":18666278,"url":"https://github.com/marcionicolau/hello-rpi3-cpp","last_synced_at":"2026-02-18T20:01:24.514Z","repository":{"id":147866590,"uuid":"134721760","full_name":"marcionicolau/hello-rpi3-cpp","owner":"marcionicolau","description":null,"archived":false,"fork":false,"pushed_at":"2018-05-24T14:13:37.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-28T05:14:31.482Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marcionicolau.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-05-24T13:48:10.000Z","updated_at":"2018-05-24T14:13:40.000Z","dependencies_parsed_at":"2023-05-29T17:15:46.825Z","dependency_job_id":null,"html_url":"https://github.com/marcionicolau/hello-rpi3-cpp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/marcionicolau/hello-rpi3-cpp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcionicolau%2Fhello-rpi3-cpp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcionicolau%2Fhello-rpi3-cpp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcionicolau%2Fhello-rpi3-cpp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcionicolau%2Fhello-rpi3-cpp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcionicolau","download_url":"https://codeload.github.com/marcionicolau/hello-rpi3-cpp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcionicolau%2Fhello-rpi3-cpp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29593929,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T18:54:29.675Z","status":"ssl_error","status_checked_at":"2026-02-18T18:50:50.517Z","response_time":162,"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":[],"created_at":"2024-11-07T08:31:33.316Z","updated_at":"2026-02-18T20:01:24.489Z","avatar_url":"https://github.com/marcionicolau.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspberry Pi Hello Cross Compile\n\nA special Raspberry Pi Hello World project to demo cross compiling via Docker\n\n* * *\n\n## Usage\n\nNote: These instructions were written for a Mac. Yes a Mac. You perform these steps on a Mac - not a Pi.\n\nTo cross compile you need to use a special Docker image that I created. To do that you will need to __[install Docker](https://docs.docker.com/engine/installation/)__.  Once you have done that, do the following:\n\n\tmkdir ~/raspberry\n\n\tcd ~/raspberry\n\t\n\tgit clone https://github.com/mitchallen/pi-hello-cross-compile.git --depth=1 hello\n\t\n    docker run -it -v ~/raspberry/hello:/build mitchallen/pi-cross-compile\n\nThe first time this runs it will take a while to download the docker image. But once it is cached, subsequent runs should go quickly.\n\nWhen the run is finished you should find a binary that will only run on a Raspberry Pi located at: __~/raspberry/hello/bin/hello__. It's up to you to figure out how to load it onto your Pi.\n\n* * *\n\n## Makefile\n\nThis project contains a Makefile that expects to find the Raspberry Pi Cross Compiler tools located at __/pitools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-gcc__. The tools themselves can be found at [https://github.com/raspberrypi/tools.git](https://github.com/raspberrypi/tools.git).\n\nTo put the tools in the correct location (__pitools__), the docker image was created using this command:\n\n    git clone --progress --verbose https://github.com/raspberrypi/tools.git --depth=1 pitools\n\nTo cross compile using __gcc__ the Makefile refers to the __gcc__ compiler with this line:\n\n    CC=/pitools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-gcc\n\nFor other tools in that folder, browse [here](https://github.com/raspberrypi/tools/tree/master/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin).\n\nTo get a better sense of how things work, view the Makefile in the root of this repo.\n\n* * *\n \n## Repo(s)\n\n* [bitbucket.org/mitchallen/pi-hello-cross-compile.git](https://bitbucket.org/mitchallen/pi-hello-cross-compile.git)\n* [github.com/mitchallen/pi-hello-cross-compile.git](https://github.com/mitchallen/pi-hello-cross-compile.git)\n\n* * *\n\n## Contributing\n\nIn lieu of a formal style guide, take care to maintain the existing coding style.\nAdd unit tests for any new or changed functionality. Lint and test your code.\n\n* * *\n\n## Version History\n\n#### Version 0.1.4 release notes\n\n* Restructured Makefile and project structure\n\n#### Version 0.1.3 release notes\n\n* Updated hello message with newlines for easier reading in terminal window\n\n#### Version 0.1.2 release notes\n\n* Added cd command to sample usage\n\n#### Version 0.1.1 release notes\n\n* Added a placeholder so bin folder will be created when cloned.\n\n#### Version 0.1.0 release notes\n\n* Initial release\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcionicolau%2Fhello-rpi3-cpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcionicolau%2Fhello-rpi3-cpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcionicolau%2Fhello-rpi3-cpp/lists"}