From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,76957c1f520d03d6,start X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!s13g2000prd.googlegroups.com!not-for-mail From: george@gentoo.org Newsgroups: comp.lang.ada Subject: Small changes in Ada handling in Gentoo Date: Thu, 24 Jan 2008 07:39:30 -0800 (PST) Organization: http://groups.google.com Message-ID: <6625b6cd-a461-423e-af9a-1e6f268c12b7@s13g2000prd.googlegroups.com> NNTP-Posting-Host: 129.194.8.73 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1201189170 20002 127.0.0.1 (24 Jan 2008 15:39:30 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 24 Jan 2008 15:39:30 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s13g2000prd.googlegroups.com; posting-host=129.194.8.73; posting-account=KKezqQoAAABnbu5AQoyShJUJaza7C_1x User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en_US, uk, fr, de, ru; rv:1.7.3) Gecko/20040916,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:19581 Date: 2008-01-24T07:39:30-08:00 List-Id: Dear Ada users. I have finally implemented the multiple gnat handling in full, resolving bug #151343. The operational procedures on user side remain largely the same , however there is one modification everybody using Ada compilers in Gentoo should be aware of. Now (as was discussed in #151343) gnatbuild.eclass, gnat.eclass and eselect-gnat support the notion of "primary" compilers. The idea here is that most users will want one or, possibly, two variants of Ada compilers used for everyday work at most, while, occasionally, wishing to test some other variant(s). These "everyday" compilers (designated "primary" further on) have to be listed in /etc/ada/primary-compilers. The file simply contains a listing of gnat profiles user desires to designate primary, one per line. Mine, for example, contains: gerr@dornoir ~ $ cat /etc/ada/primary_compilers x86_64-pc-linux-gnu-gnat-gcc-4.2 x86_64-pc-linux-gnu-gnat-gpl-4.1 All Ada libs will be built only for these compilers and not for any other installed. However "eselect gnat set" will allow user to set any installed gnat, as before. Thus we avoid ABI issues when updating packages that have some Ada lib as a dependency (there are already a few) via enforcing a consistent set of ABIs, cut compilation time (libs are now not getting built for an "occasional" compiler) while still providing an ability to use any gnat in portage. As a safeguard gnatbuild.eclass has also been modified to populate /etc/ada/primary-compilers, if this file does not exist yet, with the corresponding profile upon emerging gnat for the first time. Please, however, take your destiny in your own hands and update that file accordingly to your desires. George