[LLVMdev] Using LLVM to compile system programs

Sean Peisert peisert at gmail.com
Mon Nov 7 12:20:58 PST 2005


Chris, et al.,

I'm having a bit of difficulty using LLVM to compile system programs
(e.g. rsh) on FreeBSD 5.x.  Basically 'lli' is bombing out with
"ERROR: Program used external function 'blah' which could not be
resolved!"  I was hoping that you could please point me to a sample
Makefile that might both use external (i.e. system) libraries as well
as the LLVM libraries & programs.  At this point, LLVM makefiles seem
clear, as do the makefiles that the system programs use, but merging
them is proving complicated.  Thanks.




More information about the llvm-dev mailing list