Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Jhearon on April 10, 2011, 08:24:31 pm
-
Hi,
I recently started using Code::Blocks IDE 10.05 on Fedora 14.
I'm confused about Settings/compiler and debugger,
where the Global compiler settings, Selected compiler drop down selection
shows the list of compilers.
I see the GNU GCC Compiler but no GNU G++ listed.
On F14 I have the GCC-C++ package installed and GCC and G++ .exe
are located in /usr/bin.
For new .cpp projects, the xml .cbp shows <Option compiler="gcc" />
How do I have CB use G++?
-
gcc => gcc + g++
where : gcc for c code, g++ for c++ code.
So in CB , just select Gcc compiler. Normally everything should be ok from by default.
-
gcc (http://gcc.gnu.org/) is the abbreviation for gnu compiler collection !