Seung Jae Lee
2008-Feb-13 05:52 UTC
[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
Chuck Rose III
2008-Feb-13 16:52 UTC
[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 Studio2005?>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 onVS2005>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
Chris Lattner
2008-Feb-13 17:44 UTC
[LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?
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 getgnuwin32I 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/
Ted Neward
2008-Feb-13 21:45 UTC
[LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?
I have flex and bison from Cygwin installed: $ flex --version flex version 2.5.4 $ bison --version bison (GNU Bison) 2.3 Written by Robert Corbett and Richard Stallman. Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 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
Ted Neward
2008-Feb-18 07:40 UTC
[LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?
By the way, somebody (I think it was Chuck, but I don't remember for certain) was asking for the BuildLog.htm from building the llvm.sln file under VS 2005 SP1 for diagnostic purposes; right now the SLN is configured to produce a new BuildLog for each and every one of the projects inside the solution. I don't know who's responsible for this guy, but that's probably not the best way to do this. Chuck (assuming it was you), would it not be easier for me to capture the full results of an "msbuild llvm.sln" from the console for you? 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.7/1284 - Release Date: 2/17/2008 2:39 PM
Maybe Matching Threads
- [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?
- [LLVMdev] Is there someone tried LLVM 2.1 on Visual Studio 2005?