<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16809" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY
style="WORD-WRAP: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space"
bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV>>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.</DIV>
<DIV> </DIV>
<DIV>This was disabled on Cygwin due to support problems on Cygwin.</DIV>
<DIV> </DIV>
<DIV>Aaron</DIV>
<DIV> </DIV></FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=milos.puzovic@gmail.com href="mailto:milos.puzovic@gmail.com">Milos
Puzovic</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=llvmdev@cs.uiuc.edu
href="mailto:llvmdev@cs.uiuc.edu">LLVM Developers Mailing List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, April 14, 2009 12:25
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [LLVMdev] generation of
shared libraries.</DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT><FONT
face=Arial size=2></FONT><BR></DIV>
<DIV>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.</DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BLOCKQUOTE>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>
<DIV>On 13 Apr 2009, at 23:16, aparna kotha wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite">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="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">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>
<DIV
style="MARGIN: 0px">_______________________________________________</DIV>
<DIV style="MARGIN: 0px">LLVM Developers mailing list</DIV>
<DIV style="MARGIN: 0px"><A
href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</A> <SPAN
class=Apple-converted-space> </SPAN><A
href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</A></DIV>
<DIV style="MARGIN: 0px"><A
href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</A></DIV></BLOCKQUOTE></DIV>
<DIV><BR></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>LLVM Developers
mailing
list<BR>LLVMdev@cs.uiuc.edu
http://llvm.cs.uiuc.edu<BR>http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev<BR></BLOCKQUOTE></BODY></HTML>