Thanks a lot. <br><br>A see the shared library in linux version. I initially tried doing this in cygwin where I dont see the shared library being built. Do u think it could have been cygwin that is the problem?<br><br><br>
<br><br>Aparna <br><br><div class="gmail_quote">On Mon, Apr 13, 2009 at 5:16 PM, Milos Puzovic <span dir="ltr"><<a href="mailto:milos.puzovic@gmail.com">milos.puzovic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
In order to generate shared libraries you need to have SHARED_LIBRARY<br>
and LOADABLE_MODULE defined in the Makefile. See here for more<br>
details: <a href="http://llvm.org/docs/MakefileGuide.html#libraries" target="_blank">http://llvm.org/docs/MakefileGuide.html#libraries</a><br>
<div><div></div><div class="h5"><br>
On 13 Apr 2009, at 20:46, aparna kotha wrote:<br>
<br>
> I am trying to run the LLVM hello world pass. I observe that in the<br>
> OUPUT_DIR/lib the LLVMHello.a and LLVMHello.la libraries are<br>
> generated. But I am confused as to how to generate the .so library<br>
> file from here.<br>
><br>
> I am kinda new to compilers and hence the question I know is<br>
> basic , but couldnt figure the answer out myself.<br>
><br>
><br>
> Thanks a lot for your help.<br>
><br>
><br>
><br>
><br>
> Regards<br>
><br>
> --<br>
> -- Aparna Kotha<br>
> Research Assistant , Electrical and Computer Engineering<br>
> University of Maryland, A. James Clark School of Engineering<br>
> 1418 A.V. Williams Bldg.<br>
> College Park, Maryland 20742<br>
> Ph: (858)-342-8164<br>
><br>
</div></div>> _______________________________________________<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>
<br>
_______________________________________________<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>
</blockquote></div><br><br clear="all"><br>