This is the mail archive of the
cygwin
mailing list for the Cygwin project.
R: "cannot find -lgnalasup" when linking. using gcc 4.3.3, on cygwin 1.7.7
- From: Marco Atzeri <marco_atzeri at yahoo dot it>
- To: cygwin at cygwin dot com, nma at 12000 dot org
- Date: Sat, 16 Oct 2010 16:10:51 +0100 (BST)
- Subject: R: "cannot find -lgnalasup" when linking. using gcc 4.3.3, on cygwin 1.7.7
--- Sab 16/10/10, Nasser M. Abbasi ha scritto:
> Hello;
>
> Not sure if this is the right place, but I am using cygwin,
> and was trying to compile/link this one Ada program. It
> seems there is a library missing in the system. Did a search
> on this, but not able to find anything.
>
> $ uname -a
> CYGWIN_NT-6.1-WOW64 me-PC 1.7.7(0.230/5/3) 2010-08-31 09:58
> i686 Cygwin
>
> $ gcc --version
> gcc (GCC) 4.3.4 20090804 (release) 1
>
> $ gnatmake main.adb -largs -L/usr/lib? -lgnala
> -llapack -lblas
> gnatbind -x main.ali
> gnatlink main.ali -L/usr/lib -lgnala -llapack -lblas
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
> cannot find -lgnalasup
> collect2: ld returned 1 exit status
> gnatlink: error when calling /usr/bin/gcc.exe
> gnatmake: *** link failed.
>
> When I copy the source file (the Ada file) to a linux
> system, with ubuntu 10.10 (linux 2.6.35-22) running gcc
> 4.4.5, the same command above works with no problem. no link
> error.
>
> Any ideas?
>
> thanks
> --Nasser
>
>
> --
this will help:
> Problem reports:? ? ???http://cygwin.com/problems.html
Have you tested the gcc-4.5 package ?
http://cygwin.com/ml/cygwin-announce/2010-08/msg00016.html
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