[LLVMdev] build on windows

Sampsa Lehtonen sampsa.lehtonen at iki.fi
Wed Jul 9 13:30:14 PDT 2008


Quang, you need to set Configure to Utility type. For some reason it 
gets messed up in the conversion process to VS2008. Go to Configure 
properties / General and put Utility in Configuration Type. It helped on me.

Also some h/cpp files might be dislocated, at least I needed to relocate 
AsmParser files...

Then it should work just fine except some projects recompile excessively 
for unknonwn reason if errors appear in other projects (like if you're 
messing around with Fibonacci sources...)

Hope this helps.

- Sampsa

> Hi Chuck,
>  thanks for your help, but it still does not work by me. I have an idea, can
> you send me the file "configure.lib" ? may be I can use it for other
> projects directly.
> 
>  Thanks
> Quang
> 
> -----Ursprüngliche Nachricht-----
> Von: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] Im
> Auftrag von Chuck Rose III
> Gesendet: Montag, 30. Juni 2008 22:09
> An: LLVM Developers Mailing List
> Betreff: Re: [LLVMdev] build on windows
> 
> So far, I'm building largely clean too.  I had to change which llvmAsmParser
> it was looking at since it needs to look at the generated file under the
> win32\AsmParser directory rather than ...\lib\AsmParser where no such file
> exists.  After that, it compiles clean on debug.  Working on release now and
> then I'll check that change in.
> 
> Quang, do you have flex and bison on your system and in your path?  I'm
> using the ones from getgnuwin32 for my system.
> 
> I'm building with VS2k5 sp1.
> 
> Thanks,
> Chuck.
> 
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On
> Behalf Of Jean-Daniel Dupas
> Sent: Monday, June 30, 2008 1:00 PM
> To: LLVM Developers Mailing List
> Subject: Re: [LLVMdev] build on windows
> 
> 
> Le 30 juin 08 à 21:28, Le Anh Quang a écrit :
> 
>> Hi,
>> I have tried to compile LLVM with Visual C++. Some subprojects work  
>> now.
>>
>> Other subprojects require the file "configure.lib". So I tried to  
>> compile
>> the project "Configure". It could be built successfully, but the file
>> "configure.lib" is not generated. So, what is the problem here ? Can
>> somebody help me to fix that ?
>>
>> Thanks and regards
>> Quang
> 
> 
> Which VC++ version ? The last time I tried to build it (one week ago),  
> I just got one error in the TableGen subproject with VS 2008.




More information about the llvm-dev mailing list