[Lazarus] Converting Fortran to FPC?

Bo Berglund bo.berglund at gmail.com
Thu Oct 7 22:33:37 CEST 2010


On Thu, 7 Oct 2010 21:52:14 +0300, "Juha Manninen (gmail)"
<juha.manninen62 at gmail.com> wrote:

>On Thursday 07 October 2010 21:36:14 Bo Berglund wrote:
>> I think that I would need a lot of time to go over this and just get
>> it to work correctly according to the comments in the code....
>> And then I would not know if it actually did the right conversions.
>
>You have the original DLLs to test with, don't you?
>That is what I understood earlier.
>

What I meant is that I found the Delphi code for the ForToPas program.
Since it did not work I tried to open the ForToPas project in D7 and
correct the erroneous code. But it is written in a very strange way so
it would need a lot of going over to make it work for converting the
Fortran code to Pascal.

Concerning the DLL:s I have the Windows binaries and I have the
Fortran90 sourcecode including the VisualSydio sln file (the compiler
was plugged into Visual Studio at the time).
But my goal is to convert the functions into pascal so they can be
compiled with FPC on both Windows and Linux.
And I don't need them to be DLL:s or the equivalent for Linux either,
they may as well be ordinary procedures called from the code in the
normal embedded way. I just do not understand what they are doing
since I don't read Fortran.


-- 
Bo Berglund
Developer in Sweden





More information about the Lazarus mailing list