<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/07/b93db64b14888fdde019645a6516da78"
  from="Xavier Leroy &lt;xavier.leroy@i...&gt;"
  author="Xavier Leroy"
  date="2003-07-18T14:12:52"
  subject="Re: [Caml-list] ocamlmklib on Windows"
  prev="2003/07/41588f0a856ed60dea78d2ba462c1b71"
  next="2003/07/3030babb32ddc815ce2c7e68d6d3ad7f"
  prev-in-thread="2003/07/41588f0a856ed60dea78d2ba462c1b71"
  next-in-thread="2003/07/5b954f0ad6ffb46e7cf0d979c7c3abed"
  prev-thread="2003/07/78071d0102ff4a36a938e2d2c7ee895b"
  next-thread="2003/07/997f00f2e1af843a0ab59c0e0a1a80a0"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] ocamlmklib on Windows">
<msg 
  url="2003/07/c32767f41b4444441894ba0b93d99b0d"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2003-07-16T15:07:07"
  subject="[Caml-list] ocamlmklib on Windows">
<msg 
  url="2003/07/e9c6124bdfecdfc3581bcce8c957f2ca"
  from="Xavier Leroy &lt;xavier.leroy@i...&gt;"
  author="Xavier Leroy"
  date="2003-07-17T20:38:33"
  subject="Re: [Caml-list] ocamlmklib on Windows">
<msg 
  url="2003/07/41588f0a856ed60dea78d2ba462c1b71"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2003-07-18T14:00:23"
  subject="Re: [Caml-list] ocamlmklib on Windows">
<msg 
  url="2003/07/b93db64b14888fdde019645a6516da78"
  from="Xavier Leroy &lt;xavier.leroy@i...&gt;"
  author="Xavier Leroy"
  date="2003-07-18T14:12:52"
  subject="Re: [Caml-list] ocamlmklib on Windows">
</msg>
</msg>
</msg>
<msg 
  url="2003/07/5b954f0ad6ffb46e7cf0d979c7c3abed"
  from="Dmitry Bely &lt;dbely@m...&gt;"
  author="Dmitry Bely"
  date="2003-07-18T15:27:38"
  subject="Re: [Caml-list] ocamlmklib on Windows">
<msg 
  url="2003/07/c32365fec5b601a5a4639c859d9eea0f"
  from="Xavier Leroy &lt;xavier.leroy@i...&gt;"
  author="Xavier Leroy"
  date="2003-07-18T16:21:08"
  subject="Re: [Caml-list] ocamlmklib on Windows">
<msg 
  url="2003/07/bb087313d422b62eae936fa879274d06"
  from="Jerome Simeon &lt;simeon@r...&gt;"
  author="Jerome Simeon"
  date="2003-07-18T22:39:38"
  subject="Re: [Caml-list] ocamlmklib on Windows">
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
&gt; This is surely similar to the need for compiling C object files with
&gt; -fPIC/-fpic under Linux if they are to become DLLs. 

The Windows issue is much worse than this.  An object file compiled
with -fpic can be linked statically just fine.  The code generated
with -fpic might be slightly less efficient, but behaves the same.
So, the same object files can be shared between a static lib and a
DLL.  Not so under Windows.

- Xavier Leroy

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners

</contents>

</message>

