comp.lang.ada
 help / color / mirror / Atom feed
* 1. some files unnecessarily recompile. 2. .ali files are created twice
@ 2017-11-30 20:49 Victor Porton
  2017-11-30 22:07 ` Simon Wright
  2017-11-30 22:59 ` Victor Porton
  0 siblings, 2 replies; 3+ messages in thread
From: Victor Porton @ 2017-11-30 20:49 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-30 22:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-30 20:49 1. some files unnecessarily recompile. 2. .ali files are created twice Victor Porton
2017-11-30 22:07 ` Simon Wright
2017-11-30 22:59 ` Victor Porton

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