[LLVMdev] C Library problem in Debian

dirac dirac.raj at gmail.com
Fri Aug 5 23:26:01 PDT 2011


Hi,
   I have been using LLVM on an 32-bit RHEL 5 machine for a while now. I
used "printf" in the passes, and the llvm backend was able to compile
without any problems. Recently, I tried installing LLVM on Debian 6 (using
vmware), and the make process complains that it can't "printf" in the scope.
I am using gcc 4.5 on the RHEL 5, and gcc 4.4 on the Debian 6. I was able to
get printf to work with an "include <stdio.h>", but I am puzzled as to why I
have to specify this in Debian but not RHEL 5?
   I was wondering if this was a problem with the LD_LIBRARY_PATH, or some
flags that I need to change in the build process?

Thanks
Rajesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110805/6ba7f3b0/attachment.html>


More information about the llvm-dev mailing list