Displaying 3 results from an estimated 3 matches for "tp28133460p28146796".
2010 Apr 06
2
[LLVMdev] Linking with C Library
...figured out what was wrong. LLVM needs to be compiled with --enable-libffi
for the external symbol resolution to work properly. This is unfortunately
not mentioned in the OCaml version of the LLVM Kaleidoscope tutorials!
--
View this message in context: http://old.nabble.com/Linking-with-C-Library-tp28133460p28146796.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
2010 Apr 06
0
[LLVMdev] Linking with C Library
On Mon, Apr 5, 2010 at 3:27 PM, Nyx <mcheva at cs.mcgill.ca> wrote:
>
>>> You need to figure out how to pass -rdynamic to the linker, like I
> said before. http://llvm.org/docs/tutorial/OCamlLangImpl7.html
> mentions it, but I don't know enough about the ocaml build process to
> say whether that'll work.
>
> I believe I'm already doing that, properly by
2010 Apr 05
3
[LLVMdev] Linking with C Library
>> You need to figure out how to pass -rdynamic to the linker, like I
said before. http://llvm.org/docs/tutorial/OCamlLangImpl7.html
mentions it, but I don't know enough about the ocaml build process to
say whether that'll work.
I believe I'm already doing that, properly by passing -ccopt -rdynamic to
ocamlopt:
ocamlopt -cc g++ -ccopt -rdynamic -linkall $(LIBFILES) -o alpha