{"id":18594097,"url":"https://github.com/lucretia/free-ada","last_synced_at":"2025-04-10T16:30:53.901Z","repository":{"id":26636052,"uuid":"30091872","full_name":"Lucretia/free-ada","owner":"Lucretia","description":"Build scripts for FSF GCC and AdaCore tools","archived":false,"fork":false,"pushed_at":"2021-04-13T22:57:01.000Z","size":191,"stargazers_count":47,"open_issues_count":5,"forks_count":8,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-03-25T00:41:48.743Z","etag":null,"topics":["ada-compilers","bash-script","build-script","fsf-gcc"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/Lucretia.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}},"created_at":"2015-01-30T21:37:56.000Z","updated_at":"2024-10-15T06:14:05.000Z","dependencies_parsed_at":"2022-07-26T19:49:07.906Z","dependency_job_id":null,"html_url":"https://github.com/Lucretia/free-ada","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lucretia%2Ffree-ada","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lucretia%2Ffree-ada/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lucretia%2Ffree-ada/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lucretia%2Ffree-ada/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lucretia","download_url":"https://codeload.github.com/Lucretia/free-ada/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248252690,"owners_count":21072700,"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":["ada-compilers","bash-script","build-script","fsf-gcc"],"created_at":"2024-11-07T01:14:31.934Z","updated_at":"2025-04-10T16:30:53.406Z","avatar_url":"https://github.com/Lucretia.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Free Ada\n\nThis is a set of build scripts to enable you to build the FSF Ada compiler with AdaCore's GPL'd tools. This is the FSF\nversion of GCC, not AdaCore's GPL'd version which cannot be used for commercial closed source use!\n\n## Why?\n\nGCC is a bitch to build and worse still are AdaCore's GPL'd (extra) projects. Having scripts to do it is a lot easier.\n\n## What's provided?\n\n* FSF GCC\n* Binutils\n* GDB\n\nThe following are AdaCore GPL-2018 versions:\n\n* XML/Ada\n* GPRBuild\n* GNATColl\n* GNATColl-Bindings\n* GNATColl-DB\n* LibAdaLang\n* LibAdaLang-Tools\n* AUnit\n\nTo find out what versions are built, see the ```config-master.inc.sh``` file.\n\n## Git branches\n\nI have the following branches I will develop on and changes in the latest branch will go into master.\n\n* gcc-9.x - As of 06/11/2019, this branch has been merged into master.\n* gcc-8.x - As of 06/11/2019, this is up to date with gcc-9.x, there will be no more updates on this branch unless deemed necessary.\n* gcc-7.x - Deprecated as of 06/11/2019, cannot support the current libadalang.\n\nI will be focussing on the latest GCC build's keeping the previous going as long as I can. I will note here the branches and what is deprecated and what isn't. When GCC-10.x is released I will add a new branch for that.\n\n## Package manager\n\nYou can try [Alire](https://github.com/mosteo/alire) to handle the installation of Ada packages.\n\n## Help\n\nGet help with the scripts and what can be built so far:\n\n```bash\n$ ./build-tools.sh -h\n```\n\n## Building instructions\n\nTo get a native toolchain, use the following instructions:\n\n```bash\n  cp config-master.inc.sh config.inc.sh\n  # modify config.inc as required\n  ./download.sh\n  ./build-tools.sh -t 1\n```\n\nIf you leave everything as default, you will have a bunch of archives in a packages directory and the toolchain installed\nto ```$HOME/opt/free-ada-new```\n\n### Gentoo\n\n```bash\n$ emerge -av dev-util/dejagnu dev-tcltk/expect dev-lang/tcl\n```\n\n### Bare metal cross compilers\n\nThese options allow you to build bare metal C and Ada compilers, you have to provide your own runtime.\n\nThe following targets have been built, but any target supported by GCC should build now.\n\n* arm-none-eabi\n* i386-elf\n* x86_64-elf\n* mips-elf\n* msp430-elf\n* avr - **NOTE** Don't use this as it doesn't match the build from the official avr-ada and it's Duration isn't right.\n* ppc-elf\n\n## Copyright\n\nCopyright (C) 2011-2019 Luke A. Guest with assistance from David Rees\n\n## Notes\n\n* This project no longer uses git flow.\n* GNATColl requires Python 2 to create documentation, it will not build with Python 3.\n* If you want to build the new [GNAT-LLVM](https://github.com/AdaCore/gnat-llvm) compiler, you need the gcc-9.x branch.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucretia%2Ffree-ada","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucretia%2Ffree-ada","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucretia%2Ffree-ada/lists"}