X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FProjects.html;h=5de4b58670ea7a5b76739b627595bb8463570056;hb=4ad4b3af4227fc578a295bd77e4d3da1aab85e04;hp=a82890b267a7c5b9d426f009b19bca380b73d0f7;hpb=7a4b96d0ba778e25d96ba8ab6676219f1ff42558;p=oota-llvm.git diff --git a/docs/Projects.html b/docs/Projects.html index a82890b267a..5de4b58670e 100644 --- a/docs/Projects.html +++ b/docs/Projects.html @@ -188,6 +188,40 @@ code for executables. For each program that you build, you will have one directory in tools that will contain that program's source code. +

+ +

test +
+ This subdirectory should contain tests that verify that your code + works correctly. Automated tests are especially useful. +

+ Currently, the LLVM build system provides little support for tests, + although some exists. Expanded support for tests will hopefully + occur in the future. In the meantime, the LLVM system does provide the + following: +

Typically, you will want to build your lib directory first @@ -275,6 +309,21 @@ For example, to link libsample.a, you would set USEDLIBS to sample.

+ Note that this works only for statically linked libraries. +

+ +

LIBS +
+ To link dynamic libraries, add -l<library base name> to + the LIBS variable. The LLVM build system will look in the same places + for dynamic libraries as it does for static libraries. +

+ For example, to link libsample.so, you would have the + following line in your Makefile: +

+ + LIBS+=-lsample +

Miscellaneous Variables

@@ -333,6 +382,6 @@ href="mailto:llvmdev.cs.uiuc.edu">llvmdev@cs.uiuc.edu).
-Written by the LLVM Team. +Written by John Criswell.