Update readme

llvm-svn: 7859
This commit is contained in:
Chris Lattner 2003-08-15 02:31:23 +00:00
parent 2a6b89bec5
commit d750ca9595
1 changed files with 4 additions and 25 deletions

View File

@ -1,25 +1,4 @@
Date: Wed, 6 Nov 2002 14:05:32 -0600 (CST)
From: Chris Lattner <sabre@nondot.org>
To: LLVMdev List <llvmdev@cs.uiuc.edu>
Subject: What is test/Libraries?
Hey everyone,
There has recently been some confusion over what test/Libraries is and
what it is used for. The short answer is: it's used when building GCC,
not for tests, so you all shouldn't need to use it.
test/Libraries contains the LLVM "system libraries", which are linked to
programs when the linker is run with the appropriate -l switch (for
example -lm links in the "math" library). In general, these libraries are
just stubbed out libraries, because noone has had the time to do a full
glibc port to LLVM.
Problems arise because the makefiles have a number of hardcoded paths in
it that are used to copy files around and install the libraries, which
cause problems if anyone (except for me) uses them. I'm sorry a better
system isn't in place yet for these libraries, but if you just ignore
them, they won't cause you any harm. :)
-Chris
This directory contains the various runtime libraries used by components of
the LLVM compiler. For example, the automatic pool allocation transformation
inserts calls to an external pool allocator library. This runtime library is
an example of the type of library that lives in these directories.