News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Code Blocks using wrong compiler [Linux]

Started by Taedrin, March 05, 2008, 07:28:47 PM

Previous topic - Next topic

Jenna

Quote from: Trent on March 09, 2008, 01:49:45 AM
I am having the same problem, i just intsalled code blocks on windows xp and i cant get it to compile.
I am looking in toolchain executables but i am not sure wat to do.

Which version of C::B?

If 8.02 the MinGW-compiler is integrated in installer and should be found at first run of C::B, if you do not install it (MinGW) in a very strange folder.

The textbox "Compilers Installation directory" contains the base-directory of MinGW compiler suite (e.g. "c:\MinGW").
The textareas in "Program Files" should contain the names of the executables  ("gcc.exe" as c-compiler "g++.exe" as c++-compiler and linker for dynamic libs and so on).

Trent

It is version 8.02 and in the program files for c compiler its has mingw32-gcc.exe and for c++ is has mingw32-g++.exe

Trent

I followed what you guys told taedron to do and the same things happened to me as what he said accept for when you guys went into toolchain executables i got lost

Trent

When i go to creat a new project i go Console Application and i choose C++ for the language and i choose
GNU GCC Compiler.   That is wat i have been doing at the school computer but it was using linux. Does that change now that i am using windows?

Jenna

Can you please do what I wrote here and then post the output of your build log ?

moromete

just add this directory in Toolchain executables Additional Paths
/usr/lib/ccache



[attachment deleted by admin]