Is codeblocks an ANSI compiler compatible with gcc/g++/gpp (the GNU C/C++ Compilers)?

Recommended Answers

All 6 Replies

You can select gcc/g++ to be your compiler for Code::blocks, yes.

@ niek_e

Can you please tell me how do I do that?

1. Install the Gnu Compiler Collection.
2. Create a new project and select GNU GCC compiler as your compiler

Hi...when I started Code::Blocks, I got a window that said that it detected GNU GCC compiler. Logic says that I already have it installed what I'm looking for.

So, is that correct?

PS:- Sorry for showering you with such stupid questions.

Logic says that I already have it installed what I'm looking for.

Logic appears to be right :)

Is codeblocks an ANSI compiler compatible with gcc/g++/gpp (the GNU C/C++ Compilers)?

CodeBlocks isnt a comiler itself. Its an IDE which (optionally) comes bundled with MinGW (a windows port of the GNU g++ compiler). G++ itself is ANSI compliant.

There is nothing stopping you from using Code::Blocks with another compiler etc... though - e.g you could use it with the MS c++ one from the Platform SDK.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.