[LLVMdev] generation of shared libraries.

aparna kotha kotha.aparna at gmail.com
Mon Apr 13 15:16:58 PDT 2009


Thanks a lot.

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?




Aparna

On Mon, Apr 13, 2009 at 5:16 PM, Milos Puzovic <milos.puzovic at gmail.com>wrote:

> In order to generate shared libraries you need to have SHARED_LIBRARY
> and LOADABLE_MODULE defined in the Makefile. See here for more
> details: http://llvm.org/docs/MakefileGuide.html#libraries
>
> On 13 Apr 2009, at 20:46, aparna kotha wrote:
>
> > I am trying to run the LLVM hello world pass. I observe that in the
> > OUPUT_DIR/lib the LLVMHello.a and LLVMHello.la libraries are
> > generated. But I am confused as to how to generate the .so library
> > file from here.
> >
> > I am kinda new to compilers and hence the question I know is
> > basic , but couldnt figure the answer out myself.
> >
> >
> > Thanks a lot for your help.
> >
> >
> >
> >
> > Regards
> >
> > --
> > -- Aparna Kotha
> > Research Assistant , Electrical and Computer Engineering
> > University of Maryland, A. James Clark School of Engineering
> > 1418 A.V. Williams Bldg.
> > College Park, Maryland 20742
> > Ph: (858)-342-8164
> >
> > _______________________________________________
> > LLVM Developers mailing list
> > LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090413/fdcc0d37/attachment.html>


More information about the llvm-dev mailing list