Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » redirect main build console output to a file
redirect main build console output to a file [message #225590] Tue, 21 October 2008 07:23 Go to next message
L. G. Zhou is currently offline L. G. ZhouFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,

has anyone any idea, how to redirect CDT main managed-build console output
to a file?
I have tried to redirect it using "make -k &> build.log" under "C/C++
Build" -> "Build Settings"; but every time I resume a build, "&>
build.log" is cleared automatically.

Many thanks in advance,
Zhou
Re: redirect main build console output to a file [message #225600 is a reply to message #225590] Tue, 21 October 2008 08:20 Go to previous messageGo to next message
Jake Boeckerman is currently offline Jake BoeckermanFriend
Messages: 1
Registered: July 2009
Junior Member
Try
make -k &>> build.log
to append to the file, rather than overwriting it.
Re: redirect main build console output to a file [message #225608 is a reply to message #225600] Tue, 21 October 2008 08:40 Go to previous message
L. G. Zhou is currently offline L. G. ZhouFriend
Messages: 4
Registered: July 2009
Junior Member
Hi Jake,

thank your very much for your answer.

the issue is the redirection command "&>> build.log" is cleared
automatically when build begins either with "automatic build" or with
"clean build". As a result, the redirection is totally ignored/removed.

any idea for this problem?

regards,
Zhou
Previous Topic:CDT MBS tutorial - stuck at section 6.11
Next Topic:Extending ...core.buildDefinitions for multiple tools
Goto Forum:
  


Current Time: Fri Apr 26 17:18:32 GMT 2024

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

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

Back to the top