Fortran: Lahey LF90: Difference between revisions
Jump to navigation
Jump to search
(Die Seite wurde neu angelegt: == Fortran Compiler Lahey LF90 == === DLL erstellen === Automake-Datei: <fortran> QUITONERROR DEBUG FILES=*.for COMPILE=@lf90 -ap -chk -g -co -f90 -lst -pca -sav -st...) |
(No difference)
|
Revision as of 05:22, 12 September 2007
Fortran Compiler Lahey LF90
DLL erstellen
Automake-Datei:
<fortran> QUITONERROR DEBUG FILES=*.for COMPILE=@lf90 -ap -chk -g -co -f90 -lst -pca -sav -stchk -trace -w -wo -xref -c %fi -DLL -WIN -ML WINAPI
LINK=@lf90 @%rf -dll -out %ex -ml winapi -fullwarn -g TARGET=Target.dll </fortran>
- TIP
- Es können mit LF90 keine Proceduren eines Moduls exportiert werden ! Deshalb eigene Subroutine/Funktion mit Modulproceduraufruf implementieren.
<fortran>
subroutine TEST_MODULE()
USE MOD_BLABLA
DLL_EXPORT TEST_MODULE
call BLABLA_Procedure()
end subroutine
</fortran>