Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » how to display list of commands run by 'Build All' and save output to a file?(Any build log / list of commands run by make ?)
how to display list of commands run by 'Build All' and save output to a file? [message #1744206] Fri, 23 September 2016 11:16 Go to next message
Jason Vas Dias is currently offline Jason Vas DiasFriend
Messages: 6
Registered: September 2016
Junior Member
How to display & create a log file of all commands issued by Eclipse CDT when
"Project->Build All" is selected ?
Re: how to display list of commands run by 'Build All' and save output to a file? [message #1744211 is a reply to message #1744206] Fri, 23 September 2016 11:39 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
Ir's displayed in the Build Console.
It's location is specified in Project --> C/C++ Build --> Logging

If you just want a list of commands then execute the makefile with -n in a shell and send the output to a file of your choice.
Note: there is no specific list. It's generated on the fly by make.

https://www.gnu.org/software/make/manual/html_node/Options-Summary.html

You can achieve the same effect by modifying the make command in the build settings.
The output will be saved to the build log.

If you are using the internal builder (a make emulator) then you are stuck.

Why would you want this anyway?
It's won't automatically respond to changes and requires manual intervention after every change in module configuration.




[Updated on: Fri, 23 September 2016 13:02]

Report message to a moderator

Previous Topic:CDT C/C++ Debugger: any way to evaluate expression without adding watchpoint?
Next Topic:debugger GUI equivalent to GDB 's' (step into) command ?
Goto Forum:
  


Current Time: Thu Apr 18 01:19:40 GMT 2024

Powered by FUDForum. Page generated in 0.02145 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top