<div>Hi!</div>
<div> </div>
<div>I'm trying to build LLVM under cygwin.</div>
<div>I have the latest version of cygwin and CVS versions of llvm, llvm-test and llvm-gcc.</div>
<div>make of tools only succeeded.</div>
<div>make of frontend succeeded too</div>
<div>but full make of llvm failed on crtend in llvm/runtime/GCCLibraries with the following message:</div>
<div> </div>
<div>llvm[0]: Compiling crtend.c for Debug build (bytecode)<br>/bin/sh: -c: line 0: syntax error near unexpected token `('<br>/bin/sh: -c: line 0: `if PATH="/llvmobj/Debug/bin:/bin:/llvmobj/Debug/bin:/bin:/<br>usr/local/bin:/usr/bin:/bin:"C:/Program Files/Microsoft DirectX SDK (June 2006)/
<br>Utilities/Bin/x86":/usr/bin:/cygdrive/c/CB6/Bin:/cygdrive/c/CB6/Projects/Bpl:/cy<br>gdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:<br>/cygdrive/c/Program Files/Microsoft SDK/Bin/:/cygdrive/c/Program Files/Microsoft
<br> SDK/Bin/WinNT/:/cygdrive/c/Program Files/Common Files/Autodesk Shared/:/cygdriv<br>e/c/Program Files/backburner 2/:/cygdrive/c/Program Files/Microsoft SQL Server/8<br>0/Tools/BINN:/cygdrive/c/Program Files/Microsoft SQL Server/90/Tools/binn/:/cygd
<br>rive/c/Program Files/Subversion/bin:/cygdrive/c/Program Files/doxygen/bin:/cygdr<br>ive/c/Program Files/ionForge/ionForge Evolution:/cygdrive/c/Program Files/CVSNT/<br>:/cygdrive/c/jdk1.5.0/ant/bin" /bin/llvm-gcc.exe
-I/llvmobj/runtime/GCCLibraries<br>/crtend -I/llvm/runtime/GCCLibraries/crtend -I/llvmobj/include -I/llvm/include -<br>I/llvmobj/include -I/llvm/include -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -Wall -W<br>-Wwrite-strings -Wno-unused -Wno-long-long -pedantic -g -D_DEBUG -MD -MT /llvm
<br>obj/runtime/GCCLibraries/crtend/Debug/crtend.ll -MP -MF "/llvmobj/runtime/GCCLib<br>raries/crtend/Debug/crtend.BCCd" \'<br>make: *** [/llvmobj/runtime/GCCLibraries/crtend/Debug/crtend.ll] Error 2<br clear="all">
<br>What should I do to finish building llvm?</div>
<div> </div>
<div>Thanks.</div>
<div> </div>
<div>Tony.</div>