From: Samuel Tardieu Date: Tue, 22 Apr 2008 07:14:31 +0000 (+0000) Subject: i-forbla.adb: Link against -llapack and -lblas by default instead of the private... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a58c87e58465a6b993892e87d956c5d7569a5c1;p=gcc.git 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 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 79f8440982c..d4a76a68b04 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2008-04-22 Samuel Tardieu + + * i-forbla.adb: Link against -llapack and -lblas by default + instead of the private -lgnalasup. + 2008-04-21 Olivier Hainque Access to most C builtins from Ada diff --git a/gcc/ada/i-forbla.adb b/gcc/ada/i-forbla.adb index f54497d9413..bda6084262f 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;