When I built my program, this showed up. Sorry if this has been asked a million times. My compiler is GNU GCC or something of that sort. If I download it, how would I configure it to compile my code?
If you are on windows, I suggest to use TDM's MinGW (
http://tdragon.net/recentgcc/), because it has a good installer and even a beginner should be able to get a working compiler.
Install the compiler and start C::B.
Go to "Settings -> Compiler and debugger -> Global compiler settings -> GNU GCC compiler -> Toolchain executables" and try to autodetect the compilers masterpath. If that does not work (depends on the installation path), set it manually.
It's the path to the compilers installation-root, the folder that contains
bin,
include and so on (not the
bin-folder itself).
You might have to fix the executables names below.
Ther is normally no need to touch any of the tabs before the toolchain-tab.
If you run into trouble while compiling or linking, you might want to turn on full commandline logging on the "Other settings" tab, to see which commands are really sent to the compiler.