<?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/619caca24ff3a3ef54d6b986e9fcb21d"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2003-07-09T00:35:06"
  subject="Re: [Caml-list] [long] not-so-static binaries on Mac OS X"
  prev="2003/07/696adf8dbd272ba10f46a00df7e80779"
  next="2003/07/fb3da633abcfdc3f4bbdc870d13140cb"
  prev-in-thread="2003/07/14786d6aaf407cffe11e541113f6b25b"
  prev-thread="2003/07/d4567e135396aa37ca95126cae72c96f"
  next-thread="2003/07/6ff247057e1f23c1558a197c6adcfe70"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] [long] not-so-static binaries on Mac OS X">
<msg 
  url="2003/07/f403c5aea2503d60d196e2a58761da75"
  from="Stefano Zacchiroli &lt;zack@b...&gt;"
  author="Stefano Zacchiroli"
  date="2003-07-08T14:11:08"
  subject="[Caml-list] [long] not-so-static binaries on Mac OS X">
<msg 
  url="2003/07/032529a0afdc8c60764930a25f7d247f"
  from="Xavier Leroy &lt;xavier.leroy@i...&gt;"
  author="Xavier Leroy"
  date="2003-07-08T15:11:01"
  subject="Re: [Caml-list] [long] not-so-static binaries on Mac OS X">
<msg 
  url="2003/07/14786d6aaf407cffe11e541113f6b25b"
  from="Stefano Zacchiroli &lt;zack@b...&gt;"
  author="Stefano Zacchiroli"
  date="2003-07-08T16:02:23"
  subject="Re: [Caml-list] [long] not-so-static binaries on Mac OS X">
<msg 
  url="2003/07/619caca24ff3a3ef54d6b986e9fcb21d"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2003-07-09T00:35:06"
  subject="Re: [Caml-list] [long] not-so-static binaries on Mac OS X">
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
From: Stefano Zacchiroli &lt;zack@bononia.it&gt;
&gt; On Tue, Jul 08, 2003 at 05:10:59PM +0200, Xavier Leroy wrote:
&gt; &gt; I'd suggest you investigate the following options:
&gt; 
&gt; Thanks for pointing them out.
&gt; 
&gt; &gt; - ocamlopt -noautolink
&gt; 
&gt; This is not enough in my case because not all "-l" switches are coming
&gt; from .cma libraries. For example "-ldl" is coming directly from the
&gt; Config of the ocaml compiler module.

This -ldl is only there for dynamic loading of shared libraries.
You can remove it from config/Makefile, but you must also remove
#define SUPPORT_DYNAMIC_LINKING from config/s.h.

In ocaml 3.07, this nasty dependency on fink's dlcompat has been
removed, dynamic loading using the native darwin API.
Not yet released, but you can already get a preview from the ocaml CVS.

Jacques Garrigue

-------------------
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>

