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,81ad2a544a72a777 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.scarlet.biz!news.scarlet.biz.POSTED!not-for-mail NNTP-Posting-Date: Wed, 19 Oct 2005 13:29:22 -0500 From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: GNAT in Debian, heads up (was: FSF libgnat) References: <87irvuejhc.fsf@ludovic-brenta.org> <87ek6iecj2.fsf@ludovic-brenta.org> Date: Wed, 19 Oct 2005 20:30:48 +0200 Message-ID: <871x2he4vb.fsf_-_@ludovic-brenta.org> User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:ebjuXbmSm1SgE3+ncRK+ojEpqXc= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 83.134.243.213 X-Trace: sv3-SLpQI6LR8aEdA2xGle1dR+sJ+w4qMrQXuSMl1z6KJE4rI1XLVcmAKTsUYCi22wk+PCMtnosLOvQ6qzJ!Vndyr1FfKJEdmhtLoU1oNLGObSrR98VZjC8nvvCGVWNECkyzDHfVcsX0jh3EULy2HLc2uR7Sn1pL!gYU= X-Complaints-To: abuse@scarlet.be X-DMCA-Complaints-To: abuse@scarlet.biz X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.lang.ada:5806 Date: 2005-10-19T20:30:48+02:00 List-Id: Stanislav Tsekhmistroh writes: > PS: 2 Ludovic : > What are the plans for GNAT in Debian? > What is the preference - to fix/develop/package FSF GNAT or ACT > GNAT 3.15p? And what help is needed most of all? I don't know if you followed the very long thread where a vote took place, last month, about the next Ada compiler in Debian. See [1] for a summary of the votes and the various arguments that were voiced. There have been other messages since then but I still think that message captures the gist of the debate. [1] http://groups.google.com/group/comp.lang.ada/msg/8d1b6d93ee815f87 My plan is to transition to GCC 4.1. The release branch will be created by the FSF in the next few weeks, and I anticipate that a package will appear soon thereafter in Debian's unstable or experimental distribution. I will start the transition from there, probably in November this year. In the mean time, I'm playing with GNAT 3.15p and breaking things :) I've modified the build process so that certain parts of the compiler are exposed in a shared library. These parts make up the project manager, and the Ada units that are necessary for the project manager. The library, which I called "libgnatprj", allows to build project-aware tools by reusing GNAT's internal code. One such tool is AdaBrowse, which gave me the idea in the first place. A second change which I'm experimenting with is to change the GNAT_Version_String (declared in gnatvsn.ads, and displayed by "gnatmake -v") to reflect the Debian version number. My intention is to allow ASIS and GLADE to use this shared version string, instead of providing their own (they both contain a copy of parts of GNAT, and I'd like to stop that so that they can benefit from bug fixes made in GNAT). Another reason for doing this is that the GCC packages (gnat-3.4, gnat-4.0) also do that. I've just discovered that changing the GNAT_Version_String with every Debian release (e.g. "Debian 3.15p-14") was a bad idea, because GNAT keeps the CRC of the source (gnatvsn.ads) in the corresponding library information file (gnatvsn.ali). And if the CRC changes, then everything that depends on gnatvsn.ads must be recompiled. The latest upload is currently gnat 3.15p-16 and it breaks ASIS, GLADE and GPS (they can still run, but GLADE and GPS fail to build from source). A second problem I'll tackle in the short term is that libgnatprj contains some files under GMGPL (e.g. gnatvsn.ads) and other files under GPL (e.g. the project manager). I'll want to split that in two libraries. I want to port these changes to gnat-4.1 when I start doing the transition. -- Ludovic Brenta.