Re: Library support in gnat-4.6.3?
On Thu, 2012-03-29 at 10:04 +0200, Ludovic Brenta wrote:
> Svante Signell wrote:
> In debian/patches/ada-libgnatprj.diff(src/libgnatprj/configure.ac) but
> to understand how it works, read on.
> > The configuration for GNU/Hurd was approximately the same:
> > ifeq ($(strip $(filter-out %86 gnu%,$(arch) $(osys))),)
> > TOOLS_TARGET_PAIRS = \
> > mlib-tgt-specific.adb<mlib-tgt-specific-linux.adb \
> > indepsw.adb<indepsw-gnu.adb
> In Debian, the packages Mlib.Tgt and Mlib.Tgt.Specific are part of
> libgnatprj and are dynamically linked into gnatmake; TOOLS_TARGET_PAIRS
> is not defined in gcc/ada/gcc-interface/Makefile.in but in
> src/libgnatprj/Makefile.in instead. src/libgnatprj/Makefile.in is
> generated by src/libgnatprj/configure, which is generated by
> src/libgnatprj/configure.ac, which is generated by
Thank you very much for the explanation. This reminds me of a patch I
made to ada-liggnatprj.diff for GNU/Hurd in 4.6.2 that I forgot to add to
4.6.3. Problem probably solved.
> (I did not invent any of this and it took me quite a few hours to
> understand the sources, several years ago.)
Rather complicated isn't it :(
Any ideas about reinstating the gnattools-cross target in Debian by
modifying the ada-libgnatvsn.diff patch?