News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

GNU C++

Started by Jhearon, April 10, 2011, 08:24:31 PM

Previous topic - Next topic

Jhearon

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++?


killerbot

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.

Jenna

gcc is the abbreviation for gnu compiler collection !