"cannot find -lgnalasup" when linking. using gcc 4.3.3, on cygwin 1.7.7

Nasser M. Abbasi nma@12000.org
Sat Oct 16 11:20:00 GMT 2010


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


--
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



More information about the Cygwin mailing list