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
This commit is contained in:
Samuel Tardieu 2008-04-22 07:14:31 +00:00 committed by Samuel Tardieu
parent b6d64576ad
commit 0a58c87e58
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
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>
Access to most C builtins from Ada

View File

@ -32,12 +32,13 @@
------------------------------------------------------------------------------
-- 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
-- if different sets of libraries are needed.
package body Interfaces.Fortran.BLAS is
pragma Linker_Options ("-lgnala");
pragma Linker_Options ("-lgnalasup");
pragma Linker_Options ("-llapack");
pragma Linker_Options ("-lblas");
pragma Linker_Options ("-lm");
end Interfaces.Fortran.BLAS;