Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse IDE for C/C++ Developers Compile Question

I am using Eclipse IDE for C/C++ Developers, and i am using the gcc to compile at the moment. How can i change it to compile with a Green Hills compiler? Any help will be appreciated. Thanks!

like image 606
user361403 Avatar asked Dec 01 '25 04:12

user361403


1 Answers

I am not specifically familiar with the Green Hills compilers, however what you need is to switch to a different tool chain. This can be done in the project properties, under C/C++ build >> Tool Chain Editor.

Check out your package for some sort of Green Hills tool-chain for eclipse CDT. If you find one, check out their documentation and/or CDT's for more help (sorry I can't help you here).

Also, you can create a 'makefile' project, which allows you full control over every aspect of your project build (including the compiler selection). It might be possible to convert an existing CDT project to a custom makefile project, but I wouldn't count on it. You can check out the makefiles that were generated by CDT for your current project, and modify them to use a different compilation command manually.

Hope this points you in the right direction...

like image 97
scooz Avatar answered Dec 02 '25 19:12

scooz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!