FWIW, Ada has built-in ability to interface to both Fortran and C  
(and Cobol and C++). Ada (GNAT) is set to use Fortran versions of  
BLAS and LAPACK but changing to C would be trivial.

On OS X, there are three symlinks in one directory,

libclapack.dylib
libf77lapack.dylib
liblapack.dylib

which all point to the same thing but in another directory:

libLAPACK.dylib

For BLAS, there are only two symlinks,

libblas.dylib
libcblas.dylib

pointing to

libBLAS.dylib


This seems to indicate that the pointed-to libraries have both C and  
Fortran symbols in them.

The 4.3 compiler works fine with those libraries except for the need  
to delete a single line in a spec file in GNAT itself. (I don't know  
why). The macada.org guys know about this.

Jerry


On Jan 3, 2008, at 12:16 PM, Alan W. Irwin wrote:

> P.S.
>
> One complication I failed to mention is that BLAS and LAPACK were  
> developed
> as Fortran libraries, but sometimes C bindings are available as  
> well. My
> original cmake modules just looked for the Fortran version, and I  
> assume
> Alin Elena has continued that.  If Ada needs the C versions of the  
> BLAS and
> LAPACK libraries rather than the Fortran versions, then something  
> extra will
> have to be done to deal with that issue.
>
> Alan
> __________________________
> Alan W. Irwin


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to