search for: libmethod

Displaying 4 results from an estimated 4 matches for "libmethod".

2008 Nov 06
2
[LLVMdev] fPIC
On my 32 bit linux box, things seam to work find, but on my 64 bit linux box I am getting problems. I have the following c file (lib.c): -------------------------------- #include <stdio.h> void libmethod(){ printf("libmethod()\n"); } ------------------------------- I tried to get a shared library using the following commands: llvm-gcc -emit-llvm -Wall -fPIC -c -o lib.opt.bc lib.c -O3 llvm-ld -native -Xlinker=-shared -Xlinker=-Wl,-soname,libmylb.so -o libmylb.so lib.opt.bc The llvm...
2008 Nov 04
0
[LLVMdev] fPIC
Yup! -bw On Nov 3, 2008, at 7:39 PM, Ryan M. Lefever wrote: > Does llvm-gcc support the -fPIC option? I am using LLVM on both 32 > bit > linux and 64 bit linux, if that matters. > > Regards, > Ryan > > -- > Ryan M. Lefever [http://www.crhc.uiuc.edu/~lefever/index.html] > _______________________________________________ > LLVM Developers mailing list >
2008 Nov 06
0
[LLVMdev] fPIC
...ase let me know. Regards, Ryan Ryan M. Lefever wrote: > On my 32 bit linux box, things seam to work find, but on my 64 bit linux > box I am getting problems. > > I have the following c file (lib.c): > -------------------------------- > #include <stdio.h> > > void libmethod(){ > printf("libmethod()\n"); > } > ------------------------------- > > I tried to get a shared library using the following commands: > > llvm-gcc -emit-llvm -Wall -fPIC -c -o lib.opt.bc lib.c -O3 > > llvm-ld -native -Xlinker=-shared -Xlinker=-Wl,-soname,l...
2008 Nov 04
3
[LLVMdev] fPIC
Does llvm-gcc support the -fPIC option? I am using LLVM on both 32 bit linux and 64 bit linux, if that matters. Regards, Ryan -- Ryan M. Lefever [http://www.crhc.uiuc.edu/~lefever/index.html]