[LLVMdev] Linking to native libraries
Carlos Pita
cpitaar at yahoo.com.ar
Tue Jul 27 08:37:59 PDT 2004
> Yes, this is no problem. You can do something like
> this:
>
> $ llvmgcc X.c -c -o X.bc
> $ llc X.bc -o X.s
> $ gcc Y.c -o Y.o -c
> $ gcc X.s Y.o -o program
> $ ./program
Ok, fine, and what about the interpreter? It takes
100% llvm, doesn't it? Or is there some kind of import
facility (perhaps as an specially interpreted call or
as an extension to llvm which makes the intrepreter
dlopen the lib and map unresolved symbols in the llvm
to those exported by the lib)?
Thank you again.
Regards,
Carlos.
___________________________________________________________
100mb gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com.ar
More information about the llvm-dev
mailing list