Getting started with FTN95 using Visual Studio
FTN95 is a full Fortran 95 compliant compiler for Win32 and Microsoft .NET. The
compiler produces a) .OBJ files for Win32 that are linked using the Silverfrost
linker called SLINK and b).DBK files for .NET that are linked using the
Silverfrost linker called DBK_LINK or DBK_LINK2.
FTN95 is invoked from a command line and you can work directly from the command
line if you prefer (see Compiler
Options on a Command Line). Alternatively you can use a variety of
Integrated Development Environments (IDEs) including Microsoft Visual Studio,
FTN95 Express or Plato 3 to create both .NET and Win32 applications.
Version 5.0 and above of FTN95 can be used to target different versions of the
.NET Framework. Microsoft Visual
Studio 2005, 2008 and 2010 are supported, along with FTN95 Express. With Microsoft Visual Studio 2005, 2008 and
FTN95 Express, assemblies targeting 2.0 of the .NET Framework can be
produced. When using Visual Studio 2010 assemblies targetting 2.0 or 4.0 can be produced.
Note that when using Visual Studio 2005, 2008 and FTN95
Express version 2.0 of the .NET Framework is targeted by default.
All versions of Visual Studio and FTN95 Express can be used to create Win32
executables and libraries.
This section focuses on how to create FTN95 applications for .NET using
Microsoft Visual Studio and FTN95 Express. For Win32 applications you must
change the mode as described in
Changing compiler options from Visual Studio.