Displaying 2 results from an estimated 2 matches for "lsquared".
Did you mean:
squared
2013 Jul 29
1
[LLVMdev] llvm-g++ 4.6.4 unable to compile simple shared library on Ubuntu 12.04 x86_64
...rgc,char *argv[] ) {
int i = 0;
for( i = 0; i < 10 ; i ++ ) {
printf("%d\n",squared(i));
}
}
/**** END *******/
Using llvm-gcc works just fine:
llvm-gcc -fPIC -c -o squared.o squared.c
llvm-gcc -shared -o libsquared.so squared.o
llvm-gcc -L. -o main main.c -lsquared
LD_LIBRARY_PATH=. ./main
0
1
4
9
16
25
36
49
64
81
The creation of the shared library fails when using llvm-g++
llvm-g++ -fPIC -c -o squared.o squared.c
llvm-g++ -shared -o libsquared.so squared.o
/usr/bin/ld: squared.o: relocation R_X86_64_PC32 against undefined
symbol `__morestack' can...
2015 Dec 02
3
[PATCH 0/3] [FOR COMMENTS ONLY] Rework inspection.
This is something I've been working on: Reworking inspection so it's
not a big mess of ad hoc C code, but instead uses a well-defined
domain-specific language to describe how we inspect guests.
The best introduction to this is the manual page, which I include
below (it's also included in patch 2/3).
Rich.
----------------------------------------------------------------------
NAME