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!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: 1. some files unnecessarily recompile. 2. .ali files are created twice Date: Thu, 30 Nov 2017 22:07:44 +0000 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="a69524f06afa5ab5b3e9d179809b9112"; logging-data="24912"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/2ARxsLUG6PqcSC+j4+qFOD4buIutIHIo=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (darwin) Cancel-Lock: sha1:94Cj/qDkfuyvU4jPQ3nlR2sXvpA= sha1:KkExqq2F2PuvUEun3sfeABPRZ8k= Xref: reader02.eternal-september.org comp.lang.ada:49283 Date: 2017-11-30T22:07:44+00:00 List-Id: Victor Porton writes: > 1. No matter if the entire library was already compiled, some Ada > files are re-compiled every time I type "make". This is an error. Try running gprbuild with the "-vm" or "-vh" flag, which should tell you the reasons for the recompilations. > 2. .ali files are created in both lib/ and in obj-dynamic/ dirs. This > seems redundant. They are built in the object directory and copied to the library directory. That is the way it is. > My source is available at > https://github.com/vporton/xml-boiler/tree/master/src > > It was configured as follows: > > ./configure --enable-debug --enable-maintainer-mode \ > --with-gprbuild="gprbuild -j8" --prefix=/usr/local/stow/xml-boiler It seems to need some automake/autoconf dance which didn't work immediately, and in any case Compile [Ada] boiler-rdf_recursive_descent.adb boiler-rdf_recursive_descent.adb:18:06: file "rdf.ads" not found but I won't pursue that.