<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">If you're building llvm-gcc4, you don't need the runtime libraries, so<br>I'd just stick with the "tools-only" build and declare success.  If
<br>you're building llvm-gcc3, I'd suggest you switch to llvm-gcc4 :)</blockquote>
<div> </div>
<div>I switched to llvm-gcc4 but when I run make from obj folder i run into folowing errors:</div>
<div> </div>
<div>Can't find a library with no dependencies at /llvm/obj/Debug/bin/llvm-config lin<br>e 420, <DATA> line 30.<br>../../src/gcc/gcc.c: In function `process_command':<br>../../src/gcc/gcc.c:3499: warning: assignment discards qualifiers from pointer t
<br>arget type<br>../../src/gcc/gcc.c:3504: warning: assignment from incompatible pointer type<br>../../src/gcc/gcc.c: In function `main':<br>../../src/gcc/gcc.c:6357: warning: 'value' might be used uninitialized in this f
<br>unction<br>/bin/sh: -c: line 0: syntax error near unexpected token `;'<br>/bin/sh: -c: line 0: `if  ; then \'<br>make[1]: *** [xlimits.h] Error 2<br>make: *** [all-gcc] Error 2</div>
<div> </div>
<div>and there is the output of standart stream:</div>
<div> </div>
<div>make[1]: Entering directory `/llvm-gcc/obj/libiberty'<br>make[2]: Entering directory `/llvm-gcc/obj/libiberty/testsuite'<br>make[2]: Nothing to be done for `all'.<br>make[2]: Leaving directory `/llvm-gcc/obj/libiberty/testsuite'
<br>make[1]: Leaving directory `/llvm-gcc/obj/libiberty'<br>make[1]: Entering directory `/llvm-gcc/obj/fixincludes'<br>make[1]: Nothing to be done for `all'.<br>make[1]: Leaving directory `/llvm-gcc/obj/fixincludes'<br>make[1]: Entering directory `/llvm-gcc/obj/intl'
<br>rm -f stamp-h1<br>/bin/sh ./config.status config.h<br>config.status: creating config.h<br>config.status: config.h is unchanged<br>test -f config.h || (rm -f stamp-h1 && make stamp-h1)<br>make[1]: Leaving directory `/llvm-gcc/obj/intl'
<br>make[1]: Entering directory `/llvm-gcc/obj/build-i686-pc-cygwin/libiberty'<br>make[2]: Entering directory `/llvm-gcc/obj/build-i686-pc-cygwin/libiberty/testsuite'<br>make[2]: Nothing to be done for `all'.<br>make[2]: Leaving directory `/llvm-gcc/obj/build-i686-pc-cygwin/libiberty/testsuite'
<br>make[1]: Leaving directory `/llvm-gcc/obj/build-i686-pc-cygwin/libiberty'<br>make[1]: Entering directory `/llvm-gcc/obj/build-i686-pc-cygwin/fixincludes'<br>make[1]: Nothing to be done for `all'.<br>make[1]: Leaving directory `/llvm-gcc/obj/build-i686-pc-cygwin/fixincludes'
<br>make[1]: Entering directory `/llvm-gcc/obj/libcpp'<br>test -f config.h || (rm -f stamp-h1 && make stamp-h1)<br>test -d po || mkdir po<br>: --statistics -o po/be.gmo ../../src/libcpp/po/be.po<br>test -d po || mkdir po
<br>: --statistics -o po/ca.gmo ../../src/libcpp/po/ca.po<br>test -d po || mkdir po<br>: --statistics -o po/da.gmo ../../src/libcpp/po/da.po<br>test -d po || mkdir po<br>: --statistics -o po/de.gmo ../../src/libcpp/po/de.po
<br>test -d po || mkdir po<br>: --statistics -o po/el.gmo ../../src/libcpp/po/el.po<br>test -d po || mkdir po<br>: --statistics -o po/es.gmo ../../src/libcpp/po/es.po<br>test -d po || mkdir po<br>: --statistics -o po/fr.gmo ../../src/libcpp/po/fr.po
<br>test -d po || mkdir po<br>: --statistics -o po/ja.gmo ../../src/libcpp/po/ja.po<br>test -d po || mkdir po<br>: --statistics -o po/nl.gmo ../../src/libcpp/po/nl.po<br>test -d po || mkdir po<br>: --statistics -o po/rw.gmo ../../src/libcpp/po/rw.po
<br>test -d po || mkdir po<br>: --statistics -o po/sv.gmo ../../src/libcpp/po/sv.po<br>test -d po || mkdir po<br>: --statistics -o po/tr.gmo ../../src/libcpp/po/tr.po<br>test -d po || mkdir po<br>: --statistics -o po/vi.gmo ../../src/libcpp/po/vi.po
<br>make[1]: Leaving directory `/llvm-gcc/obj/libcpp'<br>make[1]: Entering directory `/llvm-gcc/obj/gcc'<br>test -d po || mkdir po<br>: --statistics -o po/be.gmo ../../src/gcc/po/be.po<br>test -d po || mkdir po<br>: --statistics -o po/ca.gmo ../../src/gcc/po/ca.po
<br>test -d po || mkdir po<br>: --statistics -o po/da.gmo ../../src/gcc/po/da.po<br>test -d po || mkdir po<br>: --statistics -o po/de.gmo ../../src/gcc/po/de.po<br>test -d po || mkdir po<br>: --statistics -o po/el.gmo ../../src/gcc/po/el.po
<br>test -d po || mkdir po<br>: --statistics -o po/es.gmo ../../src/gcc/po/es.po<br>test -d po || mkdir po<br>: --statistics -o po/fr.gmo ../../src/gcc/po/fr.po<br>test -d po || mkdir po<br>: --statistics -o po/ja.gmo ../../src/gcc/po/ja.po
<br>test -d po || mkdir po<br>: --statistics -o po/nl.gmo ../../src/gcc/po/nl.po<br>test -d po || mkdir po<br>: --statistics -o po/rw.gmo ../../src/gcc/po/rw.po<br>test -d po || mkdir po<br>: --statistics -o po/sv.gmo ../../src/gcc/po/sv.po
<br>test -d po || mkdir po<br>: --statistics -o po/tr.gmo ../../src/gcc/po/tr.po<br>test -d po || mkdir po<br>: --statistics -o po/zh_CN.gmo ../../src/gcc/po/zh_CN.po<br>gcc   -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -fno-common   -DHAVE_CONFIG_H -DENABLE_LLVM -D__STDC_LIMIT_MACROS   -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I./../intl -I../../src/gcc/../libcpp/include  -I/llvm/include -I/llvm/obj/include  \
<br> -DTARGET_MACHINE=\"i686-pc-cygwin\" \<br> -c ../../src/gcc/collect2.c -o collect2.o<br>gcc -c   -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -fno-common   -DHAVE_CONFIG_H -DENABLE_LLVM -D__STDC_LIMIT_MACROS   -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I./../intl -I../../src/gcc/../libcpp/include  -I/llvm/include -I/llvm/obj/include ../../src/gcc/tlink.c -o 
tlink.o<br># APPLE LOCAL LLVM<br>c++   -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -fno-common   -DHAVE_CONFIG_H  -o Tcollect2.exe \<br>  collect2.o tlink.o 
intl.o version.o ../libcpp/libcpp.a ./../intl/libintl.a -liconv  ../libiberty/libiberty.a <br>mv -f Tcollect2.exe collect2.exe<br>if test yes = yes \<br>    || test -n ""; then \<br>   /bin/sh ../../src/gcc/genmultilib \
<br>     "" \<br>     "" \<br>     "" \<br>     "" \<br>     "" \<br>     "" \<br>     "" \<br>     "yes" \<br>     > tmp-mlib.h; \<br> else \
<br>   /bin/sh ../../src/gcc/genmultilib '' '' '' '' '' '' '' no \<br>     > tmp-mlib.h; \<br> fi<br>/bin/sh ../../src/gcc/../move-if-change tmp-mlib.h multilib.h<br>echo timestamp > s-mlib<br>lsf="../../src/gcc/cp/lang-
specs.h"; for f in $lsf; do \<br>     echo "#include \"$f\""; \<br> done | sed 's|../../src/gcc/||' > tmp-specs.h<br>/bin/sh ../../src/gcc/../move-if-change tmp-specs.h specs.h<br>echo timestamp > s-specs
<br>(SHLIB_LINK='' \<br> SHLIB_MULTILIB=''; \<br> gcc   -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -fno-common -Wno-error  -DHAVE_CONFIG_H -DENABLE_LLVM -D__STDC_LIMIT_MACROS   -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I./../intl -I../../src/gcc/../libcpp/include  -I/llvm/include -I/llvm/obj/include \
<br>  -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/llvm-gcc/../install//lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/llvm-gcc/../install//libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"
4.0.1\" -DDEFAULT_TARGET_MACHINE=\"i686-pc-cygwin\" -DSTANDARD_BINDIR_PREFIX=\"/llvm-gcc/../install//bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\"  `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
<br>  -c ../../src/gcc/gcc.c -o gcc.o)<br>(SHLIB_LINK='' \<br> SHLIB_MULTILIB=''; \<br> gcc   -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -fno-common   -DHAVE_CONFIG_H -DENABLE_LLVM -D__STDC_LIMIT_MACROS   -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I./../intl -I../../src/gcc/../libcpp/include  -I/llvm/include -I/llvm/obj/include \
<br>  -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/llvm-gcc/../install//lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/llvm-gcc/../install//libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"
4.0.1\" -DDEFAULT_TARGET_MACHINE=\"i686-pc-cygwin\" -DSTANDARD_BINDIR_PREFIX=\"/llvm-gcc/../install//bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\"  `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
<br>  -c ../../src/gcc/gccspec.c -o gccspec.o)<br>gcc -c   -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -fno-common   -DHAVE_CONFIG_H -DENABLE_LLVM -D__STDC_LIMIT_MACROS   -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I./../intl -I../../src/gcc/../libcpp/include  -I/llvm/include -I/llvm/obj/include \
<br> ../../src/gcc/config/i386/cygwin1.c<br># APPLE LOCAL LLVM<br>c++   -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -fno-common   -DHAVE_CONFIG_H  -o xgcc.exe
 gcc.o gccspec.o intl.o \<br>   prefix.o version.o cygwin1.o ../libcpp/libcpp.a ./../intl/libintl.a -liconv  ../libiberty/libiberty.a<br>gcc -c   -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -fno-common   -DHAVE_CONFIG_H -DENABLE_LLVM -D__STDC_LIMIT_MACROS   -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I./../intl -I../../src/gcc/../libcpp/include  -I/llvm/include -I/llvm/obj/include ../../src/gcc/cppspec.c -o 
