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

LLVM/Clang compiler for MinGW

<< < (3/7) > >>

eranif:
Building on Linux is quite straight forward:

http://codelite.org/Developers/HomePage#toc2

Once you have completed the above steps - just run

--- Code: ---sudo make install
--- End code ---

To build their libc++ (this is what I am using to build it on my linux box):


--- Code: ---svn co http://llvm.org/svn/llvm-project/libcxx/trunk libcxx
cd libcxx
mkdir build-release
cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ..
make -j8
sudo make install

--- End code ---

You can get more details here:
http://libcxx.llvm.org/

Eran

MortenMacFly:

--- Quote from: eranif on May 03, 2013, 06:01:14 am ---For C++: Its not usable.

--- End quote ---
So: Am I getting it right that I am still lost on Windows? :-(

eranif:
Yes you are ;)

Maybe building clang with Visual Studio will help - but you mentioned that you wanted a MinGW version...


Eran


MortenMacFly:

--- Quote from: eranif on May 03, 2013, 10:16:04 am ---Maybe building clang with Visual Studio will help - but you mentioned that you wanted a MinGW version...
--- End quote ---
Yes, that's explicitely what I am looking for. The VS version I use works flawlessly. I am using the one from here:
http://www.ishani.org/web/articles/code/clang-win32/

BTW:

--- Quote from: vali29 on May 01, 2013, 10:47:22 am ---i686-w64-mingw32-clang-3.1-release-win32_rubenvb.7z with i686-w64-mingw32-gcc-dw2-4.6.3-2-release-win32_rubenvb.7z
Create a dir LLVM and copy in that dir.

--- End quote ---
...does not work, too. I can compile a simple main doing nothing, but as soon as you start to use C++ it fails miserably as all others.

Nevermind... seems there is no prime time yet... But thanks anyways...

Alpha:

--- Quote from: MortenMacFly on May 03, 2013, 10:29:55 am ---...does not work, too. I can compile a simple main doing nothing, but as soon as you start to use C++ it fails miserably as all others.

--- End quote ---
Some time ago, I built it with MinGW and got C++ to work.  There are some hard-coded search paths for STL headers that I had to modify first (sorry, I cannot recall which file they were in).

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version