On 1/5/2011 12:33, Micha Nelissen wrote:
Bo Berglund wrote:
2) The fortran code failed to translate when it turned out that
Fortran could change the type of a matrix multiplication depending on
the dimensions of the two input matrices.
You couldn't translate the code or the function declarations? Calling the
fortran code from freepascal might be possible, then you don't have to translate
the code itself, just call it.
this was discussed but IIRC it seemed that determining the proper calling
procedures came up... if the library wasn't callable in "pascal" or "C" format
or some such... one would need to be able to compile those libraries in a
FPC/Lazarus compatible format for the ""normal"" callouts (is that the proper
term) to work... since this was hard to do (ie: no compiler with this
capability??) it was looked into that those routines could be recoded in pascal
format... this too has not been able to be done because there's no available
FORTRAN <-> PASCAL coder who can make the conversion...
IIRC^2 : the original coder is long gone and no longer available for
consultation...
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus