Redirect Compiler Output to create a log file

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User8720
Level 1
Level 1
First like given 5 replies posted Welcome!
Hello,

sadly I am not able to redirect the output of the gcc compiler to a file.

I am successfull to redirect Assembler and Linker output with commands like "${ARM_GCC_HOME}/bin/arm-none-eabi-gcc" 2> ${BuildArtifactFileBaseName}_Assembler_log.txt -v in Project properties -> C/C++ Build -> Settings -> Tool Settings.

Can anyone help me.
I would like it to improve documentation.

Greetings
0 Likes
2 Replies
Not applicable
HI,

Currently the output of the build is logged in the workspace folder.C:\Workspaces\DAVE-4.2\WS_2016_04_28\.metadata\.plugins\org.eclipse.cdt.ui.
You can change the project log file location from:
Project -> Project properties -> C/C++ Build -> Logging.

Regards,
Daryl
0 Likes
User8720
Level 1
Level 1
First like given 5 replies posted Welcome!
I think this change is not saved in project rather then in .metadata. So when I export my project this setting will be lost.
This is a bit annoying when working with several users in a SVN environment.
0 Likes