From f96eb57a4bb9ceca22fa9609cc6eca8f74fa565e Mon Sep 17 00:00:00 2001
From: Reid Spencer
-When I use the test suite, all of the C Backend tests fail. What is -wrong? -
--If you build LLVM and the C Backend tests fail in llvm/test/Programs, -then chances are good that the directory pointed to by the LLVM_LIB_SEARCH_PATH -environment variable does not contain the libcrtend.a library. -
- --To fix it, verify that LLVM_LIB_SEARCH_PATH points to the correct directory -and that libcrtend.a is inside. For pre-built LLVM GCC front ends, this -should be the absolute path to -cfrontend/<platform>/llvm-gcc/lib. If you've -built your own LLVM GCC front end, then ensure that you've built and installed -the libraries in llvm/runtime and have LLVM_LIB_SEARCH_PATH pointing -to the $LLVMGCCDIR/lib subdirectory. -
-After CVS update, rebuilding gives the error "No rule to make target".
-In order to find libcrtend.a, you must have the directory in which it lives in -your LLVM_LIB_SEARCH_PATH environment variable. For the binary distribution of -the LLVM GCC front end, this will be the full path of the lib -directory inside of the LLVM GCC distribution. -
+The only way this can happen is if you haven't installed the runtime library. To +correct this, do: ++ % cd llvm/runtime + % make clean ; make install-bytecode +