Examine individual changes

From Gentoo Wiki
Abuse Filter navigation (Home | Recent filter changes | Examine past edits | Abuse log)
Jump to:navigation Jump to:search

This page allows you to examine the variables generated by the Abuse Filter for an individual change, and test it against filters.

Variables generated for this change

VariableValue
Edit count of the user (user_editcount)
2885
Name of the user account (user_name)
'MGorny'
Age of the user account (user_age)
419623583
Page ID (page_id)
106232
Page namespace (page_namespace)
510
Page title (without namespace) (page_title)
'Ada'
Full page title (page_prefixedtitle)
'Project:Ada'
Action (action)
'edit'
Edit summary/reason (summary)
'remove nerdboy'
Old content model (old_content_model)
'wikitext'
New content model (new_content_model)
'wikitext'
Old page wikitext, before the edit (old_wikitext)
'{{Project |Name=Ada Project |Description=This project provides support for Ada compilers and libraries in Portage. At present both a gnat compiler (gnat-gpl by AdaCore) and gcc (by FSF) are provided. |Email=ada@gentoo.org |Bug assignment=No |Packages=Yes |ParentProject=Project:Gentoo |PropagatesMembers=No |LeadElectionDate=2019-04-17 |Members={{Project Member |Developer=User:Atupone |IsLead=Yes }}{{Project Member |Developer=User:Nerdboy |IsLead=Yes }} }} == Aim of the project == The project maintains the compiler, builder, system library and IDE for Ada. The SPARK language, based on Ada and aimed at safety and security, is also supported. The reference sources are present at https://www.adacore.com/download/more, maintained by AdaCore. == Current packages == At present * {{Package|dev-lang/gnat-gpl}} * {{Package|dev-lang/spark}} * {{Package|dev-ada/aunit}} * {{Package|dev-ada/aws}} * {{Package|dev-ada/libadalang}} * {{Package|dev-ada/libadalang-tools}} * {{Package|dev-ada/gnatcoll-core}} * {{Package|dev-ada/gnatcoll-bindings}} * {{Package|dev-ada/gnatmem}} * {{Package|dev-ada/gnatsymbolize}} * {{Package|dev-ada/gtkada}} * {{Package|dev-ada/libgpr}} * {{Package|dev-ada/xmlada}} * {{Package|dev-ada/langkit}} packages are part of the project. == Compilers == The only free software compiler for Ada is [https://en.wikipedia.org/wiki/GNAT GNAT] which is part of [[GCC]]. GNAT is written in Ada and hence needs an Ada compiler to be built. === {{Package|sys-devel/gcc}} === It is possible to add Ada support to {{Package|sys-devel/gcc}}. After recent changes for {{Bug|547358}}, the process is greatly simplified! These are the steps you need to follow: # Enable the {{USE|ada}} use flag for sys-devel/gcc via {{Path|package.use}} # {{c|emerge --oneshot --changed-use sys-devel/gcc}} # Select the newly built gcc compiler ({{c|gcc-config}}) You should have now the Ada compiler ready to use. == Building the dev-ada packages == When building Ada-related packages, you need to indicate which version of compilers to use by setting the ADA_TARGET variable in the file {{Path|/etc/portage/make.conf}}: {{FileBox|filename=/etc/portage/make.conf|lang=bash|title=ADA setting|1= ADA_TARGET="gcc_13" }} The value used are * <var>gnat_2021</var> to select dev-lang/gnat-gpl-2021 * <var>gcc_12</var> to select sys-devel/gcc-12 * <var>gcc_13</var> to select sys-devel/gcc-13 (default) * <var>gcc_14</var> to select sys-devel/gcc-14 <!-- * <var>gcc_15</var> to select sys-devel/gcc-15 --> == Switching to github release == Slowly we are switching to GitHub releases. e.g. last release of {{Package|dev-ada/gprbuild}} is from GitHub and is versioned 22.0.0. To use these release you should mask the GitHub switched package for all the annual-based versions: {{FileBox|filename=/etc/portage/package.mask|lang=bash|title=ADA setting|1= >=dev-ada/gprbuild-2000 }} == Compiler changes == When you want to use a new Ada compiler, you need to change the make.conf to reflect this choice: {{FileBox|filename=/etc/portage/make.conf|lang=bash|title=ADA setting|1= ADA_TARGET="gnat_2021" }} i.e. enabling <var>gnat_2021</var> and then rebuild all ada packages == See also == * {{Link|Ada}}'
New page wikitext, after the edit (new_wikitext)
'{{Project |Name=Ada Project |Description=This project provides support for Ada compilers and libraries in Portage. At present both a gnat compiler (gnat-gpl by AdaCore) and gcc (by FSF) are provided. |Email=ada@gentoo.org |Bug assignment=No |Packages=Yes |ParentProject=Project:Gentoo |PropagatesMembers=No |LeadElectionDate=2019-04-17 |Members={{Project Member |Developer=User:Atupone |IsLead=Yes }} }} == Aim of the project == The project maintains the compiler, builder, system library and IDE for Ada. The SPARK language, based on Ada and aimed at safety and security, is also supported. The reference sources are present at https://www.adacore.com/download/more, maintained by AdaCore. == Current packages == At present * {{Package|dev-lang/gnat-gpl}} * {{Package|dev-lang/spark}} * {{Package|dev-ada/aunit}} * {{Package|dev-ada/aws}} * {{Package|dev-ada/libadalang}} * {{Package|dev-ada/libadalang-tools}} * {{Package|dev-ada/gnatcoll-core}} * {{Package|dev-ada/gnatcoll-bindings}} * {{Package|dev-ada/gnatmem}} * {{Package|dev-ada/gnatsymbolize}} * {{Package|dev-ada/gtkada}} * {{Package|dev-ada/libgpr}} * {{Package|dev-ada/xmlada}} * {{Package|dev-ada/langkit}} packages are part of the project. == Compilers == The only free software compiler for Ada is [https://en.wikipedia.org/wiki/GNAT GNAT] which is part of [[GCC]]. GNAT is written in Ada and hence needs an Ada compiler to be built. === {{Package|sys-devel/gcc}} === It is possible to add Ada support to {{Package|sys-devel/gcc}}. After recent changes for {{Bug|547358}}, the process is greatly simplified! These are the steps you need to follow: # Enable the {{USE|ada}} use flag for sys-devel/gcc via {{Path|package.use}} # {{c|emerge --oneshot --changed-use sys-devel/gcc}} # Select the newly built gcc compiler ({{c|gcc-config}}) You should have now the Ada compiler ready to use. == Building the dev-ada packages == When building Ada-related packages, you need to indicate which version of compilers to use by setting the ADA_TARGET variable in the file {{Path|/etc/portage/make.conf}}: {{FileBox|filename=/etc/portage/make.conf|lang=bash|title=ADA setting|1= ADA_TARGET="gcc_13" }} The value used are * <var>gnat_2021</var> to select dev-lang/gnat-gpl-2021 * <var>gcc_12</var> to select sys-devel/gcc-12 * <var>gcc_13</var> to select sys-devel/gcc-13 (default) * <var>gcc_14</var> to select sys-devel/gcc-14 <!-- * <var>gcc_15</var> to select sys-devel/gcc-15 --> == Switching to github release == Slowly we are switching to GitHub releases. e.g. last release of {{Package|dev-ada/gprbuild}} is from GitHub and is versioned 22.0.0. To use these release you should mask the GitHub switched package for all the annual-based versions: {{FileBox|filename=/etc/portage/package.mask|lang=bash|title=ADA setting|1= >=dev-ada/gprbuild-2000 }} == Compiler changes == When you want to use a new Ada compiler, you need to change the make.conf to reflect this choice: {{FileBox|filename=/etc/portage/make.conf|lang=bash|title=ADA setting|1= ADA_TARGET="gnat_2021" }} i.e. enabling <var>gnat_2021</var> and then rebuild all ada packages == See also == * {{Link|Ada}}'
Unified diff of changes made by edit (edit_diff)
'@@ -10,11 +10,7 @@ |Members={{Project Member |Developer=User:Atupone -|IsLead=Yes -}}{{Project Member -|Developer=User:Nerdboy |IsLead=Yes }} }} - == Aim of the project == The project maintains the compiler, builder, system library and IDE for Ada. '
Old page size (old_size)
3202
Lines added in edit (added_lines)
[]
Lines removed in edit (removed_lines)
[ 0 => '|IsLead=Yes', 1 => '}}{{Project Member', 2 => '|Developer=User:Nerdboy', 3 => '' ]
New page text, stripped of any markup (new_text)
' Ada Project Description This project provides support for Ada compilers and libraries in Portage. At present both a gnat compiler (gnat-gpl by AdaCore) and gcc (by FSF) are provided. Project email ada@gentoo.org Packages p.g.o/ada@gentoo.org Lead(s) Alfredo Tupone (tupone)Steve Arnold (nerdboy) Last elected: 2019-04-17 Member(s) Subproject(s)(and inherited member(s)) (none) Parent Project Gentoo Project listing Contents 1 Aim of the project 2 Current packages 3 Compilers 3.1 sys-devel/gcc 4 Building the dev-ada packages 5 Switching to github release 6 Compiler changes 7 See also Aim of the project[edit] The project maintains the compiler, builder, system library and IDE for Ada. The SPARK language, based on Ada and aimed at safety and security, is also supported. The reference sources are present at https://www.adacore.com/download/more, maintained by AdaCore. Current packages[edit] At present dev-lang/gnat-gpl dev-lang/spark dev-ada/aunit dev-ada/aws dev-ada/libadalang dev-ada/libadalang-tools dev-ada/gnatcoll-core dev-ada/gnatcoll-bindings dev-ada/gnatmem dev-ada/gnatsymbolize dev-ada/gtkada dev-ada/libgpr dev-ada/xmlada dev-ada/langkit packages are part of the project. Compilers[edit] The only free software compiler for Ada is GNAT which is part of GCC. GNAT is written in Ada and hence needs an Ada compiler to be built. sys-devel/gcc[edit] It is possible to add Ada support to sys-devel/gcc. After recent changes for bug #547358, the process is greatly simplified! These are the steps you need to follow: Enable the ada use flag for sys-devel/gcc via package.use emerge --oneshot --changed-use sys-devel/gcc Select the newly built gcc compiler (gcc-config) You should have now the Ada compiler ready to use. Building the dev-ada packages[edit] When building Ada-related packages, you need to indicate which version of compilers to use by setting the ADA_TARGET variable in the file /etc/portage/make.conf: FILE /etc/portage/make.confADA setting ADA_TARGET=&quot;gcc_13&quot; The value used are gnat_2021 to select dev-lang/gnat-gpl-2021 gcc_12 to select sys-devel/gcc-12 gcc_13 to select sys-devel/gcc-13 (default) gcc_14 to select sys-devel/gcc-14 Switching to github release[edit] Slowly we are switching to GitHub releases. e.g. last release of dev-ada/gprbuild is from GitHub and is versioned 22.0.0. To use these release you should mask the GitHub switched package for all the annual-based versions: FILE /etc/portage/package.maskADA setting &gt;=dev-ada/gprbuild-2000 Compiler changes[edit] When you want to use a new Ada compiler, you need to change the make.conf to reflect this choice: FILE /etc/portage/make.confADA setting ADA_TARGET=&quot;gnat_2021&quot; i.e. enabling gnat_2021 and then rebuild all ada packages See also[edit] Ada'
Parsed HTML source of the new revision (new_html)
'<div class="mw-parser-output"><table class="table table-condensed" style="width: 30em; font-size: 95%; border: 1px solid #ddd; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"> <tbody><tr> <th style="text-align: center; background-color:#3E355A; color: white;" colspan="2"><big>Ada Project</big> </th></tr> <tr valign="top"> <th>Description </th> <td style="text-align: justify;">This project provides support for Ada compilers and libraries in Portage. At present both a gnat compiler (gnat-gpl by AdaCore) and gcc (by FSF) are provided. </td></tr> <tr> <th><span title="Mails to member(s) listed below.">Project email</span> </th> <td><a rel="nofollow" class="external text" href="mailto:ada@gentoo.org">ada@gentoo.org</a> </td></tr> <tr> <th><span title="Link to packages.g.o for ebuilds maintained in gentoo.git.">Packages</span> </th> <td><span class="fa fa-cubes fa-fw"></span> <a rel="nofollow" class="external text" href="https://packages.gentoo.org/maintainer/ada@gentoo.org">p.g.o/ada@gentoo.org</a> <p><br /> </p><p><br /> </p><p><br /> </p> </td></tr> <tr valign="top"> <th>Lead(s) </th> <td><ul><li><a href="/wiki/User:Atupone" title="User:Atupone">Alfredo Tupone</a> (tupone)</li><li><a href="/wiki/User:Nerdboy" title="User:Nerdboy">Steve Arnold</a> (nerdboy)</li></ul> <br />Last elected: 2019-04-17 </td></tr> <tr valign="top"> <th>Member(s) </th> <td> </td></tr> <tr valign="top"> <th>Subproject(s)<br /><small style="font-weight: normal;">(and inherited member(s))</small> </th> <td>(none) </td></tr> <tr> <th>Parent Project </th> <td><a href="/wiki/Project:Gentoo" title="Project:Gentoo">Gentoo</a> </td></tr> <tr> <td colspan="2" style="border-top: 1px solid #ddd; font-size: smaller; text-align: center;"><a href="/wiki/Project:Gentoo" title="Project:Gentoo">Project listing</a> </td></tr></tbody></table> <div id="toc" class="toc" role="navigation" aria-labelledby="mw-toc-heading"><input type="checkbox" role="button" id="toctogglecheckbox" class="toctogglecheckbox" style="display:none" /><div class="toctitle" lang="en" dir="ltr"><h2 id="mw-toc-heading">Contents</h2><span class="toctogglespan"><label class="toctogglelabel" for="toctogglecheckbox"></label></span></div> <ul> <li class="toclevel-1 tocsection-1"><a href="#Aim_of_the_project"><span class="tocnumber">1</span> <span class="toctext">Aim of the project</span></a></li> <li class="toclevel-1 tocsection-2"><a href="#Current_packages"><span class="tocnumber">2</span> <span class="toctext">Current packages</span></a></li> <li class="toclevel-1 tocsection-3"><a href="#Compilers"><span class="tocnumber">3</span> <span class="toctext">Compilers</span></a> <ul> <li class="toclevel-2 tocsection-4"><a href="#sys-devel.2Fgcc"><span class="tocnumber">3.1</span> <span class="toctext"><span><span>sys-devel/gcc</span></span></span></a></li> </ul> </li> <li class="toclevel-1 tocsection-5"><a href="#Building_the_dev-ada_packages"><span class="tocnumber">4</span> <span class="toctext">Building the dev-ada packages</span></a></li> <li class="toclevel-1 tocsection-6"><a href="#Switching_to_github_release"><span class="tocnumber">5</span> <span class="toctext">Switching to github release</span></a></li> <li class="toclevel-1 tocsection-7"><a href="#Compiler_changes"><span class="tocnumber">6</span> <span class="toctext">Compiler changes</span></a></li> <li class="toclevel-1 tocsection-8"><a href="#See_also"><span class="tocnumber">7</span> <span class="toctext">See also</span></a></li> </ul> </div> <h2><span class="mw-headline" id="Aim_of_the_project">Aim of the project</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Project:Ada&amp;action=edit&amp;section=1" title="Edit section: Aim of the project">edit</a><span class="mw-editsection-bracket">]</span></span></h2> <p>The project maintains the compiler, builder, system library and IDE for Ada. </p><p>The SPARK language, based on Ada and aimed at safety and security, is also supported. </p><p>The reference sources are present at <a rel="nofollow" class="external free" href="https://www.adacore.com/download/more">https://www.adacore.com/download/more</a>, maintained by AdaCore. </p> <h2><span class="mw-headline" id="Current_packages">Current packages</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Project:Ada&amp;action=edit&amp;section=2" title="Edit section: Current packages">edit</a><span class="mw-editsection-bracket">]</span></span></h2> <p>At present </p> <ul><li><span style="white-space: nowrap;" class="plainlinks" title="External link to https&#58;//packages.gentoo.org for the dev-lang/gnat-gpl package."><a rel="nofollow" class="external text" href="https://packages.gentoo.org/packages/dev-lang/gnat-gpl"><span style="font-family: monospace; font-size: 95%; color: MidnightBlue;">dev-lang/gnat-gpl</span></a><span style="color: grey; margin-left: 0.1em; font-size: 70%;" class="fa fa-hdd-o fa-fw"></span></span></li> <li><span style="white-space: nowrap;" class="plainlinks" title="External link to https&#58;//packages.gentoo.org for the dev-lang/spark package."><a rel="nofollow" class="external text" href="https://packages.gentoo.org/packages/dev-lang/spark"><span style="font-family: monospace; font-size: 95%; color: MidnightBlue;">dev-lang/spark</span></a><span style="color: grey; margin-left: 0.1em; font-size: 70%;" class="fa fa-hdd-o fa-fw"></span></span></li> <li><span style="white-space: nowrap;" class="plainlinks" title="External link to https&#58;//packages.gentoo.org for the dev-ada/aunit package."><a rel="nofollow" class="external text" href="https://packages.gentoo.org/packages/dev-ada/aunit"><span style="font-family: monospace; font-size: 95%; color: MidnightBlue;">dev-ada/aunit</span></a><span style="color: grey; margin-left: 0.1em; font-size: 70%;" class="fa fa-hdd-o fa-fw"></span></span></li> <li><span style="white-space: nowrap;" class="plainlinks" title="External link to https&#58;//packages.gentoo.org for the dev-ada/aws package."><a rel="nofollow" class="external text" href="https://packages.gentoo.org/packages/dev-ada/aws"><span style="font-family: monospace; font-size: 95%; color: MidnightBlue;">dev-ada/aws</span></a><span style="color: grey; margin-left: 0.1em; font-size: 70%;" class="fa fa-hdd-o fa-fw"></span></span></li> <li><span style="white-space: nowrap;" class="plainlinks" title="External link to https&#58;//packages.gentoo.org for the dev-ada/libadalang package."><a rel="nofollow" class="external text" href="https://packages.gentoo.org/packages/dev-ada/libadalang"><span style="font-family: monospace; font-size: 95%; color: MidnightBlue;">dev-ada/libadalang</span></a><span style="color: grey; margin-left: 0.1em; font-size: 70%;" class="fa fa-hdd-o fa-fw"></span></span></li> <li><span style="white-space: nowrap;" class="plainlinks" title="External link to https&#58;//packages.gentoo.org for the dev-ada/libadalang-tools package."><a rel="nofollow" class="external text" href="https://packages.gentoo.org/packages/dev-ada/libadalang-tools"><span style="font-family: monospace; font-size: 95%; color: MidnightBlue;">dev-ada/libadalang-tools</span></a><span style="color: grey; margin-left: 0.1em; font-size: 70%;" class="fa fa-hdd-o fa-fw"></span></span></li> <li><span style="white-space: nowrap;" class="plainlinks" title="External link to https&#58;//packages.gentoo.org for the dev-ada/gnatcoll-core package."><a rel="nofollow" class="external text" href="https://packages.gentoo.org/packages/dev-ada/gnatcoll-core"><span style="font-family: monospace; font-size: 95%; color: MidnightBlue;">dev-ada/gnatcoll-core</span></a><span style="color: grey; margin-left: 0.1em; font-size: 70%;" class="fa fa-hdd-o fa-fw"></span></span></li> <li><span style="white-space: nowrap;" class="plainlinks" title="External link to https&#58;//packages.gentoo.org for the dev-ada/gnatcoll-bindings package."><a rel="nofollow" class="external text" href="https://packages.gentoo.org/packages/dev-ada/gnatcoll-bindings"><span style="font-family: monospace; font-size: 95%; color: MidnightBlue;">dev-ada/gnatcoll-bindings</span></a><span style="color: grey; margin-left: 0.1em; font-size: 70%;" class="fa fa-hdd-o fa-fw"></span></span></li> <li><span style="white-space: nowrap;" class="plainlinks" title="External link to https&#58;//packages.gentoo.org for the dev-ada/gnatmem package."><a rel="nofollow" class="external text" href="https://packages.gentoo.org/packages/dev-ada/gnatmem"><span style="font-family: monospace; font-size: 95%; color: MidnightBlue;">dev-ada/gnatmem</span></a><span style="color: grey; margin-left: 0.1em; font-size: 70%;" class="fa fa-hdd-o fa-fw"></span></span></li> <li><span style="white-space: nowrap;" class="plainlinks" title="External link to https&#58;//packages.gentoo.org for the dev-ada/gnatsymbolize package."><a rel="nofollow" class="external text" href="https://packages.gentoo.org/packages/dev-ada/gnatsymbolize"><span style="font-family: monospace; font-size: 95%; color: MidnightBlue;">dev-ada/gnatsymbolize</span></a><span style="color: grey; margin-left: 0.1em; font-size: 70%;" class="fa fa-hdd-o fa-fw"></span></span></li> <li><span style="white-space: nowrap;" class="plainlinks" title="External link to https&#58;//packages.gentoo.org for the dev-ada/gtkada package."><a rel="nofollow" class="external text" href="https://packages.gentoo.org/packages/dev-ada/gtkada"><span style="font-family: monospace; font-size: 95%; color: MidnightBlue;">dev-ada/gtkada</span></a><span style="color: grey; margin-left: 0.1em; font-size: 70%;" class="fa fa-hdd-o fa-fw"></span></span></li> <li><span style="white-space: nowrap;" class="plainlinks" title="External link to https&#58;//packages.gentoo.org for the dev-ada/libgpr package."><a rel="nofollow" class="external text" href="https://packages.gentoo.org/packages/dev-ada/libgpr"><span style="font-family: monospace; font-size: 95%; color: MidnightBlue;">dev-ada/libgpr</span></a><span style="color: grey; margin-left: 0.1em; font-size: 70%;" class="fa fa-hdd-o fa-fw"></span></span></li> <li><span style="white-space: nowrap;" class="plainlinks" title="External link to https&#58;//packages.gentoo.org for the dev-ada/xmlada package."><a rel="nofollow" class="external text" href="https://packages.gentoo.org/packages/dev-ada/xmlada"><span style="font-family: monospace; font-size: 95%; color: MidnightBlue;">dev-ada/xmlada</span></a><span style="color: grey; margin-left: 0.1em; font-size: 70%;" class="fa fa-hdd-o fa-fw"></span></span></li> <li><span style="white-space: nowrap;" class="plainlinks" title="External link to https&#58;//packages.gentoo.org for the dev-ada/langkit package."><a rel="nofollow" class="external text" href="https://packages.gentoo.org/packages/dev-ada/langkit"><span style="font-family: monospace; font-size: 95%; color: MidnightBlue;">dev-ada/langkit</span></a><span style="color: grey; margin-left: 0.1em; font-size: 70%;" class="fa fa-hdd-o fa-fw"></span></span></li></ul> <p>packages are part of the project. </p> <h2><span class="mw-headline" id="Compilers">Compilers</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Project:Ada&amp;action=edit&amp;section=3" title="Edit section: Compilers">edit</a><span class="mw-editsection-bracket">]</span></span></h2> <p>The only free software compiler for Ada is <a rel="nofollow" class="external text" href="https://en.wikipedia.org/wiki/GNAT">GNAT</a> which is part of <a href="/wiki/GCC" title="GCC">GCC</a>. GNAT is written in Ada and hence needs an Ada compiler to be built. </p> <h3><span id="sys-devel/gcc"></span><span class="mw-headline" id="sys-devel.2Fgcc"><span style="white-space: nowrap;" class="plainlinks" title="External link to https&#58;//packages.gentoo.org for the sys-devel/gcc package."><a rel="nofollow" class="external text" href="https://packages.gentoo.org/packages/sys-devel/gcc"><span style="font-family: monospace; font-size: 95%; color: MidnightBlue;">sys-devel/gcc</span></a><span style="color: grey; margin-left: 0.1em; font-size: 70%;" class="fa fa-hdd-o fa-fw"></span></span></span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Project:Ada&amp;action=edit&amp;section=4" title="Edit section: sys-devel/gcc">edit</a><span class="mw-editsection-bracket">]</span></span></h3> <p>It is possible to add Ada support to <span style="white-space: nowrap;" class="plainlinks" title="External link to https&#58;//packages.gentoo.org for the sys-devel/gcc package."><a rel="nofollow" class="external text" href="https://packages.gentoo.org/packages/sys-devel/gcc"><span style="font-family: monospace; font-size: 95%; color: MidnightBlue;">sys-devel/gcc</span></a><span style="color: grey; margin-left: 0.1em; font-size: 70%;" class="fa fa-hdd-o fa-fw"></span></span>. After recent changes for <span class="plainlinks" style="color: MidnightBlue; font-family: monospace; font-size: 95%;" title="External link to https&#58;//bugs.gentoo.org."><a rel="nofollow" class="external text" href="https://bugs.gentoo.org/show_bug.cgi?id=547358"><span style="color: MidnightBlue;">bug #547358</span></a><span style="color: grey; margin-left: 0.1em; font-size: 70%;" class="fa fa-bug fa-fw"></span></span>, the process is greatly simplified! </p><p>These are the steps you need to follow: </p> <ol><li>Enable the <span style="font-family: monospace; font-size: 95%; color: MidnightBlue; white-space: nowrap;" class="plainlinks" title="External link to https&#58;//packages.gentoo.org for the ada USE Flag."><a rel="nofollow" class="external text" href="https://packages.gentoo.org/useflags/ada"><span style="color: MidnightBlue;">ada</span></a><a href="/wiki/USE_flag" title="USE flag"><span style="color: grey; margin-left: 0.1em; font-size: 70% !important;" class="fa fa-flag-o fa-fw"></span></a></span> use flag for sys-devel/gcc via <span style="font-family: monospace; font-size: 95%; color: #3c763d; font-weight: 600;">package.use</span></li> <li><span style="font-family: monospace; font-size: 95%; font-weight: bold;" class="tripleclick-separator">emerge --oneshot --changed-use sys-devel/gcc</span></li> <li>Select the newly built gcc compiler (<span style="font-family: monospace; font-size: 95%; font-weight: bold;" class="tripleclick-separator">gcc-config</span>)</li></ol> <p>You should have now the Ada compiler ready to use. </p> <h2><span class="mw-headline" id="Building_the_dev-ada_packages">Building the dev-ada packages</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Project:Ada&amp;action=edit&amp;section=5" title="Edit section: Building the dev-ada packages">edit</a><span class="mw-editsection-bracket">]</span></span></h2> <p>When building Ada-related packages, you need to indicate which version of compilers to use by setting the ADA_TARGET variable in the file <span style="font-family: monospace; font-size: 95%; color: #3c763d; font-weight: 600;">/etc/portage/make.conf</span>: </p> <div class="box-caption"><span class="label" style="margin-right: .5em; background-color: #54487A">FILE</span> <strong><code style="border: none; background: none; color: #54487A; margin-right: .5em;">/etc/portage/make.conf</code></strong><strong>ADA setting</strong></div> <div class="mw-highlight mw-highlight-lang-bash mw-content-ltr" dir="ltr"><pre><span></span><span class="nv">ADA_TARGET</span><span class="o">=</span><span class="s2">&quot;gcc_13&quot;</span> </pre></div> <p>The value used are </p> <ul><li><var>gnat_2021</var> to select dev-lang/gnat-gpl-2021</li> <li><var>gcc_12</var> to select sys-devel/gcc-12</li> <li><var>gcc_13</var> to select sys-devel/gcc-13 (default)</li> <li><var>gcc_14</var> to select sys-devel/gcc-14</li></ul> <h2><span class="mw-headline" id="Switching_to_github_release">Switching to github release</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Project:Ada&amp;action=edit&amp;section=6" title="Edit section: Switching to github release">edit</a><span class="mw-editsection-bracket">]</span></span></h2> <p>Slowly we are switching to GitHub releases. </p><p>e.g. last release of <span style="white-space: nowrap;" class="plainlinks" title="External link to https&#58;//packages.gentoo.org for the dev-ada/gprbuild package."><a rel="nofollow" class="external text" href="https://packages.gentoo.org/packages/dev-ada/gprbuild"><span style="font-family: monospace; font-size: 95%; color: MidnightBlue;">dev-ada/gprbuild</span></a><span style="color: grey; margin-left: 0.1em; font-size: 70%;" class="fa fa-hdd-o fa-fw"></span></span> is from GitHub and is versioned 22.0.0. </p><p>To use these release you should mask the GitHub switched package for all the annual-based versions: </p> <div class="box-caption"><span class="label" style="margin-right: .5em; background-color: #54487A">FILE</span> <strong><code style="border: none; background: none; color: #54487A; margin-right: .5em;">/etc/portage/package.mask</code></strong><strong>ADA setting</strong></div> <div class="mw-highlight mw-highlight-lang-bash mw-content-ltr" dir="ltr"><pre><span></span>&gt;<span class="o">=</span>dev-ada/gprbuild-2000 </pre></div> <h2><span class="mw-headline" id="Compiler_changes">Compiler changes</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Project:Ada&amp;action=edit&amp;section=7" title="Edit section: Compiler changes">edit</a><span class="mw-editsection-bracket">]</span></span></h2> <p>When you want to use a new Ada compiler, you need to change the make.conf to reflect this choice: </p> <div class="box-caption"><span class="label" style="margin-right: .5em; background-color: #54487A">FILE</span> <strong><code style="border: none; background: none; color: #54487A; margin-right: .5em;">/etc/portage/make.conf</code></strong><strong>ADA setting</strong></div> <div class="mw-highlight mw-highlight-lang-bash mw-content-ltr" dir="ltr"><pre><span></span><span class="nv">ADA_TARGET</span><span class="o">=</span><span class="s2">&quot;gnat_2021&quot;</span> </pre></div> <p>i.e. enabling <var>gnat_2021</var> and then rebuild all ada packages </p> <h2><span class="mw-headline" id="See_also">See also</span><span class="mw-editsection"><span class="mw-editsection-bracket">[</span><a href="/index.php?title=Project:Ada&amp;action=edit&amp;section=8" title="Edit section: See also">edit</a><span class="mw-editsection-bracket">]</span></span></h2> <ul><li><a href="/wiki/Ada" title="Ada">Ada</a></li></ul> '
Unix timestamp of change (timestamp)
1737895990