Fortran Q? about Silverfrost (Salford) Fortran95 freeware compiler.

AI Thread Summary
The discussion revolves around the Silverfrost Fortran95 compiler, which is available for free evaluation but requires a license for commercial use. Users noted that while the compiler produces small executable files, these files depend on the runtime library salflibc.dll to run on other computers, unlike some other compilers that can generate stand-alone executables. Participants shared their experiences with the compiler, indicating that older versions could produce stand-alone executables without additional dependencies. There was speculation about whether the current version lacks this capability, if it is a limitation of the demo version, or if the user simply needed to adjust linker options. Ultimately, a user recommended switching to the G95 compiler, which successfully produced a stand-alone executable without any nag screens or restrictions, highlighting its advantages over Silverfrost.
uart
Science Advisor
Messages
2,797
Reaction score
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
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?
 
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.
 
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.
 
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:
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!
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...

Similar threads

Replies
1
Views
3K
Back
Top