soccer jersey forums.silverfrost.com :: View topic - Additional output from compiler
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 

Additional output from compiler

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Suggestions
View previous topic :: View next topic  
Author Message
wahorger



Joined: 13 Oct 2014
Posts: 1227
Location: Morrison, CO, USA

PostPosted: Wed Jan 25, 2017 12:37 am    Post subject: Additional output from compiler Reply with quote

During the compilation of the 300+ files that make up my project, having the name of the file being compiled would be helpful. It's no problem when there is an error as the MAKE will quit, and the file name shows up in that case anyway. But when there are warnings, it can be difficult to track down which file contains the problem. If there are no errors, I really don't care about the name of the file all that much.

Or is there a compiler option that I am missing?

Thanks,
Bill
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Wed Jan 25, 2017 9:03 am    Post subject: Reply with quote

There is currently no option that I can think of.
I guess that you could get your makefile to echo the file name before compiling each file.
Let me know how you get on. It might be a simple matter to add a new command line option.
Back to top
View user's profile Send private message AIM Address
wahorger



Joined: 13 Oct 2014
Posts: 1227
Location: Morrison, CO, USA

PostPosted: Wed Jan 25, 2017 11:17 pm    Post subject: Reply with quote

I was hoping to avoid changing the makefile, but, alas, it will be done!

Thanks, Paul.
Back to top
View user's profile Send private message Visit poster's website
JohnCampbell



Joined: 16 Feb 2006
Posts: 2593
Location: Sydney

PostPosted: Thu Jan 26, 2017 2:09 am    Post subject: Reply with quote

Paul,

An option that echoes the command line would be a help.

This could then be extended to echo all compiler options that have been selected, both in ftn95.cfg and the command line. This would exclude echoing compiler options that have not been selected and remain default.

This output would help when reading redirected compiler output, such as > ftn95.tce and also identify when some compiler options have been taken from ftn95.cfg files in the path. This can identify unexpected problems that I do get from time to time, especially when returning to projects that I am not actively working on.

ftn95 ... /echo could be a good

John
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Thu Jan 26, 2017 8:14 am    Post subject: Reply with quote

John

I will add it to the wish-list.

In the meantime, as you will probably know, /list provides an output file that includes a list of the command line options currently in place.
Back to top
View user's profile Send private message AIM Address
DanRRight



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

PostPosted: Fri Mar 24, 2017 1:20 pm    Post subject: Reply with quote

Yes, adding /echo_options will tell you useful info when you compile and redirect warnings to file

>FTN95 filename.f95 /blah /bla2 /blah224557 /sdffgjjkjjh /echo_options >warnings
Back to top
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2593
Location: Sydney

PostPosted: Sat Mar 25, 2017 2:08 am    Post subject: Reply with quote

When a rebuild involves 100's of files an indication of where you are can help a lot.
Having an option to echo the file name and compilation options would help for any redirection log. I typically use .bat files for rebuild and having this information in the log file would be very useful.
It would also be good if this, plus the summary report of each routine could be optionally included in the PLATO output window, if it did not conflict with the linkage of error messages to the source file.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Tue Apr 11, 2017 9:04 am    Post subject: Reply with quote

A new option /ECHO_OPTIONS has been added for the next release of FTN95.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Suggestions 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