[LLVMdev] Building llvm under cygwin

Anton Vayvod avayvod at gmail.com
Sun Jul 30 12:44:41 PDT 2006


Hi!

I'm trying to build LLVM under cygwin.
I have the latest version of cygwin and CVS versions of llvm, llvm-test and
llvm-gcc.
make of tools only succeeded.
make of frontend succeeded too
but full make of llvm failed on crtend in llvm/runtime/GCCLibraries with the
following message:

llvm[0]: Compiling crtend.c for Debug build (bytecode)
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `if
PATH="/llvmobj/Debug/bin:/bin:/llvmobj/Debug/bin:/bin:/
usr/local/bin:/usr/bin:/bin:"C:/Program Files/Microsoft DirectX SDK (June
2006)/
Utilities/Bin/x86":/usr/bin:/cygdrive/c/CB6/Bin:/cygdrive/c/CB6/Projects/Bpl:/cy
gdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:
/cygdrive/c/Program Files/Microsoft SDK/Bin/:/cygdrive/c/Program
Files/Microsoft
 SDK/Bin/WinNT/:/cygdrive/c/Program Files/Common Files/Autodesk
Shared/:/cygdriv
e/c/Program Files/backburner 2/:/cygdrive/c/Program Files/Microsoft SQL
Server/8
0/Tools/BINN:/cygdrive/c/Program Files/Microsoft SQL
Server/90/Tools/binn/:/cygd
rive/c/Program Files/Subversion/bin:/cygdrive/c/Program
Files/doxygen/bin:/cygdr
ive/c/Program Files/ionForge/ionForge Evolution:/cygdrive/c/Program
Files/CVSNT/
:/cygdrive/c/jdk1.5.0/ant/bin" /bin/llvm-gcc.exe-I/llvmobj/runtime/GCCLibraries
/crtend -I/llvm/runtime/GCCLibraries/crtend -I/llvmobj/include
-I/llvm/include -
I/llvmobj/include -I/llvm/include  -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -Wall
-W
-Wwrite-strings -Wno-unused -Wno-long-long -pedantic  -g -D_DEBUG  -MD -MT
/llvm
obj/runtime/GCCLibraries/crtend/Debug/crtend.ll -MP -MF
"/llvmobj/runtime/GCCLib
raries/crtend/Debug/crtend.BCCd" \'
make: *** [/llvmobj/runtime/GCCLibraries/crtend/Debug/crtend.ll] Error 2

What should I do to finish building llvm?

Thanks.

Tony.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060730/7fdbc962/attachment.html>


More information about the llvm-dev mailing list