{"id":18315377,"url":"https://github.com/lefticus/cpp_box","last_synced_at":"2025-04-09T14:08:18.979Z","repository":{"id":44363239,"uuid":"127641158","full_name":"lefticus/cpp_box","owner":"lefticus","description":null,"archived":false,"fork":false,"pushed_at":"2020-10-03T08:14:28.000Z","size":630,"stargazers_count":300,"open_issues_count":31,"forks_count":32,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-04-02T12:08:00.805Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/lefticus.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":"2018-04-01T15:20:31.000Z","updated_at":"2025-03-03T18:57:47.000Z","dependencies_parsed_at":"2022-08-29T19:02:00.885Z","dependency_job_id":null,"html_url":"https://github.com/lefticus/cpp_box","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/lefticus%2Fcpp_box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lefticus%2Fcpp_box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lefticus%2Fcpp_box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lefticus%2Fcpp_box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lefticus","download_url":"https://codeload.github.com/lefticus/cpp_box/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054205,"owners_count":21039952,"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":[],"created_at":"2024-11-05T16:39:28.307Z","updated_at":"2025-04-09T14:08:18.948Z","avatar_url":"https://github.com/lefticus.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"|      |  |\n|------------|---------------------------------------------------------------------------------------------------------------------------------------------------|\n| travis     | [![Travis Build Status](https://travis-ci.org/lefticus/cpp_box.svg?branch=master)](https://travis-ci.org/lefticus/cpp_box)                               |\n| Cirrus CI  | [![Cirrus CI Build Status](https://api.cirrus-ci.com/github/lefticus/cpp_box.svg)](https://cirrus-ci.com/github/lefticus/cpp_box)                        |\n| Appveyor   | [![AppVeyor Build status](https://img.shields.io/appveyor/ci/lefticus/cpp-box.svg)](https://ci.appveyor.com/project/lefticus/cpp-box)                                                                              |\n| Codecov    | [![codecov](https://codecov.io/gh/lefticus/cpp_box/branch/master/graph/badge.svg)](https://codecov.io/gh/lefticus/cpp_box)                        |\n| CodeFactor | [![CodeFactor](https://www.codefactor.io/repository/github/lefticus/cpp_box/badge)](https://www.codefactor.io/repository/github/lefticus/cpp_box) |\n| Codacy     | [![Codacy Badge](https://api.codacy.com/project/badge/Grade/a649cfbcb16d4cba885a690c1d47994b)](https://www.codacy.com/app/lefticus/cpp_box?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=lefticus/cpp_box\u0026amp;utm_campaign=Badge_Grade) |\n| ScoreMe    | [![Readme Score](http://readme-score-api.herokuapp.com/score.svg?url=https://github.com/lefticus/cpp_box)](http://clayallsopp.github.io/readme-score?url=https://github.com/lefticus/cpp_box) |\n\n# cpp_box\n\nIt implements a partial ARMv4 architecture in software.\n\nFor code this can accept, use gcc or clang in `-march=armv4` mode. Almost all builds of clang but default support `--target=armv4-linux` regardless of your host platform.\n\n## Architecture Documentation\n\nFor more information on the ARMv4 architecture, look for documentation on the ARM7 core.\n\n * We are not currently attempting to support Thumb mode\n * Only supporting little endian is supported\n * For details on the implementation we are aiming for, look at the ARM7TDMI manual\n    * http://infocenter.arm.com/help/topic/com.arm.doc.ddi0210c/index.html\n    * http://infocenter.arm.com/help/topic/com.arm.doc.ddi0210c/DDI0210B.pdf See 1-12 for instruction format\n\nWe plan to implement the VFP version 1 for a hardware FPU. For this support add `-mfpu=vfp -mfloat-abi=hard` to your build command line.\n\nFor more information, look at the ARMv5 Architecture Reference Manual. \n * http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0100i/index.html\n * http://infocenter.arm.com/help/topic/com.arm.doc.qrc0007e/QRC0007_VFP.pdf\n * https://www.scss.tcd.ie/~waldroj/3d1/arm_arm.pdf\n\n\n## Getting Started\n### Prerequisites\n\nTo compile the code, it requires at least C++17 to work. This includes std::filesystem which is not until GCC 8.\n\nIn this project Conan is used for package management. Conan is a portable package manager for C/C++ libraries.\nIt is used to cache all the dependencies needed to build into local directories, without needing to install system packages.\n\nFor installation methods of Conan, visit this [link](https://docs.conan.io/en/latest/installation.html). The step-by-step instructions to enable you to build with conan is provided in Conan's website. But in case you would like to see a live demo you can check out [this video](https://youtu.be/9cCQHJ-cNHY).\n\nTo build the project with conan, you will also need to have CMake with minimum version of 3.8 to support `cxx_std_17`.\n\n### Building\nTo set the compiler and the compiler version in Conan, edit the `~/.conan/profiles/default` file if necessary.\n\nThen in the project directory:\n\n```\nmkdir build \u0026\u0026 cd build\n```\n\nConan support is built into the CMakeLists.txt file. You must have conan installed already and need to add appropriate remote:\n\n```\nconan remote add bincrafters https://api.bintray.com/conan/bincrafters/public-conan\n```\n\n\n```\ncmake ..\n```\n\nIf cmake cannot find the version of conan you have installed you can tell it where to find it with:\n\n```\ncmake .. -DCONAN_CMD:PATH=/path/to/conan\n```\n\n## Running the tests\n\nAfter successfully finishing build process, run test to see if everything is work.\n\nYou can use ctest\n\n```\n$ ctest\n```\n\nOr make\n\n```\n$ make test\n```\n\nOr execute the tests directly. To do so, simply go to `build/bin` folder and run the tests.\n\n\n```\n$ ./constexpr_tests\nAll tests passed (47 assertions in 21 test cases)\n```\n\n```\n$ ./relaxed_constexpr_tests\nAll tests passed (47 assertions in 21 test cases)\n```\n\n## Built With\n\n* [Conan](https://conan.io/) - The C/C++ Package Manager\n* [CMake](https://cmake.org/) - Cross-platform build system\n* [gcc](https://gcc.gnu.org/) - The GNU Compiler Collection\n\n## About Me\n\nMy name is Jason Turner, I'm a C++ programmer, trainer and speaker, available for code reviews and on-site training events.\n\n * If you are interested in my services for training and contracting: http://emptycrate.com/idocpp\n * Also check out my YouTube channel, C++ Weekly: https://www.youtube.com/c/JasonTurner-lefticus\n * I'm co-host of CppCast: http://cppcast.com\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flefticus%2Fcpp_box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flefticus%2Fcpp_box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flefticus%2Fcpp_box/lists"}