Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

LLVM/Clang compiler for MinGW

<< < (6/7) > >>

Jenna:
I can compile C::B with clang (except for thre contrib-plugins, LibFinder, Profiler and NassiShneiderman) without any tweaking or self-compiling of clang on Fedora 18.
And it seems to run (at least it starts without issues.
C::B from inside C::B.
Compiler is detected as gcc 4.1.2 on starthere-page.

Alpha:
If you do not have a particular reason to self-compile Clang, installing it through apt-get works fine.


--- Quote from: jens on May 05, 2013, 04:23:49 pm ---I can compile C::B with clang (except for thre contrib-plugins, LibFinder, Profiler and NassiShneiderman) without any tweaking or self-compiling of clang on Fedora 18.
And it seems to run (at least it starts without issues.
C::B from inside C::B.

--- End quote ---
Also works in Ubuntu 12.04 and 13.04.

eranif:

--- Quote ---If you do not have a particular reason to self-compile Clang, installing it through apt-get works fine
--- End quote ---
I think that the problem here is not compiling clang (from what I understand killerbot we are beyond it)
We are trying to make clang to use a different std++ library named "libc++" which on linux also requires libc++abi
both needs to be self compiled (libc++abi build instructions are only available for OSX and not for Linux not to mention Windows...)

Eran

killerbot:
all paths are in :


--- Code: ---find /usr/local -name clang++
/usr/local/bin/clang++

--- End code ---


--- Code: ---grep 'usr/local' /etc/ld.so.conf
/usr/local/lib64
/usr/local/lib

--- End code ---

so why does it not find the .so's

osdt:

--- Quote from: killerbot on May 06, 2013, 08:00:32 pm ---
--- Code: ---grep 'usr/local' /etc/ld.so.conf
/usr/local/lib64
/usr/local/lib

--- End code ---

so why does it not find the .so's

--- End quote ---

Hmm ... did you run ldconfig after installation of libc++ successfully? Try ...

--- Code: ---# run ldconfig
sudo /sbin/ldconfig
# check if libc++ has been found
sudo /sbin/ldconfig -p | grep 'libc++'

--- End code ---

- osdt

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version