Silverfrost Forums

Welcome to our forums

ftn95 on 64 bit machines

16 Oct 2009 10:30 #5189

I have an old version of f95 (2.52) which works OK on Windows 2000. Up till now the executable programs work OK on Windows XP and Vista machines. Howevere I encountered a fatal error when using the executable cod on a Winows Vista 64 bit machine. All of the features seemed to work except that at one point I got a fatal error:

'Floating Point Coprocessor fault'

I have not folowed through the diagnostics yet (the actual fault was flagged in code that I had not written).

My questions are these:

If I but a new version of f95 compiler can I use it on both 32 and 64 bit machines? (not at the same time of course because that would invalidate the license?)

If I use the the compiler on a 32 bit machine will a binary work on a 64 bit machine?

If I do the compilations on a 64 bit machinewill the binary executable work on a 32 bit machine?

If the answer to these last two questions is NO this is not a problem, since I can always distribute ytwo versions of the executables

Final question. Can I generate complete binaries? That is can I generate distributable code that is entirely self contained, and does not require ant DLL's to be included in adistribution?

Peter Bladon

16 Oct 2009 1:54 #5193

I wonder if you mean ftn95 rather than f95.

If you are using ftn95 then you can download the current free personal edition and try that. There is a good chance that it will work OK.

The error report could relate to a function call with the wrong return type, i.e, the function return type has not been declared.

16 Oct 2009 3:34 #5195

Peter,

When the 64bit OS is XP then the answers are as follows (I would not expect 64bit Vista to be different) :-

If I but a new version of f95 compiler can I use it on both 32 and 64 bit machines?

  • Yes

If I use the the compiler on a 32 bit machine will a binary work on a 64 bit machine?

  • Yes

If I do the compilations on a 64 bit machinewill the binary executable work on a 32 bit machine?

  • Yes

regards, John

Please login to reply.