Displaying 2 results from an estimated 2 matches for "libxruntim".
Did you mean:
libxruntime
2004 Jul 27
2
[LLVMdev] Linking to native libraries
...llvm object
files with native static/shared libraries. I mean:
without using the provided c/c++ frontend to compile
first the sources of the libraries to llvm and then
-everything being llvm- linking. For example, I would
like to compile XLanguage to llvm and then link the
resulting object against libXRuntime.so. If this can
be done, could you give me a clue?
Thank you in advance.
Regards,
Carlos.
___________________________________________________________
100mb gratis, Antivirus y Antispam
Correo Yahoo!, el mejor correo web del mundo
http://correo.yahoo.com.ar
2004 Jul 27
0
[LLVMdev] Linking to native libraries
...Absolutely, we do this routinely.
> I mean: without using the provided c/c++ frontend to compile first the
> sources of the libraries to llvm and then -everything being llvm-
> linking. For example, I would like to compile XLanguage to llvm and then
> link the resulting object against libXRuntime.so. If this can be done,
> could you give me a clue? Thank you in advance. Regards, Carlos.
Yes, this is no problem. You can do something like this:
$ llvmgcc X.c -c -o X.bc
$ llc X.bc -o X.s [or use the C backend at your choice)
$ gcc Y.c -o Y.o -c
$ gcc X.s Y.o -o program
$ ./p...