From: John M. <ato...@gm...> - 2009-12-05 05:18:00
|
I had a pain free build using Visual Studio C++ 2008 express edition and CMake on Windows XP. C:\_projects_\build_llvm>cmake -G "Visual Studio 9 2008" -DLLVM_TARGETS_TO_BUILD="AVR" -DCMAKE_BUILD_TYPE=Debug -DLLVM_BUILD_TOOLS=ON -DLLVM_BUILD_EXAMPLES=OFF -DLLVM_ENABLE_THREADS=OFF ..\llvm ~~~~~ C:\_projects_\build_llvm\bin\Debug>llc.exe --version Low Level Virtual Machine (http://llvm.org/): llvm version 2.7svn DEBUG build with assertions. Built Dec 4 2009 (20:35:54). Host: i686-pc-win32 Host CPU: (unknown) Registered Targets: avr - AVR [experimental] C:\_projects_\build_llvm\bin\Debug>llc.exe -O0 -filetype=asm -mcpu=atmega128 reti8.ll -o - .file "reti8.ll" .text .align 16 .globl func .type func,@function func: # BB#0: ldi r24, #1 mov r24, r24 ret .size func, .-func |