On 10/07/2010 02:32 PM, Gustavo Enrique Jimenez wrote:
Hi
2010/10/6 Bo Berglund<[email protected]>:
I have a question that might be OT here, but I will try nevertheless:
We have a Windows application written in Delphi for data analysis and
display.
It uses GLScene as the data rendering engine and it uses 3 Fortran
DLL:s to do the number crunching.
I want to port the whole thing to Lazarus/FPC and I have seen that
GLScene is available for Lazarus (see separate thread).
So far it looks promising, but I also need to handle the three Fortran
DLL:s.
They were made using an Intel Fortran compiler plugged into Visual
Studio several years back. The developer is no longer with us, but the
sources (and the Windows compiler are).
So my question now is if there is any experience of either porting
Fortran code to FPC or of compiling Fortran code for a Windows DLL
into the corresponding function in Linux?
(By te way, is there such a thing as a DLL in Linux?)
Any info on this greatly appreciated!
There is an Intel Fortran Compiler for Linux, 30 days evaluation for
free. You could try to recompile those DLLs. If the recompile works,
it will generate a .so file instead of a .dll, wich is a shared object
on Linux.
The mingw has a port of the GNU fortran compiler for windows, and I have
linked fortran compiled with this with free pascal code. On linux the
code produced by the GNU fortran compiler can also be linked with free
pascal programs - I use the LAPACK library this way.
Colin
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus