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;