[LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?

Chris Lattner sabre at nondot.org
Wed Feb 13 09:44:47 PST 2008


On Wed, 13 Feb 2008, Chuck Rose III wrote:
> 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

I think that llvmc and llvm-upgrade still use flex.  Neither of those are 
really interesting on windows and both are slated to be removed for 2.3.

It would be nice to get help upgrading all the .ll files in llvm/test. 
Once that happens, we can nuke llvm-upgrade from mainline.

-Chris

> 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
>

-Chris

-- 
http://nondot.org/sabre/
http://llvm.org/



More information about the llvm-dev mailing list