Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919667 - Replace old deprecated gnat-gpl with gcc USE=ada
Summary: Replace old deprecated gnat-gpl with gcc USE=ada
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux ADA team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-09 19:43 UTC by Luke A. Guest
Modified: 2024-03-14 00:06 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to add Ada support with bootstrap ebuilds. (0001-Add-building-Ada-support-into-the-base-toolchain-GCC.patch,15.91 KB, patch)
2023-12-09 19:44 UTC, Luke A. Guest
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Luke A. Guest 2023-12-09 19:43:46 UTC
I have been supporting an overlay with changes to the toolchain.eclass to enable Ada in sys-devel/gcc.

I have sent mails to the dev-ml, this contains all the information required with links to the overlay and other information.

What will need to be done is to remove the ADA_TARGET variable, the existing dev-lang/gnat-gpl package in favour of prebuilt bootstraps.


Reproducible: Always
Comment 1 Luke A. Guest 2023-12-09 19:44:45 UTC
Created attachment 878599 [details, diff]
Patch to add Ada support with bootstrap ebuilds.
Comment 2 Luke A. Guest 2024-02-03 18:28:05 UTC
Can probably close this old one https://bugs.gentoo.org/547358
Comment 3 Alexis 2024-03-14 00:06:24 UTC
i've recently started learning Ada, and have been trying to wrap my head around the current state of the Ada ecosystem in general, together with the current state of Ada on Gentoo in particular. i've created the Ada page on the wiki:

    https://wiki.gentoo.org/wiki/Ada

to try to document what i've discovered/learned so far.

This bug was brought to my attention by a post on forum.ada-lang.io:

    https://forum.ada-lang.io/t/getting-emacs-ada-mode-working/708/7 

When first trying to set up Ada on Gentoo, as a newbie to Ada, i had no idea that gnat-gpl is deprecated upstream, nor that i couldn't simply enable the 'ada' USE flag on sys-devel/gcc to have an Ada compiler on my system.

Consequently, this patch seems like a good idea to me. And i'd be happy to update the wiki page accordingly.