On Mon, Apr 03, 2006 at 11:53:24PM +0200, FX Coudert wrote:
2. if -fexternal-blas is specified, its argument is added instead of
-lgfortran_blas, but everything else from point 1 is still valid;
append_blas() breaks the space-separated words in
-fexternal-blas argument before appending them to the arguments. As for
the order of linking, -lgfortran still needs to be added after the
external blas library, because if the external library was compiled with
gfortran, it might have some libgfortran symbols referred in it :)
This is pretty nasty. If I were designing a command line interface for
this, it would just be "-fexternal-blas disables inclusion of the
default libgfortran_blas.a". Can't we get that to work? Maybe with
--start-group and --end-group?