On 12 Nov 2009, at 00:50, Karl Glazebrook wrote: > OK then that sounds like a good plan! > > You'd have to look at the f2c output and see what other stuff might be > called. Given that SLATEC has not been modified in years it's a nice > case of only having to do it once.
I did something like that a couple of years ago for a Fortran program (though nothing to do with numerics). I ended up putting large parts of the f2c support library source code in the package, because the program did a lot of I/O and I was too lazy to figure out the complicated macros etc. and write my own replacement subroutines. If I remember correctly, it was a slightly annoying task (kept re- trying until the linker stopped complaining about missing symbols), but neither very difficult nor particularly time-consuming. Keeping up with new releases of the Fortran program was easy, too -- as long as they didn't use new Fortran functions, no changes to the support library were needed (and I was able to use the f2c output verbatim, without any manual intervention). Best, Stefan [ [email protected] | http://purl.org/stefan.evert ] _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
