User forums > Help
Code Blocks using wrong compiler [Linux]
killerbot:
check in the overal compiler options of CB if it found gcc, maybe the path is not correct !!
Toolchain executables : check path and programs
example of my system :
path : /usr/bin
c compiler : gcc
c++ compiler : g++
....
Taedrin:
That did it.
Code blocks was looking in /usr/lib/bin
but gcc/g++ was in /usr/lib/ccache.
Added /usr/lib/ccache to additional directories, and compiles like a charm. Thank you for your time and help in this.
Jenna:
--- Quote from: Taedrin on March 05, 2008, 08:45:34 pm ---That did it.
Code blocks was looking in /usr/lib/bin
but gcc/g++ was in /usr/lib/ccache.
Added /usr/lib/ccache to additional directories, and compiles like a charm. Thank you for your time and help in this.
--- End quote ---
Nice to hear.
By the way is that the Fedora standard path for gnu compiler suite ?
madopal:
I've got F8 installed, and I had the same problem. However, my gcc/g++ are in the more standard path of /usr/bin. It was looking in /usr/lib for me as well.
Rather unusual place to look for executables.
Trent:
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.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version