User forums > Help

... uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]

<< < (2/3) > >>

stahta01:

--- Quote from: newb22 on July 24, 2008, 04:25:20 am ---hey how do you find the complier binaries
thanks

--- End quote ---

Depends on which compiler you installed; Operating System also makes a difference.

Tim S

PS, The Physic has this century off.

aredhel_vlsi:
Hello I am a MAC OS X user  and I still have the problem. Where should I configurate the path, I have no local directory.

AdamHk90:
Hello I am also a mac user (OSX 10.58) that is having problems with the compiler settings in Codeblocks. This is my first time using Codeblocks on a mac and yes, I have installed Xcode v3.2. I have searched all the forums on the internet regarding setting up the correct toolchain path for the GNU GCC Compiler. However, I have been unsuccessful in compiling any of my code. I don't know where the correct compiler installation directory on my mac is, therefore, I have am not able to link to it. The auto-detect feature has not been able to detect the GNU GCC compiler.  However, I have linked all the bin files in the toolchain executables setting page correctly (I think).

I linked the bin files to the following directory: Developer/usr/bin

C compiler: gcc-4.0 (bin)
C++ compiler: g++-4.0 (bin)
Linker for dynamic libs: g++-4.0 (bin)
Linker for static libs: ar (bin)
Resource compiler: left blank
Make program: gnumake (bin)

I have used Codeblocks successfully on windows, but I would like to use Codeblocks on my mac. Any help would be much appreciated.

stahta01:
Try "/usr" instead of "/usr/bin" Under windows Code::Blocks adds the bin to the path.

Tim S.

AdamHk90:
I have attached a screen shot of my compiler settings that are still causing a compiling error. Any mac users of codeblocks dealt with this problem?

I have tried /usr and /Developer/usr both with no success.

[attachment deleted by admin]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version