comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon.j.wright@mac.com>
Subject: Re: gnatmake: "ada.numerics.real_arrays" is not a predefined library unit
Date: Tue, 22 Apr 2008 21:13:27 +0100
Date: 2008-04-22T21:13:27+01:00	[thread overview]
Message-ID: <m263u9r6l4.fsf@mac.com> (raw)
In-Reply-To: 87od82c40y.fsf@ludovic-brenta.org

Ludovic Brenta <ludovic@ludovic-brenta.org> writes:

> For example, libgnala.a is currently installed in
> /usr/lib/gcc/x86_64-linux-gnu/4.3/rts-native/adalib/ without any
> symlink to it from /usr/lib, and so linking with it may require ugly
> linker options (ugly because they depend on the OS and version of
> GCC).

FWIW, this

$ gnatmake hello \
  -largs -lgnala -L/Developer/SDKs/MacOSX10.4u.sdk/usr/lib -lblas -llapack 

_nearly_ works with an unedited i-forbla.adb GNAT-GPL-2007 on Mac OS X Tiger;

opt/gnat-gpl-2007-dynamic/lib/gcc/powerpc-apple-darwin8.11.0/4.1.3/adalib//libgnala.a(a-nlcoar.o) reference to undefined _zdot_

So the ugly linker options involved finding libblas and liblapack only.



  reply	other threads:[~2008-04-22 20:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-21 11:34 gnatmake: "ada.numerics.real_arrays" is not a predefined library unit Reinert Korsnes
2008-04-21 12:28 ` Georg Bauhaus
2008-04-21 13:46   ` Ludovic Brenta
2008-04-21 17:01     ` Samuel Tardieu
2008-04-21 19:35       ` Ludovic Brenta
2008-04-21 20:35         ` Samuel Tardieu
2008-04-21 21:05           ` Ludovic Brenta
2008-04-22 20:13             ` Simon Wright [this message]
2008-04-21 21:34 ` Jerry
2008-04-22 10:46   ` Samuel Tardieu
2008-04-22 12:04     ` Ludovic Brenta
replies disabled

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