I want to start working with C++11, but right now I can't seem to find much in the way of IDE's that have the new standard. I would like to compile g++ 4.6.2 from http://gcc.gnu.org, but the instructions are a bit beyond my expertise level. If someone is willing to assist me in compiling, or if anybody has any suggestions for an IDE that I can use that has the ability to use the -std=c++0x switch properly, I would appreciate it.
I have Code::Blocks, but it doesn't seem to support that functionality...unless I'm missing something? In any case, Code::Blocks doesn't have a compiler, I would still need to have someone help me to install g++ 4.6.x.
Simple answer is that Code::Blocks doesn't compile anything. It interfaces with the compiler that your system may or may not have already installed, which is g++ 4.5.x.
I'm using Linux Mint Debian 11.04.
I made an attempt at making the compiler, but I think I messed something up. When I use gcc --version it says that my C compiler is 4.6.2, but with g++ --version, it's 4.5.x (I'm on another computer atm, don't have the exact version). When I attempt to force it to use the install of 4.6.2 that I have, it's missing files.
Simple answer is that Code::Blocks doesn't compile anything.
Yes, clearly, that's my point. It interfaces with the compiler you tell it to from the selection. If you tell it to use a compiler that supports C++11, it'll do so.
I've never used Mint, but I understand it's an Ubuntu derivative, and there are lots of people on the web who've written about building gcc 4.6 for Ubuntu 11.04 (and may even have it in a handy PPA).
If you are going to compile gcc why not pick gcc 4.7 that has better support for C++11? I don't remember exactly how to compile gcc but there is some configure script you have to use. You will probably have to install some libraries that is needed but let the configure script tell you what is missing and install that. Compiling gcc can take hours just so that you know.
@Moschops: (Like) This is the sort of comprehensive instructions that I haven't been able to find so far. Thank you so much for pointing me in the right direction!