News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Change g++ compiler version

Started by stimon, April 21, 2010, 04:10:48 PM

Previous topic - Next topic

stimon

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.

Jenna

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.

stimon

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