GNAT GPL 2017 gnatcoll.xref消失了吗?

问题描述:

我想升级到GNAT GPL 2017(从2016年开始)。我在Windows 8.1上运行。GNAT GPL 2017 gnatcoll.xref消失了吗?

一个应用程序使用gnatcoll.xref。

在2016年,在已经找到:

蚊蚋/包括/ gnatcoll/gnatcoll_sqlite.static/gnatcoll-xref.ads

然而,该文件未在2017年安装找到。请注意,2017年的'gnat -...- bin.exe'安装程序包含gnatcoll,而2016年则是单独安装。

2017年的gnatcoll用户指南(share/doc/gnatcoll/GNATColl.pdf)第25章说gnatcoll.xref应该在那里(它在示例代码中使用)。

有没有其他人遇到过这个问题?有没有修复/解决方法?

我通过从源码安装gnatcoll来修复它,覆盖二进制安装。 gnatcoll.xref现在需要iconv(2016没有),所以我必须安装在mingw32中,并说服gnat使用它。这里有一个简短的总结:

mingw32的包:

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

中的mingw32壳:

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

在Cygwin的外壳(mingw32的使搞砸了,不知道为什么):

make 
make install