User forums > Using Code::Blocks

Set LLVM compiller

(1/3) > >>

mariusm:
I want to use on old OSX with llvm-gcc compiler. I had success with Gcc compiler in this OSX but not llvm.

Do not see llvm-gcc executable on the list compilers.

How to set this compiler?

Commaster:
https://forums.codeblocks.org/index.php/topic,9996.0.html

Code::Blocks is not a compiler. You have to install llvm-gcc (I assume you mean clang) yourself first.

mariusm:
I don't say Code::Blocks it's a compiler  ;D

Already have installed the compiler and works with xCode but not with Code::Blocks  :'(

In the compiler list I see only clang++ for "LLVM Clang Compiler" CB entry which is not executable for llvm-gcc

Commaster:
Those are just preset values, you are free to change the executable names (and paths)  ;)

mariusm:
I understand but I don't know how.

I found the executable for the C++ compiler but I can not find the executable for the linker (very important) also not for the C compiler.

I search on the llvm-gcc documentation but cannot find this informations.

Navigation

[0] Message Index

[#] Next page

Go to full version