On 28/10/2017 05:38, Alan W. Irwin wrote:
On 2017-10-27 22:31+0200 Marco Atzeri wrote:

On 27/10/2017 09:32, Alan W. Irwin wrote:

Our understanding is the Cygwin naming convention for the various
kinds of libraries would be (in the gnat library case)

dll               cyggnat-6.dll
import library    libgnat-6.dll.a
static library    libgnat.a


Hi Alan,

the understanding is correct, it should be
libgnat-6.dll.a or libgnat.dll.a
However as

 $ gnatlink -v -shared hello
GNATLINK 6.4.0
Copyright (C) 1995-2016, Free Software Foundation, Inc.
gcc -c -mtune=generic -march=x86-64 -gnatA -gnatWb -gnatiw -gnatws /tmp/ada/b~hello.adb /usr/bin/gcc.exe b~hello.o ./hello.o -shared -o hello.exe -L./ -L/usr/lib/gcc/x86_64-pc-cygwin/6.4.0/adalib/ -lgnat-6 -Wl,--stack=0x2000000 -shared-libgcc /usr/lib/gcc/x86_64-pc-cygwin/6.4.0/../../../../x86_64-pc-cygwin/bin/ld: cannot find -lgnat-6
collect2: error: ld returned 1 exit status
gnatlink: error when calling /usr/bin/gcc.exe

I suspect the ada package is incomplete, so I raised
the attention of the package maintainer.

https://cygwin.com/ml/cygwin/2017-10/msg00358.html

Regards
Marco



--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake

Reply via email to