[LLVMdev] generation of shared libraries.

Milos Puzovic milos.puzovic at gmail.com
Mon Apr 13 14:16:35 PDT 2009


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




More information about the llvm-dev mailing list