Hello !
I have buy a DEVKIT-MPC5748G board. and use S32DS IDE to develop. I get some examples from nxp.com, It request to use diab or ghs compiler, but the default compiler of S32DS is GCC.
I want to know What the difference between diab,ghs and gcc compiler!
Best wish!
Thanks
Hi,
briefly - gcc is open source and free compiler. Diab and GHS are proprietary compilers and paid.
technical difference is that GHS, Diab and gcc uses different linker file structure and there are incompatibilities in pragma directives. You can modify WindRiver or GreenHills project to be able compile with gcc. Or you can install Windriver plugin into S32DS: HOWTO: Install Wind River compiler Eclipse plug-in into S32 Design Studio
More detail about differences you can find on GHS, WindRiver and GNU gcc web pages pages.
Diab Compiler Product Overview
Green Hills Optimizing Compilers
GCC, the GNU Compiler Collection- GNU Project - Free Software Foundation (FSF)
Jiri
Thank you so much! I understand a little bit, I am trying to modify the code to use gcc compiler!