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=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: gprbuild fun Date: Mon, 29 Jun 2015 09:29:19 +0100 Organization: A noiseless patient Spider Message-ID: References: <9965ebbe-e8af-4c73-86c7-9ab974b525f5@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: mx02.eternal-september.org; posting-host="c762050aff3a30866fa7e79999b14776"; logging-data="2292"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18ElpDojqWI2uKRQesg1NGdOge0IEvbPz0=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:XoKQR42hwE9OkopOb7sD3YbOqDE= sha1:e6E7DoZBW+TdHSV8aFyJJQoPzq4= Xref: news.eternal-september.org comp.lang.ada:26524 Date: 2015-06-29T09:29:19+01:00 List-Id: David Botton writes: (in response to Vincent. David, could you get your newsreader to include the person you're quoting?) >> Sure. What could be the starting point ? Is gnatmake full FSF ? Could >> it be possible to add a sort of Ant or Maven written in Ada to >> replace GPR Build ? > > gnatmake is full FSF and part of the FSF tree. Once deprecated unless > something changes it will no longer be possible to build an FSF GNAT > using FSF tools. As it is, I doubt there will be future Windows 64 > builds available already after 4.9.x unless we do something. The deprecated parts of gnatmake are the use of GPR project files and the creation of libraries (which gnatmake doesn't do well anyway, at any rate for Mac dylibs). There are no project files in the FSF GCC build process (actually there is one in the GCC tree, zlib/contrib/ada/zlib.gpr, imported from the zlib project, which builds a testbed for the zlib ada binding but isn't used by GCC itself). >> On idea : could it be possible to simply write the "makefile" in Ada >> then compile it first as an executable and use it to launch the rest >> of the compilation process ? To do that one only needs to develop a >> "building library" in Ada. No messy XML file required anymore ! > > I don't think removing all dependencies on ASIS and XML are even a > question for any future tool. gnatmake currently does not depend on > either. We're talking a build tool here, no reason not to use GPL code since the compiler itself is GPL anyway! The only question is the RTS. There's no use of ASIS in gprbuild. XML is used as a handy :) way of holding a complex data structure in text files. It's verbose, sure, and the way it's all put together is reasonably obscure, but what gprbuild does with it is very useful.