diff options
author | Samuel Tardieu <sam@rfc1149.net> | 2008-04-22 07:14:31 +0000 |
---|---|---|
committer | Samuel Tardieu <sam@gcc.gnu.org> | 2008-04-22 07:14:31 +0000 |
commit | 0a58c87e58465a6b993892e87d956c5d7569a5c1 (patch) | |
tree | 3973382000e73b01e7bef027056522131259ce29 /gcc/ada | |
parent | b6d64576ad966e4948949d32a5d31cba60893e19 (diff) | |
download | gcc-0a58c87e58465a6b993892e87d956c5d7569a5c1.zip gcc-0a58c87e58465a6b993892e87d956c5d7569a5c1.tar.gz gcc-0a58c87e58465a6b993892e87d956c5d7569a5c1.tar.bz2 |
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
Diffstat (limited to 'gcc/ada')
-rw-r--r-- | gcc/ada/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/ada/i-forbla.adb | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 79f8440..d4a76a6 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -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 diff --git a/gcc/ada/i-forbla.adb b/gcc/ada/i-forbla.adb index f54497d..bda6084 100644 --- a/gcc/ada/i-forbla.adb +++ b/gcc/ada/i-forbla.adb @@ -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; |