📅 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:
Go to Project > Properties > C/C++ Build > Settings > Tool Settings.
In this dialog, to change the C++ compiler, change the entry in Cross G++ Compiler > Command.
In this dialog, to change the C compiler, change the entry in Cross GCC Compiler > Command.
In this dialog, to change the C++ linker, change the entry in Cross G++ Linker > Command. This is typically the same as the C++ compiler command.
In this dialog, to change the assembler, change the entry in Cross GCC Assembler > Command.
Click Apply and OK. Build your code and you will see that the new tools are used.
Tried with: Eclipse 3.7.2