This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ada gnat import library missing ?


On 10/28/2017 02:37 PM, Marco Atzeri wrote:
> 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 ?


Looks like the Makefile neglected to generate the import libs, can you
copy the dll over to see if it links right while I do a new gcc build to
fix this, thanks.

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]