<?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/01/936065795e31c71abedcf60d260f75f3"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2003-01-05T22:51:32"
  subject="Re: [Caml-list] Custom bytecode"
  prev="2003/01/72e6b967d09ac0f6a4fdf0734f4450e5"
  next="2003/01/9dbc69b9aeab77f9925bfa954d344de9"
  prev-in-thread="2003/01/72e6b967d09ac0f6a4fdf0734f4450e5"
  next-in-thread="2003/01/9dbc69b9aeab77f9925bfa954d344de9"
  prev-thread="2003/01/32194e76dab123b9278d338986be0996"
  next-thread="2003/01/7a15eda9b4e6a6c840047caa336fed65"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Custom bytecode">
<msg 
  url="2003/01/72e6b967d09ac0f6a4fdf0734f4450e5"
  from="jmarant@n..."
  author="jmarant@n..."
  date="2003-01-05T20:25:11"
  subject="[Caml-list] Custom bytecode">
<msg 
  url="2003/01/936065795e31c71abedcf60d260f75f3"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2003-01-05T22:51:32"
  subject="Re: [Caml-list] Custom bytecode">
<msg 
  url="2003/01/9dbc69b9aeab77f9925bfa954d344de9"
  from="Jérôme_Marant &lt;jerome.marant@f...&gt;"
  author="Jérôme_Marant"
  date="2003-01-06T11:16:39"
  subject="Re: [Caml-list] Custom bytecode">
</msg>
</msg>
</msg>
</thread>

<contents>
From: jmarant@nerim.net (Jérôme Marant)
&gt;   I'd like to know whether there are some cases in which ocamlc
&gt;   forces executables to be custom ones, even when the -custom
&gt;   option is not used.

Yes. -custom will be automatically assumed if any of the .cma you link
in has itself been built with a -custom option. You can disable this
behaviour with -noautolink.

With dynamic loading, most libraries do not assume -custom any more,
but this can still happen with 3rd party libraries which have not been
converted yet to use ocamlmklib.

---------------------------------------------------------------------------
Jacques Garrigue      Kyoto University     garrigue at kurims.kyoto-u.ac.jp
		&lt;A HREF=http://wwwfun.kurims.kyoto-u.ac.jp/~garrigue/&gt;JG&lt;/A&gt;
-------------------
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>