cppspec.o<br># APPLE LOCAL LLVM<br>c++   -g -O2  -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -fno-common   -DHAVE_CONFIG_H  -o cpp.exe gcc.o cppspec.o intl.o \<br>   
prefix.o version.o cygwin1.o ../libcpp/libcpp.a ./../intl/libintl.a -liconv  ../libiberty/libiberty.a<br>/llvm-gcc/obj/gcc/xgcc -B/llvm-gcc/obj/gcc/ -B/llvm-gcc/../install//i686-pc-cygwin/bin/ -B/llvm-gcc/../install//i686-pc-cygwin/lib/ -isystem /llvm-gcc/../install//i686-pc-cygwin/include -isystem /llvm-gcc/../install//i686-pc-cygwin/sys-include -dumpspecs > tmp-specs
<br>mv tmp-specs specs<br>if  ; then \<br>   cat ../../src/gcc/limitx.h ../../src/gcc/glimits.h ../../src/gcc/limity.h > tmp-xlimits.h; \<br> else \<br>   cat ../../src/gcc/glimits.h > tmp-xlimits.h; \<br> fi<br>make[1]: Leaving directory `/llvm-gcc/obj/gcc'
<br> </div>
<div>I though it was ld error, first, and reinstalled it to clean 2.17 instead of cygwn experimental version. but that didn't help.</div>
<div><br> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">However, the problem appears to be your PATH variable. In your path you<br>have the following directory: C:/Program Files/Microsoft DirectX SDK
<br>(June 2006)/Utilities/Bin/x86. The bash shell doesn't like this because<br>( and ) are operators that invoke a sub-shell. You can do one of two<br>things: either remove this directory from your path (its probably not<br>
needed), or enclose it in single quotes.<br><br>Reid.</blockquote>
<div> </div>
<div>Yeah, thas moved me a little far until another error appeared and I switched to llvm-gcc4.</div>
<div> </div>
<div>Thanks for any help.</div><br>