Eclipse CDT Output
How to configure Eclipse CDT output?
- When creating a new project go to File->New->C++ Project
- Under Toolchains in this window please select MinGW GCC. Then proceed to Name your project and select an empty or Hello world project and click Finish.
- Go to Project->Properties->C\C++ Build (On the lefthand side of the window)\Settings
- In the middle of this window towards the bottom you will see MinGW C++ Linker, click the Miscellaneous option.
- On the right hand side of the window towards the top you will see a text field names Linker Flags.
- Here please type “-static-libgcc “ make some spaces and then in the same textbox type “-static-libstdc++ “ then click the Apply button.
- Add some classes to your project and then compile them using “CTRL+B” or by navigating to Project and “Build all”.
- Your program should be able to run and compile now given that you do not have syntactical or logical errors.