[LLVMdev] Ответ: using dynamic libraries from bytecode?

Jean-Daniel Dupas devlists at shadowlab.org
Wed Jun 18 14:31:23 PDT 2008


I think the question is not how to create a stand-alone exe, but how  
to tell lli where it should search undefined symbols.


Le 18 juin 08 à 23:20, Mike Stump a écrit :

> On Jun 18, 2008, at 12:27 PM, Yaroslav Kavenchuk wrote:
>> $ llvm-gcc.exe -I/mingw/include gcd_ui.c -L/mingw/lib -lgmp -o
>> gcd_ui.ll -emit-llvm -S
>
> Use
>
>> $ llvm-as gcd_ui.ll -o gcd_ui.bc
>
> Use llc gcd_ui.bc and then llvm-gcc.exe gcd_ui.s -L/mingw/lib -lgmp?
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2427 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20080618/65634ac3/attachment.bin>


More information about the llvm-dev mailing list