Adding compiler to code::blocks
Go to the Settings menu and hit Compiler and Debugger:
Go to Copy, and name the new compiler GCC 4.6 or whatever you'd like. Go to the Toolchain Executables tab, and fill in the directory name. I think all of the .exe's should be named the same thing. Make sure and copy paste your linker settings from one to the other. Now that compiler title will appear in all of the dialog boxes. I'm not entirely sure how to move the new one up the list so it's the default.
精彩评论