comp.lang.ada
 help / color / mirror / Atom feed
From: Victor Porton <porton@narod.ru>
Subject: 1. some files unnecessarily recompile. 2. .ali files are created twice
Date: Thu, 30 Nov 2017 22:49:47 +0200
Date: 2017-11-30T22:49:47+02:00	[thread overview]
Message-ID: <ovpqta$5uk$1@gioia.aioe.org> (raw)

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.

Please help to eliminate this error.

$ make
gprbuild -j8 --relocate-build-tree -p -s -we libxmlboiler.gpr \
                 -XLIBRARY_KIND=dynamic -XOBJ_DIR=./obj-dynamic -
Xsoversion=libxmlboiler.so.0.0.1 -XMODE=Install -XDEBUG_MODE=debug -cargs -
I/usr/local/stow/rdf-ada/include/librdf.dynamic -I/usr/local/stow/rdf-
ada/lib/librdf.dynamic -I/usr/share/ada/adainclude/simple-components -
I/usr/lib/x86_64-linux-gnu/ada/adalib/simple-components
Compile
   [Ada]          boiler-global.adb
   [Ada]          boiler-rdf_recursive_descent.adb
   [Ada]          boiler-rdf_format.adb
   [Ada]          boiler-rdf_recursive_descent-enums.adb
   [Ada]          boiler-rdf_format-resource-parser.adb
   [Ada]          boiler-rdf_format-resource.ads
   [Ada]          boiler-rdf_recursive_descent-literals.adb
Build Libraries
   [gprlib]       xmlboiler.lexch
   [link library] libxmlboiler.so

$ gprbuild --version
GPRBUILD GPL 2017 (19940713) (x86_64-pc-linux-gnu)
Copyright (C) 2004-2017, AdaCore

2. .ali files are created in both lib/ and in obj-dynamic/ dirs. This seems 
redundant.

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

Please help to solve these two problems.

-- 
Victor Porton - http://portonvictor.org

             reply	other threads:[~2017-11-30 20:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-30 20:49 Victor Porton [this message]
2017-11-30 22:07 ` 1. some files unnecessarily recompile. 2. .ali files are created twice Simon Wright
2017-11-30 22:59 ` Victor Porton
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox