forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Use another gFortran

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+
View previous topic :: View next topic  
Author Message
GEWV



Joined: 25 Nov 2013
Posts: 19

PostPosted: Mon Mar 03, 2014 10:50 am    Post subject: Use another gFortran Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Mon Mar 03, 2014 2:57 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
GEWV



Joined: 25 Nov 2013
Posts: 19

PostPosted: Tue Mar 04, 2014 9:07 am    Post subject: Reply with quote

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
View user's profile Send private message
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7916
Location: Salford, UK

PostPosted: Tue Mar 04, 2014 9:35 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
DanRRight



Joined: 10 Mar 2008
Posts: 2813
Location: South Pole, Antarctica

PostPosted: Wed Mar 05, 2014 10:36 am    Post subject: Reply with quote

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
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Wed Mar 05, 2014 11:15 am    Post subject: Reply with quote

What does the graphic mean, Dan?

Eddie
Back to top
View user's profile Send private message
DanRRight



Joined: 10 Mar 2008
Posts: 2813
Location: South Pole, Antarctica

PostPosted: Wed Mar 05, 2014 11:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
GEWV



Joined: 25 Nov 2013
Posts: 19

PostPosted: Thu Mar 06, 2014 8:44 am    Post subject: Re: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> ClearWin+ All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group