I am working on a port of LLVM targeting a proprietary VM. Thus far development has been under Linux and Cygwin. Cygwin licensing would appear to require that LLVM built under Cygwin would have to be released under the GPL, so alternatives are being investigated. Using MS Visual Studio and following the instructions at http://llvm.org/docs/GettingStartedVS.html (Getting Started with the LLVM System using Microsoft Visual Studio Overview) has not been successful.>From the instructions:With anonymous Subversion access: cd where-you-want-llvm-to-live svn co http://llvm.org/svn/llvm-project/llvm-top/trunk llvm-top make checkout MODULE=llvm cd llvm ... Simply double click on the solution file llvm/win32/llvm.sln. Questions: 1. "make" and "svn" are not Windows commands. In what environment are these commands supposed to be used? 2. What is this "make checkout MODULE=llvm" about? After checking out the sources the directory will be empty apart from the llvm-top subdirectory, so where is the Makefile for this? 3. If you obtain the sources under Cygwin and build in Visual Studio, absolutely nothing works: many files are missing. This is hardly surprising because there has been no configure step. Any suggestions greatly appreciated. -- Regards, Richard Smith.
Richard Smith wrote:> I am working on a port of LLVM targeting a proprietary VM. Thus far > development has been under Linux and Cygwin. Cygwin licensing would appear > to require that LLVM built under Cygwin would have to be released under the > GPL, so alternatives are being investigated. > > Using MS Visual Studio and following the instructions at > http://llvm.org/docs/GettingStartedVS.html (Getting Started with the LLVM > System using Microsoft Visual Studio Overview) has not been successful.Have you tried MinGW? Coming from a *nix background, I find MinGW far easier to use than the microsoft tools. Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "A Microsoft employee talking about open source is a lot like a virgin talking about sex. They know it's out there and seems to be popular but until they try it for themselves they will never properly understand the attraction." -- Geoff Lane on Linux Today
This is another possible way forward. Like you, I am more familiar with a Posix environment - but there are those I work with who would prefer the Visual Studio solution if it were possible. -- Regards, Richard -----Original Message----- From: Erik de Castro Lopo [mailto:mle+cl at mega-nerd.com] Sent: 20 September 2007 21:53 To: LLVM Developers Mailing List Cc: Richard Smith Subject: Re: [LLVMdev] Building with Microsoft Visual Studio Richard Smith wrote:> I am working on a port of LLVM targeting a proprietary VM. Thus far > development has been under Linux and Cygwin. Cygwin licensing would appear > to require that LLVM built under Cygwin would have to be released underthe> GPL, so alternatives are being investigated. > > Using MS Visual Studio and following the instructions at > http://llvm.org/docs/GettingStartedVS.html (Getting Started with the LLVM > System using Microsoft Visual Studio Overview) has not been successful.Have you tried MinGW? Coming from a *nix background, I find MinGW far easier to use than the microsoft tools. Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "A Microsoft employee talking about open source is a lot like a virgin talking about sex. They know it's out there and seems to be popular but until they try it for themselves they will never properly understand the attraction." -- Geoff Lane on Linux Today
Hola Richard, I think I'm the primary person using / maintaining the VStudio build. Every so often I checkout and make sure things are still building, but do occasionally get behind if a lot of new files are getting added to the LLVM svn tree. What isn't working for you? I'll try and clarify the steps in the doc or fix the build issue. Please note that a lot of the tools and tests aren't built by the VStudio files. Nor does it integrate the front end stuff. Mostly it's for generating LLVM structures and execution via JIT or interpreter. Thanks, Chuck. -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Richard Smith Sent: Thursday, September 20, 2007 12:53 PM To: LLVM Developers Mailing List Subject: [LLVMdev] Building with Microsoft Visual Studio I am working on a port of LLVM targeting a proprietary VM. Thus far development has been under Linux and Cygwin. Cygwin licensing would appear to require that LLVM built under Cygwin would have to be released under the GPL, so alternatives are being investigated. Using MS Visual Studio and following the instructions at http://llvm.org/docs/GettingStartedVS.html (Getting Started with the LLVM System using Microsoft Visual Studio Overview) has not been successful.>From the instructions:With anonymous Subversion access: cd where-you-want-llvm-to-live svn co http://llvm.org/svn/llvm-project/llvm-top/trunk llvm-top make checkout MODULE=llvm cd llvm ... Simply double click on the solution file llvm/win32/llvm.sln. Questions: 1. "make" and "svn" are not Windows commands. In what environment are these commands supposed to be used? 2. What is this "make checkout MODULE=llvm" about? After checking out the sources the directory will be empty apart from the llvm-top subdirectory, so where is the Makefile for this? 3. If you obtain the sources under Cygwin and build in Visual Studio, absolutely nothing works: many files are missing. This is hardly surprising because there has been no configure step. Any suggestions greatly appreciated. -- Regards, Richard Smith. _______________________________________________ LLVM Developers mailing list LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Maybe Matching Threads
- [LLVMdev] Building with Microsoft Visual Studio
- [LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?
- [LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?
- [LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?
- [LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?