[cfe-dev] clang 3.3

Dongsheng Song dongsheng.song at gmail.com
Tue Jun 18 06:27:59 PDT 2013


When I building clang use 'VS2012 x86 Native Tools Command Prompt':

SET PATH=C:\opt\cmake-2.8\bin;%PATH%
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release ..\llvm-3.3
nmake
cpack -G ZIP

I can got 'LLVM-3.3.1-win32.zip'

But when I building clang use'VS2012 x64 Cross Tools Command Prompt':

SET PATH=C:\opt\cmake-2.8\bin;%PATH%
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release ..\llvm-3.3
nmake VERBOSE=1

I got errors:

Microsoft (R) Program Maintenance Utility Version 11.00.60315.1
Copyright (C) Microsoft Corporation.  All rights reserved.

 C:\opt\cmake-2.8\bin\cmake.exe -HC:\var\building\clang-3.3\llvm-3.3
-BC:\var\building\clang-3.3\llvm-vs2012-x64 --check-build-system
CMakeFiles\Makefile.cmake 0
 C:\opt\cmake-2.8\bin\cmake.exe -E cmake_progress_start
C:\var\building\clang-3.3\llvm-vs2012-x64\CMakeFiles
C:\var\building\clang-3.3\llvm-vs2012-x64\CMakeFiles\progress.marks
 "C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe" -f
CMakeFiles\Makefile2 /nologo -                   all
 "C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe" -f
lib\Support\CMakeFiles\LLVMSupport.dir\build.make /nologo -L
   lib\Support\CMakeFiles\LLVMSupport.dir\depend
 C:\opt\cmake-2.8\bin\cmake.exe -E cmake_depends "NMake Makefiles"
C:\var\building\clang-3.3\llvm-3.3
C:\var\building\clang-3.3\llvm-3.3\lib\Support
C:\var\building\clang-3.3\llvm-vs2012-x64
C:\var\building\clang-3.3\llvm-vs2012-x64\lib\Support
C:\var\building\clang-3.3\llvm-vs2012-x64\lib\Support\CMakeFiles\LLVMSupport.dir\DependInfo.cmake
--color=
 "C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe" -f
lib\Support\CMakeFiles\LLVMSupport.dir\build.make /nologo -L
   lib\Support\CMakeFiles\LLVMSupport.dir\build
 C:\opt\cmake-2.8\bin\cmake.exe -E cmake_progress_report
C:\var\building\clang-3.3\llvm-vs2012-x64\CMakeFiles  63 64 65 66 67 68 69
[  7%] Built target LLVMSupport
"C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe" -f
lib\TableGen\CMakeFiles\LLVMTableGen.dir\build.make /nologo -L
     lib\TableGen\CMakeFiles\LLVMTableGen.dir\depend
 C:\opt\cmake-2.8\bin\cmake.exe -E cmake_depends "NMake Makefiles"
C:\var\building\clang-3.3\llvm-3.3
C:\var\building\clang-3.3\llvm-3.3\lib\TableGen
C:\var\building\clang-3.3\llvm-vs2012-x64
C:\var\building\clang-3.3\llvm-vs2012-x64\lib\TableGen
C:\var\building\clang-3.3\llvm-vs2012-x64\lib\TableGen\CMakeFiles\LLVMTableGen.dir\DependInfo.cmake
--color=
 "C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe" -f
lib\TableGen\CMakeFiles\LLVMTableGen.dir\build.make /nologo -L
     lib\TableGen\CMakeFiles\LLVMTableGen.dir\build
 C:\opt\cmake-2.8\bin\cmake.exe -E cmake_progress_report
C:\var\building\clang-3.3\llvm-vs2012-x64\CMakeFiles
[  7%] Built target LLVMTableGen
 "C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe" -f
utils\TableGen\CMakeFiles\llvm-tblgen.dir\build.make /nologo -L
     utils\TableGen\CMakeFiles\llvm-tblgen.dir\depend
 C:\opt\cmake-2.8\bin\cmake.exe -E cmake_depends "NMake Makefiles"
C:\var\building\clang-3.3\llvm-3.3
C:\var\building\clang-3.3\llvm-3.3\utils\TableGen
C:\var\building\clang-3.3\llvm-vs2012-x64
C:\var\building\clang-3.3\llvm-vs2012-x64\utils\TableGen
C:\var\building\clang-3.3\llvm-vs2012-x64\utils\TableGen\CMakeFiles\llvm-tblgen.dir\DependInfo.cmake
--color=
 "C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe" -f
utils\TableGen\CMakeFiles\llvm-tblgen.dir\build.make /nologo -L
     utils\TableGen\CMakeFiles\llvm-tblgen.dir\build
 C:\opt\cmake-2.8\bin\cmake.exe -E cmake_progress_report
C:\var\building\clang-3.3\llvm-vs2012-x64\CMakeFiles  96 97 98
[ 10%] Built target llvm-tblgen
"C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe" -f
include\llvm\IR\CMakeFiles\intrinsics_gen.dir\build.make /nologo -L
         include\llvm\IR\CMakeFiles\intrinsics_gen.dir\depend
 C:\opt\cmake-2.8\bin\cmake.exe -E cmake_depends "NMake Makefiles"
C:\var\building\clang-3.3\llvm-3.3
C:\var\building\clang-3.3\llvm-3.3\include\llvm\IR
C:\var\building\clang-3.3\llvm-vs2012-x64
C:\var\building\clang-3.3\llvm-vs2012-x64\include\llvm\IR
C:\var\building\clang-3.3\llvm-vs2012-x64\include\llvm\IR\CMakeFiles\intrinsics_gen.dir\DependInfo.cmake
--color=
 "C:\Program Files\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe" -f
include\llvm\IR\CMakeFiles\intrinsics_gen.dir\build.make /nologo -L
         include\llvm\IR\CMakeFiles\intrinsics_gen.dir\build
 C:\opt\cmake-2.8\bin\cmake.exe -E cmake_progress_report
C:\var\building\clang-3.3\llvm-vs2012-x64\CMakeFiles 93
[ 11%] Building Intrinsics.gen...
 cd C:\var\building\clang-3.3\llvm-vs2012-x64\include\llvm\IR
..\..\..\bin\llvm-tblgen.exe -gen-intrinsic -I
C:/var/building/clang-3.3/llvm-3.3/include/llvm/IR -I
C:/var/building/clang-3.3/llvm-3.3/lib/Target -I
C:/var/building/clang-3.3/llvm-3.3/include
C:/var/building/clang-3.3/llvm-3.3/include/llvm/IR/Intrinsics.td -o
C:/var/building/clang-3.3/llvm-vs2012-x64/include/llvm/IR/Intrinsics.gen.tmp
NMAKE : fatal error U1045: spawn failed : Invalid argument
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
11.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
11.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130618/9ea8297c/attachment.html>


More information about the cfe-dev mailing list