Commit 0a58c87e by Samuel Tardieu Committed by Samuel Tardieu

i-forbla.adb: Link against -llapack and -lblas by default instead of the private -lgnalasup.

    gcc/ada/
	* i-forbla.adb: Link against -llapack and -lblas by default
	instead of the private -lgnalasup.

From-SVN: r134550
parent b6d64576
2008-04-22 Samuel Tardieu <sam@rfc1149.net>
* i-forbla.adb: Link against -llapack and -lblas by default
instead of the private -lgnalasup.
2008-04-21 Olivier Hainque <hainque@adacore.com> 2008-04-21 Olivier Hainque <hainque@adacore.com>
Access to most C builtins from Ada Access to most C builtins from Ada
...@@ -32,12 +32,13 @@ ...@@ -32,12 +32,13 @@
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
-- This Interfaces.Fortran.Blas package body contains the required linker -- This Interfaces.Fortran.Blas package body contains the required linker
-- pragmas for automatically linking with the gnalasup linear algebra support -- pragmas for automatically linking with the LAPACK linear algebra support
-- library, and the systems math library. Alternative bodies can be supplied -- library, and the systems math library. Alternative bodies can be supplied
-- if different sets of libraries are needed. -- if different sets of libraries are needed.
package body Interfaces.Fortran.BLAS is package body Interfaces.Fortran.BLAS is
pragma Linker_Options ("-lgnala"); pragma Linker_Options ("-lgnala");
pragma Linker_Options ("-lgnalasup"); pragma Linker_Options ("-llapack");
pragma Linker_Options ("-lblas");
pragma Linker_Options ("-lm"); pragma Linker_Options ("-lm");
end Interfaces.Fortran.BLAS; end Interfaces.Fortran.BLAS;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment