| Chris Lattner | 1b11597 | 2002-11-06 20:58:26 +0000 | [diff] [blame] | 1 | Date: Wed, 6 Nov 2002 14:05:32 -0600 (CST) | 
 | 2 | From: Chris Lattner <sabre@nondot.org> | 
 | 3 | To: LLVMdev List <llvmdev@cs.uiuc.edu> | 
 | 4 | Subject: What is test/Libraries? | 
 | 5 |  | 
 | 6 | Hey everyone, | 
 | 7 |  | 
 | 8 | There has recently been some confusion over what test/Libraries is and | 
 | 9 | what it is used for.  The short answer is: it's used when building GCC, | 
 | 10 | not for tests, so you all shouldn't need to use it. | 
 | 11 |  | 
 | 12 | test/Libraries contains the LLVM "system libraries", which are linked to | 
 | 13 | programs when the linker is run with the appropriate -l switch (for | 
 | 14 | example -lm links in the "math" library).  In general, these libraries are | 
 | 15 | just stubbed out libraries, because noone has had the time to do a full | 
 | 16 | glibc port to LLVM. | 
 | 17 |  | 
 | 18 | Problems arise because the makefiles have a number of hardcoded paths in | 
 | 19 | it that are used to copy files around and install the libraries, which | 
 | 20 | cause problems if anyone (except for me) uses them.  I'm sorry a better | 
 | 21 | system isn't in place yet for these libraries, but if you just ignore | 
 | 22 | them, they won't cause you any harm.  :) | 
 | 23 |  | 
 | 24 | -Chris | 
 | 25 |  |