search for: ldruntim

Displaying 1 result from an estimated 1 matches for "ldruntim".

Did you mean: ldruntime
2011 Oct 24
0
[LLVMdev] How build a library with llvm-ld
...shared lib without gcc but i fail. With my D compiler i do: $ ldc2 --output-bc --output-o -op -release -c -relocation-model=pic -od=../build *.d llvm bytecode finish with .wc and are in ../build directory $ cd ../build $ lvm-ld -link-as-library -o libDparser.bc -L/usr/local/lib64/ -L/usr/lib64 -ldruntime-ldc -llphobos2 -lm -ldl -lrt -soname=Dparser *.bc $ llc -relocation-model=pic libDparser.bcgcc -shared libDparser.s -o libDparser.so $ gcc -shared libDparser.s -o libDparser.so it works with gcc i can do this in one line: $ gcc -Dlphobos2_EXPORTS -DDMDV2 -DIN_LLVM -D_DH -DOPAQUE_VTBLS -DPOSIX -...