I want to call each language function from each language using llvm ir language.<br>Is this possible?<br><br>Wonjun, Choi<br><br><br><div class="gmail_quote">2011/6/16 òçêßìò <span dir="ltr"><<a href="mailto:chenwj@iis.sinica.edu.tw">chenwj@iis.sinica.edu.tw</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">> > I want to connect each llvm ir<br>
> ><br>
> > for example:<br>
> > 1. Turn C/C++ language into C_llvmIR assembly language using Clang<br>
> > 2. Turn Fortran language into Fortran_llvmIR assembly language using Dragonegg<br>
> > 3. Turn Python language into Python_llvmIR assembly language using Unladen-Swallow<br>
> > 4. Connect each llvm IR<br>
> ><br>
> > Is this possible?<br>
><br>
> this should work fine: if you can compile to object code and successfully link<br>
> the object code to form a working program then you should be able to compile to<br>
> bitcode and link the bitcode (and get a working program).  I've done this for<br>
> programs made up of Ada/C/C++ and Fortran and it worked as expected.<br>
<br>
</div>  He acutally want to call C function from fortran or call fortran function from C,<br>
for example. In your case, that will do?<br>
<div class="im"><br>
Regards,<br>
chenwj<br>
<br>
--<br>
Wei-Ren Chen (òçêßìò)<br>
Computer Systems Lab, Institute of Information Science,<br>
Academia Sinica, Taiwan (R.O.C.)<br>
Tel:886-2-2788-3799 #1667<br>
<br>
</div><div><div></div><div class="h5">_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br>