delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/16/11:11:08

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
Message-ID: <402038.14489.qm@web25506.mail.ukl.yahoo.com>
Date: Sat, 16 Oct 2010 16:10:51 +0100 (BST)
From: Marco Atzeri <marco_atzeri AT yahoo DOT it>
Subject: R: "cannot find -lgnalasup" when linking. using gcc 4.3.3, on cygwin 1.7.7
To: cygwin AT cygwin DOT com, nma AT 12000 DOT org
In-Reply-To: <4CB93A44.3050604@12000.org>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

--- Sab 16/10/10, Nasser M. Abbasi  ha scritto:

> Hello;
>=20
> 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.
>=20
> $ uname -a
> CYGWIN_NT-6.1-WOW64 me-PC 1.7.7(0.230/5/3) 2010-08-31 09:58
> i686 Cygwin
>=20
> $ gcc --version
> gcc (GCC) 4.3.4 20090804 (release) 1
>=20
> $ gnatmake main.adb -largs -L/usr/lib=A0 -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.
>=20
> 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.
>=20
> Any ideas?
>=20
> thanks
> --Nasser
>=20
>=20
> --

this will help:
> Problem reports:=A0 =A0 =A0=A0=A0http://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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019