Q? about Silverfrost (Salford) Fortran95 freeware compiler.

In summary, the Silverfrost Fortran95 compiler has a nag screen that states that you need to buy a licence if you want to use it for profit or research. The compiler can generate a stand-alone executable file, but you need to copy the "salflibc.dll" library file as well.
  • #1
uart
Science Advisor
2,795
21
Hi. Recently I wanted to take a look at Fortran so downloaded the Silverfrost (formerly known as Salford) Fortran95 compiler. See:

http://www.silverfrost.com/11/ftn95/overview.asp

BTW. It's freeware for evaluation purposes but if used for profit or research you have to buy a licence. It's also got a nag screen stating this much (and displayed for about 6 to 8 seconds before to any program that it makes will run.)

One thing I'm trying to do is to figure out if this compiler/linker is able to produce a stand-alone exe file, in other words one that has any library routines already embedded. My Delphi compiler for example does it like that, it makes a stand alone exe so that you can just copy the one file to any other Windows computer and it will run. This salford/silverfrost compiler however makes really small exe files but they won't run on another computer unless I also copy the runtime library salflibc.dll.

I was just wondering if anyone else uses this compiler and if they know of any linker options to make it generate a stand-alone executable.

Thanks.
 
Technology news on Phys.org
  • #2
I'll give this a bump.

Could I enquire about the Fortran compilers that other's are using. Is it usual for fortran to complile to an executable that requires the presence of a library dll file to run. What compilers can produce a stand-alone executable file?
 
  • #3
A few years ago, when they were Salford, I used their terrific evaluation fortran77 version and did not have your problem. Those executables are still used, standalone and called as runtime by a Java application, every day up to now in a 24/7 application for my work. However, I am sorry I did not use the evaluation fortran95 version because of the splash screen and other restrictions.
 
  • #4
Thanks for the info Chris, so their older versions of the compiler definitely could create a stand alone executable.

I thought this must be the case because in another recent thread here someone posted some Fortran90 code for a simple chess program and the author provided both the source and a stand alone executable. For comparison this stand-alone exe was about 500kB whereas the exe file that I got when I compiled it in FTN95 is only 28k. Unfortunately this 28kB file won't run on another computer unless I also copy a dll file "salflibc.dll" as well. It's not that this dll is so big, it's only 2MB, but I'd still really like to be able to make a single executable file. I am guessing that it's down to one of the following three possibilities but at the moment I'm not sure of which it is.

1. Their FTN95 compiler simply doesn't support the making of a stand alone executable.

2. The complier supports it but not the demo version. (though they don't state this anywhere as a limitation)

3. The compiler or linker supports it but I just haven't figured out the linker options to do it yet.

At the moment I still think it's case 3.
PS. Can I just clarify one point in case anyone has got the wrong idea. I am not concerned about the splash screen and plan on using the compiler within the guidelines for it's freeware usage. My desire to produce a stand-alone executable is not an attempt to remove the nag screen or otherwise "crack" the software in any way.
 
  • #5
uart

I think a better option is to use g95 http://www.g95.org" instead of Silverfrost. It will do what you want, is free and without restrictions.

Chris
 
Last edited by a moderator:
  • #6
Thanks Chris. I finally got around to downloading G95 and it works great. .Now I get a stand-alone exe file and I don't have to suffer a nag screen. Win win yeah!
 

Related to Q? about Silverfrost (Salford) Fortran95 freeware compiler.

1. What is Silverfrost (Salford) Fortran95 freeware compiler?

Silverfrost (Salford) Fortran95 freeware compiler is a software tool used for compiling and running Fortran programs. It is developed and distributed by Silverfrost Limited, a company that specializes in Fortran development tools.

2. Is Silverfrost (Salford) Fortran95 freeware compiler free to use?

Yes, Silverfrost (Salford) Fortran95 freeware compiler is completely free to use. It is available for download on their official website and can be used for both personal and commercial purposes.

3. Can Silverfrost (Salford) Fortran95 freeware compiler be used for modern operating systems?

Yes, Silverfrost (Salford) Fortran95 freeware compiler is compatible with modern operating systems such as Windows, Linux, and Mac OS. It also supports both 32-bit and 64-bit systems.

4. What are the main features of Silverfrost (Salford) Fortran95 freeware compiler?

Silverfrost (Salford) Fortran95 freeware compiler offers many features including an easy-to-use interface, advanced debugging capabilities, compatibility with other compilers, and support for both old and new Fortran standards.

5. How can I get support for Silverfrost (Salford) Fortran95 freeware compiler?

Silverfrost Limited offers support for their freeware compiler through their official website, where users can find documentation, tutorials, and a community forum for troubleshooting and discussions. They also offer paid support options for more complex issues.

Similar threads

  • Programming and Computer Science
Replies
1
Views
3K
  • Programming and Computer Science
Replies
4
Views
4K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
1
Views
7K
  • Engineering and Comp Sci Homework Help
Replies
0
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
7
Views
2K
  • MATLAB, Maple, Mathematica, LaTeX
Replies
7
Views
3K
Back
Top