GNAT GPL 2017 gnatcoll.xref disappeared?

I am trying to upgrade to GNAT GPL 2017 (since 2016). I am working on Windows 8.1.

One application uses gnatcoll.xref.

In 2016, found in:

mosquito / enable / gnatcoll / gnatcoll_sqlite.static / gnatcoll-xref.ads

However, the file was not found in the 2017 installation. Note that the installer 'gnat -...- bin.exe' for 2017 includes gnatcoll and for 2016 it is a separate installation.

The 2017 gnatcoll user manual (share / doc / gnatcoll / GNATColl.pdf) says that gnatcoll.xref should be there (it is used in the sample code).

Does anyone else come across this? And is there a fix / workaround?

+3


source to share


1 answer


I fixed it by installing gnatcoll from source, overwriting the binary installation. gnatcoll.xref now requires iconv (2016 - no), so I had to install that in mingw32 and convince gnat to use it. Here's a quick summary:

mingw32 packages:

     mingw-w64-i686-make
     mingw-w64-i686-iconv
     mingw-w64-i686-pkg-config
     libiconv-devel

      

in mingw32 shell:



export PATH=/d/Apps/GNAT-gpl_2017/bin:$PATH
./configure --build=mingw32 --prefix=/d/Apps/GNAT-gpl_2017 --with-iconv=d:/msys32/mingw32/

      

in Cygwin shell (mingw32 make uped, not sure why):

make
make install

      

+4


source







All Articles