I have a Racket program I want to link against a Fortran library and another library, because the Fortran API works well. I saw from a Stack Overflow answer by Jens Axel Søgaard that he was able to link to CBLAS and LAPACK. The libraries I'm using are different, but I'm hoping I'll be able to use them from Racket. It would be quite sweet.
My question I think is simple. Currently I build Racket programs that can execute on the required platform (Windows) like this:
$ raco exe -o MyProgram.exe MyProgram.rkt
$ raco distribute win MyProgram.exe
In the above, I was not compiling against or linking to anyone else's Fortran library. Now that I will be, what will my raco
command(s) look like? Assume I have two libraries I need to link against: ${LIBPATH}/libeccodes_f90.dll ${LIBPATH}/libeccodes.dll