Silverfrost Forums

Welcome to our forums

Use another gFortran

3 Mar 2014 9:50 #13777

I use another gFortran (GNU 4.8.1) so I rebuild the .mod-files (as described in the help c:\MinGW\bin\gfortran.exe clearwin64f.f95 -c -fdollar-ok -fno-range-check) and add this new mod-files to the include-folder. This is o.K.

But then I want to build the .exe-file I get an error: clearwin64.dll file not recognizes: File format not recognized

How can I solve this problem?

3 Mar 2014 1:57 #13778

This will be a gFortran error message so this Forum may not be the best place to ask. What is the command that produces this error report?

4 Mar 2014 8:07 #13779

The command that produces this error is:

c:\\MinGW\\bin\\gfortran.exe 'Test.f95' -cpp -fno-underscoring -fdollar-ok -L./ -fintrinsic-modules-path C:\\BIN\\FTN95\\include\\gFortran\\ -o'Test.exe' C:\\BIN\\FTN95\\CLEARWin64.DLL C:\\BIN\\FTN95\\CLEARWin64f.DLL 

But if I use the original mod-files with Gnu-Compiler from Silverfrost I don't get the error

c:\\GNU\\gFortran\\bin\\x86_64-w64-mingw32-gfortran.exe 'Test.f95' -cpp -fno-underscoring -fdollar-ok -L./ -fintrinsic-modules-path C:\\BIN\\FTN95\\include\\gFortran\\ -o'Test.exe' C:\\BIN\\FTN95\\clearwin64.dll C:\\BIN\\FTN95\\clearwin64f.dll 
4 Mar 2014 8:35 #13781

The first thing I would check is that the new version of the gFortran compiler is a 64 bit compiler. Looks like it could be a 32 bit compiler.

5 Mar 2014 9:36 (Edited: 5 Mar 2014 11:07) #13782

gfortran is the most primitive, slow, literally worst Fortran compiler i have ever dealt with. It misses so many errors that you will never end up with the properly working code, if it's large enough, without FTN95 help to catch the errors. How it became 64bit but FTN95 still did not is beyond the absurd.

5 Mar 2014 10:15 #13783

What does the graphic mean, Dan?

Eddie

5 Mar 2014 10:55 #13789

Oops...Forgot to delete. I was checking why some other forum similar to this one powered by phpBB I was posting on did not show pictures

6 Mar 2014 7:44 #13792

Quoted from PaulLaidler The first thing I would check is that the new version of the gFortran compiler is a 64 bit compiler. Looks like it could be a 32 bit compiler.

Thanks, that was the solution to my problem.

Please login to reply.