I am using mingw to generate a DLL like this:

     $(CC) -shared -o foo.dll foo.o blas.dll lapack.dll -Wl,--out-implib,libbdca.a -lgfortran

  ... so it is depending on the contents of blas.dll and lapack.dll. It works perfectly for my application, but what if I later want to use another lapack or blas dll with a different name than provided on the above link command? - would it be possible to use my foo.dll with, say, "optimizedlapack.dll" instead of "lapack.dll" without re-linking foo.dll ?

Best regards, and mingw really rocks!!

    / Mads