[LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?
Aaron Gray
angray at beeb.net
Thu Feb 14 13:34:57 PST 2008
>I have flex and bison from Cygwin installed:
WinGNU32 Flex and Bison are the ones to use with LLVM and Visual Studio.
http://gnuwin32.sourceforge.net/
The LLVM Visual Studio .sln file is for Visual Studio 2003 so will require
conversion and some minor modification.
Aaron
> Should that work, assuming they're on the PATH? When I ran the build from
> inside VS, I get some build failures, but nothing that implies that it was
> looking for flex/bison to execute directly--are you supposed to run these
> prior to launching the build?
>
> The docs on "Getting Started with Visual Studio" seem a tad bit out of
> date,
> but I'm certainly not enough beyond n00b status to know for sure.
>
> 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 Chuck Rose III
>> Sent: Wednesday, February 13, 2008 8:52 AM
>> To: LLVM Developers Mailing List
>> Subject: Re: [LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio
>> 2005?
>>
>> I have always built it with flex and bison installed, though I believe
>> Chris removed our last dependence on flex a little while back, so you
>> may not need that. I'm using bison 2.1 which I got from the
>> getgnuwin32
>> folks. I imagine that if you have cygwin or the like, you probably
>> already have everything.
>>
>> You will need to have the executables in your path.
>>
>> I build with VisualStudio 2k5 Professional with VStudio SP1 installed.
>> I typically work on Vista32 or Vista64, but have compiled on XP as
>> well.
>>
>>
>> I don't know how up to date the LLVM docs related to Visual Studio
>> compilation are.
>>
>> Thanks,
>> Chuck.
>>
>>
>> -----Original Message-----
>> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
>> On Behalf Of Seung Jae Lee
>> Sent: Tuesday, February 12, 2008 9:52 PM
>> To: llvmdev at cs.uiuc.edu
>> Subject: Re: [LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio
>> 2005?
>>
>> Thanks for your comment.
>> I also tried for LLVM 2.2 but got the same compilation errors on
>> VS2005.
>> (I didn't modify anything before the compilation)
>>
>> I just wonder if I need bison and flex even just in the case of
>> compiling them on VS2005 without changing anything because the LLVM doc
>> says "If you plan to modify any .y or .l files, you will need to have
>> bison and/or flex installed where Visual Studio can find them.
>> Otherwise, you do not need them and the pre-generated files that come
>> with the source tree will be used."
>>
>> One of errors of mine is as follows:
>> -------------------------------------------------------
>> ...
>> 7>llvmAsmParser.cpp
>> 7>c1xx : fatal error C1083: Cannot open source file:
>> '.\llvmAsmParser.cpp': No such file or directory
>> ...
>> -------------------------------------------------------
>> where llvmAsmParser.cpp is related to Bison so I am compelled to feel
>> to
>> try installing flex/bison on my machine, anyway.
>>
>> Forgive my ignorance, could you briefly tell me about that?
>> Thank you in advance.
>>
>> Seung
>>
>> ---- Original message ----
>> >Date: Tue, 12 Feb 2008 18:20:59 -0800
>> >From: "Chuck Rose III" <cfr at adobe.com>
>> >Subject: Re: [LLVMdev] Is there someone tried LLVM 2.1 on Visual
>> Studio
>> 2005?
>> >To: "LLVM Developers Mailing List" <llvmdev at cs.uiuc.edu>
>> >
>> >Hola Seung,
>> >
>> >I don't know if 2.1 in particular worked. I updated the 2.2 win32
>> >vstudio 2k5 files right before lockdown, so they should be building.
>> >You will need appropriate versions of flex and bison installed. I
>> used
>> >the ones from getgnuwin32 on my machine.
>> >
>> >Good luck.
>> >
>> >Chuck.
>> >
>> >-----Original Message-----
>> >From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
>> >On Behalf Of Seung Jae Lee
>> >Sent: Monday, February 11, 2008 10:05 PM
>> >To: llvmdev at cs.uiuc.edu
>> >Subject: [LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio
>> >2005?
>> >
>> >Hello all,
>> >
>> >Is there anyone has tried LLVM 2.1 on Visual Studio 2005?
>> >I did but not succeed due to some build errors.
>> >I seem to remember I read somewhere on this list it's compiled on
>> VS2005
>> >so I wonder...
>> >Have a good night.
>> >
>> >Thx,
>> >Seung
>> >_______________________________________________
>> >LLVM Developers mailing list
>> >LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> >http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>> >
>> >_______________________________________________
>> >LLVM Developers mailing list
>> >LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> >http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>> _______________________________________________
>> 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.516 / Virus Database: 269.20.4/1276 - Release Date:
>> 2/13/2008 9:41 AM
>>
>
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.516 / Virus Database: 269.20.4/1276 - Release Date: 2/13/2008
> 9:41 AM
>
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list