public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ada gnat import library missing ?
@ 2017-10-28 14:37 Marco Atzeri
  2017-10-30  9:56 ` JonY
  0 siblings, 1 reply; 10+ messages in thread
From: Marco Atzeri @ 2017-10-28 14:37 UTC (permalink / raw)
  To: cygwin

Jon,
the simple hello program
https://gcc.gnu.org/onlinedocs/gnat_ugn/Running-a-Simple-Ada-Program.html

with shared option fails

$ gnatbind -v -shared hello 
gnatbind -v -shared hello
GNATBIND 6.4.0
Copyright (C) 1995-2016, Free Software Foundation, Inc.
Binding: hello.ali
No errors

$ 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


as I do not find any import library for
/usr/bin/cyggnat-6.dll

can you check ?

Regards
Marco

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

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

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-28 14:37 ada gnat import library missing ? Marco Atzeri
2017-10-30  9:56 ` JonY
2017-10-30 14:15   ` Marco Atzeri
2017-10-30 23:18     ` JonY
2017-10-31  6:30       ` Marco Atzeri
2017-11-01 16:07       ` Marco Atzeri
2017-11-02 10:28         ` JonY
2017-11-02 12:13           ` Marco Atzeri
2017-11-02 12:25             ` Arjen Markus
2017-11-06  5:22               ` Arjen Markus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).