[LLVMdev] how to compile mingw-llvm-gcc in windows

Dueky acebluebird at naver.com
Mon Dec 17 16:54:55 PST 2007


Hello, llvm-dev.
thank you for your interest in my question.
Currently, I compiled simple c source code (hello.c) in lunux and windows, and I tried to simple test .
 first case: hello.bc (compiled with "-emit-llvm" on windows) -> lli.exe(linux).
 second case: hello.bc (compiled with "-emit-llvm" on linux) -> lli.exe(windows).
second case return good result.
but First case return error.
I want to modify and compile mingw-llvm-gcc by myself for such reasons.
Also I read several sentence about "how to cross-compilation form linux", and Try it.
However, I could not succeed.
please, I would like to let me know "how to compile to the mingw-llvm-gcc" or further informations.
best regard.
 
 
-----Original Message-----
From: "Anton Korobeynikov"<asl at math.spbu.ru> 
To: "Dueky"<acebluebird at naver.com>; "LLVM Developers Mailing List"<llvmdev at cs.uiuc.edu>
Cc: 
Sent: 07-12-17(월) 16:25:56
Subject: Re: [LLVMdev] how to compile mingw-llvm-gcc in windows
Hello, Dueky
> But I could not make a success of compile to the "mingw-llvm-gcc in
> windows".
> I saw binary file "mingw-llvm-gcc for windows" , but I couldn't find
> the "how to compile to the mingw-llvm-gcc in windows".
In general, compilation of llvm-gcc for mingw is the same as compilation
of llvm-gcc for any other platform. However, there are bunch of small
glitches here and there due to some windows-specific stuff, etc.
I strongly don't recommend to build llvm-gcc by yourself - use
precompiled binary. Each mingw llvm-gcc version I'm building for the
release goes through some tests ensuring, that everything is ok with it.
However, I'm happy to answer any specific questions about mingw llvm-gcc
compilation. I tried several times "to compile" all available small bits
in some more or less full documentation, but it seems, it cannot cover
even small amount of problems which can be usually seen during such
compilation.
PS: Another variant can be cross-compilation from linux box.
-- 
With best regards, Anton Korobeynikov.
Faculty of Mathematics & Mechanics, Saint Petersburg State University.
 
 
|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20071218/9704e4ec/attachment.html>


More information about the llvm-dev mailing list