Anton Korobeynikov
2007-Dec-17 07:25 UTC
[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.
Anton-- I had some problems just getting a binary of mingw to run on my Windows box, so perhaps, if you're willing, a step-by-step "download this, install it here, download this other, install it here, download this optional piece if you want X and install it here, now compile hello.cc and look at what you've got" kind of installation guide would be helpful. (I got lost between a couple of the referenced links off of the llvmdev page, and couldn't ever quite figure out what I needed and in what order. I think I got what I needed, but....) Ted Neward Java, .NET, XML Services Consulting, Teaching, Speaking, Writing http://www.tedneward.com> -----Original Message----- > From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] > On Behalf Of Anton Korobeynikov > Sent: Sunday, December 16, 2007 11:26 PM > To: Dueky; LLVM Developers Mailing List > 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. > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.503 / Virus Database: 269.17.2/1185 - Release Date: > 12/15/2007 12:00 PM >No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.503 / Virus Database: 269.17.2/1185 - Release Date: 12/15/2007 12:00 PM
Hi, such a guide would indeed be useful. From the mingw/msys website it is not trivial to choose the appropriate version of them - the download page is a bit confusing and triggered the oh-my-god-which-version-to- choose mode for me ;) Thus some simple instructions (choose version X etc.) would definitely make building on windows without MSVC much more painless. (And it would also help to include llvm-config in the binary package) Jan R