Author Topic: GNU C++  (Read 5394 times)

Jhearon

  • Guest
GNU C++
« 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++?


Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: GNU C++
« Reply #1 on: April 10, 2011, 08:25:59 pm »
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.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: GNU C++
« Reply #2 on: April 10, 2011, 08:31:32 pm »
gcc is the abbreviation for gnu compiler collection !