[LLVMdev] generation of shared libraries.

Aaron Gray aaronngray.lists at googlemail.com
Tue Apr 14 14:07:21 PDT 2009


>I believe because cygwin behaves like windows (it is just a posix layer over window) it doesn't have dynamic >linking hence only static libraries have been built.

This was disabled on Cygwin due to support problems on Cygwin.

Aaron

  ----- Original Message ----- 
  From: Milos Puzovic 
  To: LLVM Developers Mailing List 
  Sent: Tuesday, April 14, 2009 12:25 AM
  Subject: Re: [LLVMdev] generation of shared libraries.


  I believe because cygwin behaves like windows (it is just a posix layer over window) it doesn't have dynamic linking hence only static libraries have been built.

  On 13 Apr 2009, at 23:16, aparna kotha wrote:


    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





    _______________________________________________
    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/20090414/d64793a3/attachment.html>


More information about the llvm-dev mailing list