On 2008-12-01 20:35-0700 Jerry wrote:

> A perhaps obvious (at this point of the discussion) byproduct of
> using Ada 2005(7) in the GNAT version is that you will need to link
> BLAS and LAPACK libraries. FWIW, OS X supplies both C and Fortran
> versions of these by default. Ada can link to either version.

The above statement concerned me because I cannot find any explicit mention
of blas or lapack in connection with our build system for either the Ada
bindings or examples.  However, a check with ldd -r for the built Ada
examples (with HAVE_ADA_2007 ON) indicates the linking to the blas and
lapack libraries is being done correctly even though we don't do it
explicitly with our build system.  Jerry has also reported that our build
system works on OS X so apparently the linking to blas and lapack is being
done correctly there as well for the examples.

The answer must be that the appropriate platform-dependent linking is being
set up internally by gnatmake.  Thus, so long as a user sticks to gnatmake
or a build system sticks to gnatmake (as ours does) for building
executables, there is no need for an explicit link to blas or lapack.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to