by kurzak » Thu Nov 19, 2015 8:07 pm
It's not hopeless.
Get Netlib BLAS and try to translate it to C yourself using F2C.
Then you can compile it using a C compiler.
It will still provide the FORTRAN interface (calling convention, i.e., passing by reference).
Then you can put Netlib CBLAS on top of it.
BTW, you can compile Netlib CBLAS even without the BLAS.
It's only a set of wrappers that provide C interface over the FORTRAN interface.
You cannot build tests without the actual BLAS, but you can always build the wrapper library.
Alternatively, look at the GNU scientific library.
I am pretty sure it contains C implementation of CBLAS (the actual thing, not just wrappers).
Then you need LAPACK.
I don't think you can successfully F2C the whole LAPACK any more.
But if you just need a routine, or a handful of routines, you can just try to F2C those.
ATLAS probably only requires Fortran for building the Fortran interface.
If you don't need the FORTRAN interface to BLAS, you can probably build ATLAS without FORTRAN.
Probably not an option anyways for that architecture, but why not try.
Actually, get in touch with Clint Whaley. He may have interest in that architecture.
Finally, I want to point out that if you manage to get LAPACK working, LAPACKE is a nice C interface for it.
Also, if you say a little more about your specific problem, you may get a more targeted answer.
You seem to be on the bleeding edge.
Good luck.
Jakub