caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Custom bytecode
@ 2003-01-05 12:42 Jérôme Marant
  0 siblings, 0 replies; 4+ messages in thread
From: Jérôme Marant @ 2003-01-05 12:42 UTC (permalink / raw)
  To: caml-list


Hi,

  I'd like to know whether there are some cases in which ocamlc
  forces executables to be custom ones, even when the -custom
  option is not used.

  Thanks in advance.

-- 
Jérôme Marant

http://marant.org
              
-------------------
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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] Custom bytecode
  2003-01-05 22:51 ` Jacques Garrigue
@ 2003-01-06  8:56   ` Jérôme Marant
  0 siblings, 0 replies; 4+ messages in thread
From: Jérôme Marant @ 2003-01-06  8:56 UTC (permalink / raw)
  To: caml-list

En réponse à Jacques Garrigue <garrigue@kurims.kyoto-u.ac.jp>:

> From: jmarant@nerim.net (Jérôme Marant)
> >   I'd like to know whether there are some cases in which ocamlc
> >   forces executables to be custom ones, even when the -custom
> >   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.

This is good to know. Thanks a lot.

Cheers,

--
Jérôme Marant <jerome@marant.org>
              <jerome.marant@free.fr>

http://marant.org
-------------------
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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] Custom bytecode
  2003-01-05 17:58 Jérôme Marant
@ 2003-01-05 22:51 ` Jacques Garrigue
  2003-01-06  8:56   ` Jérôme Marant
  0 siblings, 1 reply; 4+ messages in thread
From: Jacques Garrigue @ 2003-01-05 22:51 UTC (permalink / raw)
  To: jmarant; +Cc: caml-list

From: jmarant@nerim.net (Jérôme Marant)
>   I'd like to know whether there are some cases in which ocamlc
>   forces executables to be custom ones, even when the -custom
>   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
		<A HREF=http://wwwfun.kurims.kyoto-u.ac.jp/~garrigue/>JG</A>
-------------------
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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Caml-list] Custom bytecode
@ 2003-01-05 17:58 Jérôme Marant
  2003-01-05 22:51 ` Jacques Garrigue
  0 siblings, 1 reply; 4+ messages in thread
From: Jérôme Marant @ 2003-01-05 17:58 UTC (permalink / raw)
  To: caml-list


[ retrying because the previous one didn't seem to
  reach the list ]

Hi,

  I'd like to know whether there are some cases in which ocamlc
  forces executables to be custom ones, even when the -custom
  option is not used.

  Thanks in advance.

-- 
Jérôme Marant

http://marant.org
              
-------------------
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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-01-06 11:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-05 12:42 [Caml-list] Custom bytecode Jérôme Marant
2003-01-05 17:58 Jérôme Marant
2003-01-05 22:51 ` Jacques Garrigue
2003-01-06  8:56   ` Jérôme Marant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).