Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to change compiler in Eclipse CDT

📅 2014-Jan-14 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ assembler, compiler, eclipse cdt, linker ⬩ 📚 Archive

Eclipse CDT uses gcc, g++ and as as the C compiler, C++ compiler (and linker) and assembler by default. Sometimes, you may want to use a different version or different type of compiler, linker or assembler to build your code. Changing this in Eclipse CDT for your project is easy:

Click Apply and OK. Build your code and you will see that the new tools are used.

Tried with: Eclipse 3.7.2

© 2022 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘📧