Author Topic: Change g++ compiler version  (Read 11544 times)

Offline stimon

  • Single posting newcomer
  • *
  • Posts: 2
Change g++ compiler version
« on: April 21, 2010, 04:10:48 pm »
Hi everyone,

I've searched about this topic, but haven't found anything, so excuse me if this question is already answered.
I'm developing robot apps with ARIA library in Linux and I'd like to write,compile and debug my code under codeblocks. ARIA depends on libstd++5, which needs g++-3.3 version to compile. Of course there's no problem whith console, but I don't know how to change or specify this compiler under codeblocks.
Thanks in advance.

Santi.

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Change g++ compiler version
« Reply #1 on: April 21, 2010, 04:26:02 pm »
Go to "Settings -> Compiler and debugger ..." and make a copy of the "GNU GCC Compiler".
Rename it to something you like, and fix the binaries in the "Toolchain executables"-tab of the new compiler.
If needed, you can also fix the compiler and linker searchpath's for this compiler if needed.

From now on you should be able to use the new compiler for your projects.

Offline stimon

  • Single posting newcomer
  • *
  • Posts: 2
Re: Change g++ compiler version
« Reply #2 on: April 21, 2010, 05:14:35 pm »
Thanks jens!

After configuring the compiler I had to deal with the libraries xD but thanks to another answer of yours I finally made it work!

Cheers