I downloaded and installed Eclipse C/C++ IDE. I tried to create a C/C++ project. It asks me to select a Cross GCC Compiler. I haven't installed a Compiler. I want to know where I can get Cross GCC Compiler and is it free?
Ken Jackson Messages: 3 Registered: September 2009
Junior Member
You didn't say what operating system your development computer (the "host") is running or what processor you want to generate code for (the "target").
If your host is running Fedora Linux and you want to compile for the ARM, AVR and Blackfin processors, you can install cross compilers with these commands and similarly for other processors. (Other Linux distros use different installation commands.)
If your host is running Windows, gnutoolchains.com seems to have some cross compilers for download, though I've never tried those. ronetix.at/software.html and www.modularcircuits.com/blog/projects/development-tools/gcc-for-arm-avr-and-blackfin also seem to have some.
(Sorry I can't make clickable links. That's the forum's weakness.)
Thanks for replying Ken. I am using Windows 7 Ultimate 32-bit OS. I have installed MinGW and Eclipse C/C++ IDE. My C code compiles and runs without problem but my C++ code doesn't show the o/p. I tried a simple C++ Hellow World Project which compiled succesfully but I was not able to see any Hello World message in console of Eclipse IDE. I tried several C++ programs it only compiles but running doesn't show any o/p.