comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Example Ada calling Gnu Scientific Library (GSL)
Date: Tue, 11 Apr 2017 21:46:31 +0200
Date: 2017-04-11T21:46:31+02:00	[thread overview]
Message-ID: <ocjbql$10al$1@gioia.aioe.org> (raw)
In-Reply-To: lyd1cibx6t.fsf@pushface.org

On 2017-04-11 20:45, Simon Wright wrote:
> hreba <f_hreba@yahoo.com.br> writes:
>
>> FINALLY!
>>
>> I had to add "-L/usr/lib"!. This provoked a series of other link
>> errors showing that "-lgslcblas" is needed too.
> [...]
>> Thanks to all for your help, and specially to Simon for his patience.
>
> You're welcome! Glad it's come good.
>
> [to be ignored in the interests of getting on with the job...] I still
> think the required libraries could be specified in gsl_raw. And
> shouldn't /usr/lib be the default, not needing to be specified?

No, under Debian it is actually

    /usr/lib/${DEB_HOST_MULTIARCH}

Under Fedora there is a predefined project Directories which must be 
with-ed and then it is simply

    Directories.Libdir

This is why having a project for external library might work better than 
using direct linker switches.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de


      reply	other threads:[~2017-04-11 19:46 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-29  1:29 Example Ada calling Gnu Scientific Library (GSL) Leo Brewin
2017-03-29  7:01 ` gautier_niouzes
2017-03-29  7:23   ` Dmitry A. Kazakov
2017-03-30 12:39     ` gautier_niouzes
2017-03-30 14:22       ` Dmitry A. Kazakov
2017-03-30 20:44         ` Randy Brukardt
2017-03-31 18:31         ` G.B.
2017-03-31 18:50           ` Dmitry A. Kazakov
2017-03-29  7:19 ` hreba
2017-03-29 20:07   ` Randy Brukardt
2017-04-04 21:25     ` hreba
2017-04-05 16:29       ` Simon Wright
2017-04-05 20:21         ` hreba
2017-04-06  7:30           ` Simon Wright
2017-04-07 18:45             ` hreba
2017-04-08  8:28               ` Simon Wright
2017-04-09 10:57                 ` hreba
2017-04-09 15:17                   ` Simon Wright
2017-04-10  8:53                     ` hreba
2017-04-10  9:47                       ` Dmitry A. Kazakov
2017-04-10 15:39                         ` hreba
2017-04-10 17:16                           ` Dmitry A. Kazakov
2017-04-10 17:43                           ` Simon Wright
2017-04-10 15:44                       ` Simon Wright
2017-04-11 17:31                         ` hreba
2017-04-11 18:45                           ` Simon Wright
2017-04-11 19:46                             ` Dmitry A. Kazakov [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox