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]

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


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