delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=2.5 required=5.0 tests=AWL,BAYES_40 |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4CB93A44.3050604@12000.org> |
Date: | Fri, 15 Oct 2010 22:38:12 -0700 |
From: | "Nasser M. Abbasi" <nma AT 12000 DOT org> |
Reply-To: | nma AT 12000 DOT org |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | "cannot find -lgnalasup" when linking. using gcc 4.3.3, on cygwin 1.7.7 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |