We already have GCC, but ada language support is not enabled.
Description
Revisions and Commits
| R872 gcc | |||
| R872:e6d597fbfc82 Rebootstrap against itself | |||
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Frozen | JoshStrobl | T4350 GNAT Programming Studio | |||
| Resolved | joebonrichie | T5885 Enable ada support in GCC |
Event Timeline
I managed to bootstrap it. I will provide a link to binary packages soon. For now I have the package.yml files that I used for the bootstrap.
- gnat, puts a binary build of GNAT in /opt/bin/gnat
- gcc with ada, bootstrapped using the gnat package above, by building the entire gcc package with the binary build of gcc above.
- gcc-ada, The same package, but built using gcc-ada itself, not the binary GNAT.
I also added the binary packages.
It appears that gcc-ada is required for Intel graphics to work on most boards when compiling CoreBoot.
So I had found when attempting to compile CoreBoot (for the first time) for my grandmother's old computer (apparently it is almost completely supported, with just a few things left which are merely untested), after building for her a new computer (AMD B450-based).
Having some trouble finding a link for a prebuilt gnat with a consistent URL. If anyone has a link I can bootstrap support for it.
Thanks!
I'm still trying to get to the root of this, however it seems that there is an issue compiling the x86-64 crosschain for GCC 8 (no idea why this is what is needed for Coreboot, at least the Dasharo implementation for the Optiplex 7010/9010) that comes from the gcc-ada headers.