[LLVMdev] llvm and glibc

Chris Lattner
Mon, 08 May 2006 05:28:45 -0000

On Sun, 7 May 2006, Ryan M. Lefever wrote:
> When I use LLVM to translate bytecode to C, it seems to stick its own
> definitions of several glibc calls like strcpy, strcmp, etc, but not others
> like printf.  Is this because strcpy and strcmp have been compiled with
llvm
> and printf has not?

Yup, there are a couple of libc functions defined in
llvm/runtime/GCCLibraries/libc/

that llvm-gcc3 statically links into programs when possible.

-Chris

--