Hi,all<br><br>I'm working on how to build a whole-program bitcode file for big projects with a general solution,and I met a problem<br><br>I simplify it as this:<br><br>llvm-gcc -c -emit-llvm test.c<br><br>llvm-ld test.o -lpthread //here llvm-ld tells me that "Cannot find library pthread"<br>
<br>then I do  this:<br><br>llvm-ld test.o<br><br>lli -load=/usr/lib/libpthread.so a.out.bc //lli tells me the /usr/lib/libpthread.so has a invalid ELF header<br><br>What's the problem,my platform is Fedora 11<br><br>
Thank you <br><br><br>