View previous topic :: View next topic |
Author |
Message |
GEWV
Joined: 25 Nov 2013 Posts: 19
|
Posted: Mon Mar 03, 2014 10:50 am Post subject: Use another gFortran |
|
|
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? |
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7930 Location: Salford, UK
|
Posted: Mon Mar 03, 2014 2:57 pm Post subject: |
|
|
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? |
|
Back to top |
|
|
GEWV
Joined: 25 Nov 2013 Posts: 19
|
Posted: Tue Mar 04, 2014 9:07 am Post subject: |
|
|
The command that produces this error is:
Code: | 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
Code: | 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 |
|
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7930 Location: Salford, UK
|
Posted: Tue Mar 04, 2014 9:35 am Post subject: |
|
|
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. |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2826 Location: South Pole, Antarctica
|
Posted: Wed Mar 05, 2014 10:36 am Post subject: |
|
|
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.
Last edited by DanRRight on Thu Mar 06, 2014 12:07 am; edited 3 times in total |
|
Back to top |
|
|
LitusSaxonicum
Joined: 23 Aug 2005 Posts: 2388 Location: Yateley, Hants, UK
|
Posted: Wed Mar 05, 2014 11:15 am Post subject: |
|
|
What does the graphic mean, Dan?
Eddie |
|
Back to top |
|
|
DanRRight
Joined: 10 Mar 2008 Posts: 2826 Location: South Pole, Antarctica
|
Posted: Wed Mar 05, 2014 11:55 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
GEWV
Joined: 25 Nov 2013 Posts: 19
|
Posted: Thu Mar 06, 2014 8:44 am Post subject: Re: |
|
|
PaulLaidler wrote: | 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. |
|
Back to top |
|
|
|